videoflip breaks pipeline

Marek Jawurek marek at jawurek.net
Wed Sep 10 13:26:53 PDT 2014


Hi everone,

the following line works great with gst-launch-1.0 and my c920 Logitech
Webcam:

filesrc location=intro.mkv ! matroskademux name=demux ! decodebin !
videoscale ! video/x-raw,width=1280,height=800 ! queue !  videomixer
name=mix ! autovideosink sync=false demux.audio_0  ! decodebin !
audioconvert ! audioresample ! queue ! autoaudiosink  v4l2src
device=/dev/video1 ! video/x-h264,width=432,height=240,framerate=30/1 !
h264parse ! decodebin !   mix.

This is the output:
Setting pipeline to PAUSED ...
Pipeline is live and does not need PREROLL ...
Setting pipeline to PLAYING ...
New clock: GstSystemClock

(gst-launch-1.0:16496): GStreamer-CRITICAL **: gst_structure_new_empty:
assertion 'gst_structure_validate_name (name)' failed
Redistribute latency...
ERROR: from
element /GstPipeline:pipeline0/GstAutoVideoSink:autovideosink0/GstXvImageSink:autovideosink0-actual-sink-xvimage: Output window was closed
Additional debug info:
xvimagesink.c(551): gst_xvimagesink_handle_xevents
(): /GstPipeline:pipeline0/GstAutoVideoSink:autovideosink0/GstXvImageSink:autovideosink0-actual-sink-xvimage
Execution ended after 0:00:01.553816776
Setting pipeline to PAUSED ...
Setting pipeline to READY ...
Setting pipeline to NULL ...
Freeing pipeline ...

However, when I introduce a videoflip into the Webcam's stream the
picture of the webcam is not displayed. gst-launch-1.0 also does not
display an error.
This is the line with videoflip:


filesrc location=media/intro.mkv ! matroskademux name=demux !
decodebin ! videoscale ! video/x-raw,width=1280,height=800 ! queue !
videomixer name=mix ! autovideosink sync=false demux.audio_0  !
decodebin ! audioconvert ! audioresample ! queue ! autoaudiosink
v4l2src device=/dev/video1 !
video/x-h264,width=432,height=240,framerate=30/1 ! h264parse !
decodebin ! videoflip !  mix.

The gst-launch-1.0 output is: 
Setting pipeline to PAUSED ...
Pipeline is live and does not need PREROLL ...
Setting pipeline to PLAYING ...
New clock: GstSystemClock

(gst-launch-1.0:16515): GStreamer-CRITICAL **: gst_structure_new_empty:
assertion 'gst_structure_validate_name (name)' failed
Redistribute latency...
ERROR: from
element /GstPipeline:pipeline0/GstAutoVideoSink:autovideosink0/GstXvImageSink:autovideosink0-actual-sink-xvimage: Output window was closed
Additional debug info:
xvimagesink.c(551): gst_xvimagesink_handle_xevents
(): /GstPipeline:pipeline0/GstAutoVideoSink:autovideosink0/GstXvImageSink:autovideosink0-actual-sink-xvimage
Execution ended after 0:00:02.608752035
Setting pipeline to PAUSED ...
Setting pipeline to READY ...
Setting pipeline to NULL ...
Freeing pipeline ...

The camera's record light does turn on but it is not displayed in the
mix.

Which additional information can I provide to help you help me?

Marek 






More information about the gstreamer-devel mailing list