processing-video icon indicating copy to clipboard operation
processing-video copied to clipboard

Error linux - GStreamer

Open mnovoa opened this issue 5 years ago • 3 comments

Hi

I use: processing: 3.5.4 video: last version operating system: linux mint 19.3 based in Ubuntu 18.04 LTS

when try use example "SimpleLite", i have this error:

NyAR4psg/3.0.7;NyARToolkit/5.0.9 Processing video library using GStreamer 1.14.5 NullPointerException

generated by the line: cam=new Capture(this,640,480);

any help?

thanks!!

mnovoa avatar Jun 11 '20 16:06 mnovoa

Having the same issue with Kubuntu 20.04, Processing 4, video library 2.0 beta4 Processing video library using GStreamer 1.16.2

mxa avatar Jul 09 '20 14:07 mxa

println(Capture.list()); will show you the name all available cameras. than create Capture object with new Capture(this,width,height,camera name) Replace width,height and camera name with the correct values and make sure that the resolution is supported. I guess the issue is fixed in code, but there's no new release.

MidnightNerd avatar Aug 02 '20 18:08 MidnightNerd

I think this may be fixed in video-2.0 release, (ie usually works with default first camera in list) but @MidnightNerd workaround should be used if not (eg on RaspberryPI ).

monkstone avatar Oct 28 '20 19:10 monkstone