Pipeline to simulate playbin stalling

Subodh Chiwate subodh.chiwate at ufomoviez.com
Wed Nov 19 06:24:10 PST 2014


Hi,
I am using IMX6 Quad board with yocto based linux and gstreamer-1.2.3.
My setup uses HDMI monitor for both Audio and video playback.

As an experiment I am trying to simulate playbin using separate Audio and video elementary streams as input.
But the pipeline gets into a stalled state, neither crashes nor proceeds with any errors.
Also the alsasink demands a audioconvert with ac3/aac decoders (libav) in 1.0.
But I want to have the audio too decoded on HDMI monitor.
( I did notice the updated capabilities of alsasink to handle ac3 in 1.0. But I am afraid, I could not figure out a way to benefit from them.)
A similar pipeline works for me using gst-0.10 and playsink ( as streamsynchronizer is not available explicitly there).

Please suggest if there is a better way to accomplish what I am trying to do with gst-1.0.

root at imx6qsabresd:~# gst-launch-1.0 -v filesrc location="/mnt/Media/gst-files/audio.m4a" ! ac3parse ! avdec_ac3 ! audioconvert ! streamsynchronizer name="ss" ss.sink_1  ss.src1 ! alsasink   filesrc location="/mnt/Media/gst-files/video.m4v" ! h264parse ! queue ! vpudec frame-drop=false ! input-selector ! ss. ss. ! imxv4l2sink

