videoflip breaks pipeline
Thiago Santos
thiagoss at osg.samsung.com
Thu Sep 11 06:57:17 PDT 2014
On 09/10/2014 05:26 PM, Marek Jawurek wrote:
> 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?
The first step would be to try to isolate the issue. Try removing the
first part of the pipeline (the matroska file). Try to get to a minimum
pipeline that still shows the issue.
Then try to look for warnings when running it with GST_DEBUG=2 and see
if there is something useful there. If anything shows up, the next step
is to get more logs and look for the issue.
videoflip supports lots of formats, but it might also be a negotiation
error. So try putting a videoconvert before the videoflip to check for that.
What version of gstreamer are you using?
>
> Marek
>
>
>
>
> _______________________________________________
> gstreamer-devel mailing list
> gstreamer-devel at lists.freedesktop.org
> http://lists.freedesktop.org/mailman/listinfo/gstreamer-devel
--
Thiago Sousa Santos
Senior Multimedia Engineer, Open Source Group
Samsung Research America - Silicon Valley
More information about the gstreamer-devel
mailing list