812/1012 gstreamer: Difference between revisions

From Sensoray Technical Wiki
Jump to navigation Jump to search
DA (talk | contribs)
Gstreamer Pipeline Example using 812 or 1012
 
DA (talk | contribs)
 
Line 3: Line 3:
A common error using the 812/1012 with gstreamer is the following:
A common error using the 812/1012 with gstreamer is the following:


"ERROR                  v4l2 gstv4l2object.c:1927:gst_v4l2_object_get_interlace_mode: Unknown enum v4l2_field 3"
      ERROR                  v4l2 gstv4l2object.c:1927:gst_v4l2_object_get_interlace_mode: Unknown enum v4l2_field 3


To resolve this error, please specify the interlace format in the gstreamer pipeline as shown in the example below:
To resolve this error, please specify the interlace format in the gstreamer pipeline as shown in the example below:


"gst-launch-1.0 -v v4l2src device=/dev/video2 ! video/x-raw,format=UYVY,interlace-mode=interleaved ! videoconvert ! xvimagesink"
      gst-launch-1.0 -v v4l2src device=/dev/video2 ! video/x-raw,format=UYVY,interlace-mode=interleaved ! videoconvert ! xvimagesink

Latest revision as of 12:16, 18 November 2019

Gstreamer Example with 812/1012

A common error using the 812/1012 with gstreamer is the following:

     ERROR                   v4l2 gstv4l2object.c:1927:gst_v4l2_object_get_interlace_mode: Unknown enum v4l2_field 3

To resolve this error, please specify the interlace format in the gstreamer pipeline as shown in the example below:

     gst-launch-1.0 -v v4l2src device=/dev/video2 ! video/x-raw,format=UYVY,interlace-mode=interleaved ! videoconvert ! xvimagesink