|
Hi everybody,
I have an OPI+ and gc2035 camera module, i try camera with "motion" according to this tutorial and getting one picture on localhost:8081, after this page display "problem loading page".
however, This is not the main issue. i try to get picture with gstreamer and i see following error:
libv4l2: error setting pixformat: operation not permitted
ERROR: from element /GstPipeline:pipeline0/GstV4l2Src:v4l2src: Device '/dev/video0' cannot capture at 1600x1200
Call to S_FMT failed for YU12 @ 1600x1200: Operation not permitted.
My gstreamer pipeline is:
gst-launch v4l2src always-copy=false ! 'video/x-raw-yuv, format=(fourcc)I420, width=1600, height=1200' ! ffmpegcolorspace ! ximagesink
I try other resolution but get the same error.
vlc player display correct stream with following command:
cvlc v4l2:///dev/video0
if problem is v4l2 so why vlc display camera stream?
finally sorry for english.
thanks in advance
best regards
|
|