TEEing the video

Tim Müller tim at centricular.com
Sat Nov 22 06:33:12 PST 2014


On Sat, 2014-11-22 at 14:17 +0000, Ian Davidson wrote:

Hi,

(please don't paste big debug logs inline in mails, upload it somewhere
or put it into a pastebin)

> Here is the result of a test run using gst-launch
> [ian at localhost ~]$ gst-launch-1.0 --gst-debug=4 v4l2src ! videorate ! videoscale ! "video/x-raw,width=(int)352,height=(int)292" ! autovideosink
> 0:00:00.282372102  1535  0x8121b20 INFO                    v4l2 gstv4l2object.c:1247:gst_v4l2_object_fill_format_list:<v4l2src0> got 4 format(s):
> 0:00:00.283463182  1535  0x8121b20 INFO                    v4l2 gstv4l2object.c:1253:gst_v4l2_object_fill_format_list:<v4l2src0>   YU12 (emulated)
> 0:00:00.283499051  1535  0x8121b20 INFO                    v4l2 gstv4l2object.c:1253:gst_v4l2_object_fill_format_list:<v4l2src0>   YV12 (emulated)
> 0:00:00.283529976  1535  0x8121b20 INFO                    v4l2 gstv4l2object.c:1253:gst_v4l2_object_fill_format_list:<v4l2src0>   BGR3 (emulated)
> 0:00:00.283560024  1535  0x8121b20 INFO                    v4l2 gstv4l2object.c:1253:gst_v4l2_object_fill_format_list:<v4l2src0>   RGB3 (emulated)
> 0:00:00.283838005  1535  0x8121b20 INFO                    v4l2 gstv4l2object.c:2729:gst_v4l2_object_get_caps:<v4l2src0> probed caps: video/x-raw, format=(string)I420, width=(int)352, height=(int)292, pixel-aspect-ratio=(fraction)1/1, interlace-mode=(string)progressive, framerate=(fraction)[ 0/1, 100/1 ]; video/x-raw, format=(string)YV12, width=(int)352, height=(int)292, pixel-aspect-ratio=(fraction)1/1, interlace-mode=(string)progressive, framerate=(fraction)[ 0/1, 100/1 ]; video/x-raw, format=(string)BGR, width=(int)352, height=(int)292, pixel-aspect-ratio=(fraction)1/1, interlace-mode=(string)progressive, framerate=(fraction)[ 0/1, 100/1 ]; video/x-raw, format=(string)RGB, width=(int)352, height=(int)292, pixel-aspect-ratio=(fraction)1/1, interlace-mode=(string)progressive, framerate=(fraction)[ 0/1, 100/1 ]
> 0:00:00.284459076  1535  0x8121b20 WARN                 basesrc gstbasesrc.c:2865:gst_base_src_loop:<v4l2src0> error: Internal data flow error.
> 0:00:00.284793734  1535  0x8121b20 WARN                 basesrc gstbasesrc.c:2865:gst_base_src_loop:<v4l2src0> error: streaming task paused, reason not-negotiated (-4)
> ERROR: from element /GstPipeline:pipeline0/GstV4l2Src:v4l2src0: Internal data flow error.
> Additional debug info:
> gstbasesrc.c(2865): gst_base_src_loop (): /GstPipeline:pipeline0/GstV4l2Src:v4l2src0:
> streaming task paused, reason not-negotiated (-4)

Try adding a 'videoconvert' element before the autovideosink.

 Cheers
  -Tim

-- 
Tim Müller, Centricular Ltd - http://www.centricular.com



More information about the gstreamer-devel mailing list