I am using the purethermal2 module and got the following error messages.
when I ran following command: gst-launch-1.0 v4l2src device=/dev/video0 ! videoconvert ! xvimagesink
spk921@spk ~/git/build-GetThermal-Desktop-Debug/debug $ gst-launch-1.0 v4l2src device=/dev/video0 ! videoconvert ! xvimagesink
Setting pipeline to PAUSED ...
Pipeline is live and does not need PREROLL ...
Setting pipeline to PLAYING ...
New clock: GstSystemClock
libv4l2: error set_fmt gave us a different result then try_fmt!
ERROR: from element /GstPipeline:pipeline0/GstV4l2Src:v4l2src0: Device '/dev/video0' cannot capture in the specified format
Additional debug info:
gstv4l2object.c(3482): gst_v4l2_object_set_format_full (): /GstPipeline:pipeline0/GstV4l2Src:v4l2src0:
Tried to capture in YV12, but device returned format UYVY
Execution ended after 0:00:00.011516541
Setting pipeline to PAUSED ...
Setting pipeline to READY ...
Setting pipeline to NULL ...
Freeing pipeline ...
It works with following comand:
gst-launch-1.0 v4l2src device=/dev/video0 ! video/x-raw,format=UYVY \
! videoscale ! video/x-raw,width=640,height=480 ! videoconvert ! ximagesink
I am using the purethermal2 module and got the following error messages. when I ran following command: gst-launch-1.0 v4l2src device=/dev/video0 ! videoconvert ! xvimagesink
spk921@spk ~/git/build-GetThermal-Desktop-Debug/debug $ gst-launch-1.0 v4l2src device=/dev/video0 ! videoconvert ! xvimagesink Setting pipeline to PAUSED ... Pipeline is live and does not need PREROLL ... Setting pipeline to PLAYING ... New clock: GstSystemClock libv4l2: error set_fmt gave us a different result then try_fmt! ERROR: from element /GstPipeline:pipeline0/GstV4l2Src:v4l2src0: Device '/dev/video0' cannot capture in the specified format Additional debug info: gstv4l2object.c(3482): gst_v4l2_object_set_format_full (): /GstPipeline:pipeline0/GstV4l2Src:v4l2src0: Tried to capture in YV12, but device returned format UYVY Execution ended after 0:00:00.011516541 Setting pipeline to PAUSED ... Setting pipeline to READY ... Setting pipeline to NULL ... Freeing pipeline ...