[Bug 779807] Both videomixer and glvideomixer do not want to work properly with avdec_h264 decoder

GStreamer (GNOME Bugzilla) bugzilla at gnome.org
Fri Mar 10 07:23:27 UTC 2017


https://bugzilla.gnome.org/show_bug.cgi?id=779807

--- Comment #4 from Eugen Klim <ciceromarcus at yandex.ru> ---
Yeah, thank you for reply. Compositor works for me even more worse than
glvideomixer.

Pipeline

>gst-launch-1.0 \
>        filesrc location=$1 ! \
>        tsparse ! queue ! tee name=t \
>        compositor name=mix ! \
>        glimagesink \
>        videotestsrc pattern=0 ! video/x-raw,format=I420,width=1920,height=1080 ! mix.sink_0 \
>        t. ! queue ! tsdemux ! decodebin ! \
>        mix.sink_1 \
>        t. ! queue ! tsdemux ! decodebin ! \
>        mix.sink_2

fails with an error:

>ERROR: from element /GstPipeline:pipeline0/MpegTSParse2:mpegtsparse2-0: >Internal data stream error.
>Additional debug info:
>mpegtsbase.c(1613): mpegts_base_loop (): /GstPipeline:pipeline0/MpegTSParse2:mpegtsparse2-0:
>streaming stopped, reason not-negotiated (-4)
>Execution ended after 0:00:00.000194153

And 

>gst-launch-1.0 \
>        filesrc location=$1 ! \
>        tsparse ! tee name=t \
>        compositor name=mix ! \
>        xvimagesink \
>        t. ! queue ! tsdemux ! decodebin ! \
>        mix.sink_0 \
>        t. ! queue ! tsdemux ! decodebin ! \
>        mix.sink_1

works only once from four (literally, I start the graph, it fails, I start it
agan, it works).

And in the pipeline with 

>compositor ! glimagesink

I have wrong colours (everything is green), seems like wrong colourspace
conversion on the compositor's output, compositor ! xvimagesink works fine (but
crushes once from four as I've said).

So glvideomixer seems works, but I still could not understand why

>gst-launch-1.0 \
>        filesrc location=$1 ! \
>        tsparse ! queue ! tee name=t \
>        glvideomixer name=mix ! \
>        glimagesink \
>        videotestsrc pattern=0 ! video/x-raw,format=I420,width=1920,height=1080 ! mix.sink_0 \
>        t. ! queue ! tsdemux ! decodebin ! \
>        mix.sink_1 \
>        t. ! queue ! tsdemux ! decodebin ! \
>        mix.sink_2

fails with my h264 stream while works perfectly with mpeg2 stream. Could you
help me?

-- 
You are receiving this mail because:
You are the QA Contact for the bug.
You are the assignee for the bug.


More information about the gstreamer-bugs mailing list