Output messages :
============
Setting pipeline to PAUSED ...
[INFO]    Product Info: i.MX6Q/D/S
/GstPipeline:pipeline0/GstAc3Parse:ac3parse0.GstPad:src: caps = audio/x-ac3, framed=(boolean)true, rate=(int)48000, channels=(int)6, alignment=(string)frame
Pipeline is PREROLLING ...
/GstPipeline:pipeline0/avdec_ac3:avdec_ac3-0.GstPad:sink: caps = audio/x-ac3, framed=(boolean)true, rate=(int)48000, channels=(int)6, alignment=(string)frame
/GstPipeline:pipeline0/GstInputSelector:inputselector0.GstSelectorPad:sink_0: active = true
/GstPipeline:pipeline0/GstInputSelector:inputselector0: active-pad = "\(GstSelectorPad\)\ sink_0"
/GstPipeline:pipeline0/GstH264Parse:h264parse0.GstPad:src: caps = video/x-h264, width=(int)1920, height=(int)1080, framerate=(fraction)24/1, parsed=(boolean)true, stream-format=(string)avc, alignment=(string)au, codec_data=(buffer)01640028ffe1001d67640028ac24a401e0089f966e020202800000030080000018478c192401000668ee02713213
/GstPipeline:pipeline0/GstQueue:queue0.GstPad:src: caps = video/x-h264, width=(int)1920, height=(int)1080, framerate=(fraction)24/1, parsed=(boolean)true, stream-format=(string)avc, alignment=(string)au, codec_data=(buffer)01640028ffe1001d67640028ac24a401e0089f966e020202800000030080000018478c192401000668ee02713213
/GstPipeline:pipeline0/GstVpuDec:vpudec0.GstPad:sink: caps = video/x-h264, width=(int)1920, height=(int)1080, framerate=(fraction)24/1, parsed=(boolean)true, stream-format=(string)avc, alignment=(string)au, codec_data=(buffer)01640028ffe1001d67640028ac24a401e0089f966e020202800000030080000018478c192401000668ee02713213
/GstPipeline:pipeline0/GstQueue:queue0.GstPad:sink: caps = video/x-h264, width=(int)1920, height=(int)1080, framerate=(fraction)24/1, parsed=(boolean)true, stream-format=(string)avc, alignment=(string)au, codec_data=(buffer)01640028ffe1001d67640028ac24a401e0089f966e020202800000030080000018478c192401000668ee02713213
/GstPipeline:pipeline0/avdec_ac3:avdec_ac3-0.GstPad:src: caps = audio/x-raw, format=(string)F32LE, layout=(string)interleaved, rate=(int)48000, channels=(int)6, channel-mask=(bitmask)0x0000000000000c0f
[INFO]    bitstreamMode 1, chromaInterleave 1, mapType 0, tiled2LinearEnable 0
/GstPipeline:pipeline0/GstAudioConvert:audioconvert0.GstPad:src: caps = audio/x-raw, format=(string)F32LE, layout=(string)interleaved, rate=(int)48000, channels=(int)6, channel-mask=(bitmask)0x0000000000000c0f
/GstPipeline:pipeline0/GstStreamSynchronizer:ss.GstPad:src_0: caps = audio/x-raw, format=(string)F32LE, layout=(string)interleaved, rate=(int)48000, channels=(int)6, channel-mask=(bitmask)0x0000000000000c0f
/GstPipeline:pipeline0/GstStreamSynchronizer:ss.GstPad:src_0: caps = audio/x-raw, format=(string)F32LE, layout=(string)interleaved, rate=(int)48000, channels=(int)6, channel-mask=(bitmask)0x0000000000000c0f
/GstPipeline:pipeline0/GstStreamSynchronizer:ss.GstPad:src_0: caps = audio/x-raw, format=(string)F32LE, layout=(string)interleaved, rate=(int)48000, channels=(int)6, channel-mask=(bitmask)0x0000000000000c0f
/GstPipeline:pipeline0/GstStreamSynchronizer:ss.GstPad:src_0: caps = audio/x-raw, format=(string)F32LE, layout=(string)interleaved, rate=(int)48000, channels=(int)6, channel-mask=(bitmask)0x0000000000000c0f
/GstPipeline:pipeline0/GstStreamSynchronizer:ss.GstPad:sink_0: caps = audio/x-raw, format=(string)F32LE, layout=(string)interleaved, rate=(int)48000, channels=(int)6, channel-mask=(bitmask)0x0000000000000c0f
/GstPipeline:pipeline0/GstAudioConvert:audioconvert0.GstPad:sink: caps = audio/x-raw, format=(string)F32LE, layout=(string)interleaved, rate=(int)48000, channels=(int)6, channel-mask=(bitmask)0x0000000000000c0f
/GstPipeline:pipeline0/GstAudioConvert:audioconvert0.GstPad:sink: caps = audio/x-raw, format=(string)F32LE, layout=(string)interleaved, rate=(int)48000, channels=(int)6, channel-mask=(bitmask)0x0000000000000c0f
/GstPipeline:pipeline0/GstAudioConvert:audioconvert0.GstPad:sink: caps = audio/x-raw, format=(string)F32LE, layout=(string)interleaved, rate=(int)48000, channels=(int)6, channel-mask=(bitmask)0x0000000000000c0f
v4l2sink need allocate 11 buffers.


--
Regards,
Subodh

-- **************** CAUTION - Disclaimer ***************** This e-mail contains PRIVILEGED AND CONFIDENTIAL INFORMATION intended solely for the use of the addressee(s). If you are not the intended recipient, please notify the sender by e-mail and delete the original message. Further, you are not to copy, disclose, or distribute this e-mail or its contents to any other person and any such actions are unlawful. This e-mail may contain viruses. UFOMoviez India Ltd. has taken every reasonable precaution to minimize this risk, but is not liable for any damage you may sustain as a result of any virus in this e-mail. You should carry out your own virus checks before opening the e-mail or attachment. UFOMoviez India Ltd. reserves the right to monitor and review the content of all messages sent to or from this e-mail address. Messages sent to or from this e-mail address may be stored on the UFOMoviez India Ltd.'s e-mail system. ***************** End of Disclaimer *******************
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.freedesktop.org/archives/gstreamer-devel/attachments/20141119/621506a3/attachment-0001.html>


More information about the gstreamer-devel mailing list