processing / processing-video

GStreamer-based video library for Processing
274 stars 130 forks source link

Error linux - GStreamer #155

Open mnovoa opened 4 years ago

mnovoa commented 4 years ago

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!!

mxa commented 4 years ago

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

MidnightNerd commented 3 years ago

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.

monkstone commented 3 years ago

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 ).