[gst-devel] decodebin vs playbin

Rodney Dowdall rdowdall at cranksoftware.com
Tue Jun 1 15:43:10 CEST 2010


Hello Kapil

Thanks for the suggestion, but this is what I get when I use the 
queue's.  Does something have to be actually looking at the video 
buffer?  If the xvimagesink isn't actually going anywhere, would it block?

Thanks again,
Rodney

gst-launch -vvv --gst-debug-level=2 filesrc 
location=/home/rdowdall/Documents/crank/contracts/guifx_800_480/movies/hallway_people.mp4 
! decodebin2 name=decoder decoder. ! queue ! audioconvert ! 
audioresample ! osssink decoder. ! queue ! ffmpegcolorspace ! xvimagesink

Setting pipeline to PAUSED ...
/GstPipeline:pipeline0/GstDecodeBin2:decoder/GstTypeFindElement:typefind.GstPad:src: 
caps = audio/x-m4a
Pipeline is PREROLLING ...
/GstPipeline:pipeline0/GstDecodeBin2:decoder/GstQTDemux:qtdemux0.GstPad:sink: 
caps = audio/x-m4a
0:00:00.107951099  1810       0xdbcf80 WARN                 qtdemux 
qtdemux_types.c:170:qtdemux_type_get: unknown QuickTime node type avc1
0:00:00.107980362  1810       0xdbcf80 WARN                 qtdemux 
qtdemux_types.c:170:qtdemux_type_get: unknown QuickTime node type avcC
0:00:00.107993073  1810       0xdbcf80 WARN                 qtdemux 
qtdemux_types.c:170:qtdemux_type_get: unknown QuickTime node type uuid
0:00:00.108996623  1810       0xdbcf80 WARN                 qtdemux 
qtdemux.c:5652:qtdemux_parse_trak:<qtdemux0> unknown version 00000000
/GstPipeline:pipeline0/GstDecodeBin2:decoder/GstMultiQueue:multiqueue0: 
max-size-buffers = 5
/GstPipeline:pipeline0/GstDecodeBin2:decoder/GstMultiQueue:multiqueue0: 
max-size-time = 0
/GstPipeline:pipeline0/GstDecodeBin2:decoder/GstMultiQueue:multiqueue0: 
max-size-bytes = 2097152
/GstPipeline:pipeline0/GstDecodeBin2:decoder/GstMultiQueue:multiqueue0.GstPad:sink0: 
caps = audio/mpeg, mpegversion=(int)4, framed=(boolean)true, 
codec_data=(buffer)1210, rate=(int)44100, channels=(int)2
/GstPipeline:pipeline0/GstDecodeBin2:decoder/GstMultiQueue:multiqueue0: 
max-size-buffers = 5
/GstPipeline:pipeline0/GstDecodeBin2:decoder/GstMultiQueue:multiqueue0: 
max-size-time = 0
/GstPipeline:pipeline0/GstDecodeBin2:decoder/GstMultiQueue:multiqueue0: 
max-size-bytes = 2097152
/GstPipeline:pipeline0/GstDecodeBin2:decoder/GstMultiQueue:multiqueue0.GstPad:src0: 
caps = audio/mpeg, mpegversion=(int)4, framed=(boolean)true, 
codec_data=(buffer)1210, rate=(int)44100, channels=(int)2
/GstPipeline:pipeline0/GstDecodeBin2:decoder/GstFaad:faad0.GstPad:sink: 
caps = audio/mpeg, mpegversion=(int)4, framed=(boolean)true, 
codec_data=(buffer)1210, rate=(int)44100, channels=(int)2
/GstPipeline:pipeline0/GstDecodeBin2:decoder.GstDecodePad:src0: caps = 
audio/x-raw-int, endianness=(int)1234, signed=(boolean)true, 
width=(int)16, depth=(int)16, rate=(int)44100, channels=(int)2
/GstPipeline:pipeline0/GstDecodeBin2:decoder/GstFaad:faad0.GstPad:src: 
caps = audio/x-raw-int, endianness=(int)1234, signed=(boolean)true, 
width=(int)16, depth=(int)16, rate=(int)44100, channels=(int)2
/GstPipeline:pipeline0/GstQueue:queue0.GstPad:sink: caps = 
audio/x-raw-int, endianness=(int)1234, signed=(boolean)true, 
width=(int)16, depth=(int)16, rate=(int)44100, channels=(int)2
/GstPipeline:pipeline0/GstDecodeBin2:decoder.GstDecodePad:src0.GstProxyPad:proxypad4: 
caps = audio/x-raw-int, endianness=(int)1234, signed=(boolean)true, 
width=(int)16, depth=(int)16, rate=(int)44100, channels=(int)2
/GstPipeline:pipeline0/GstQueue:queue0.GstPad:src: caps = 
audio/x-raw-int, endianness=(int)1234, signed=(boolean)true, 
width=(int)16, depth=(int)16, rate=(int)44100, channels=(int)2
/GstPipeline:pipeline0/GstAudioConvert:audioconvert0.GstPad:src: caps = 
audio/x-raw-int, endianness=(int)1234, signed=(boolean)true, 
width=(int)16, depth=(int)16, rate=(int)44100, channels=(int)2
/GstPipeline:pipeline0/GstAudioConvert:audioconvert0.GstPad:sink: caps = 
audio/x-raw-int, endianness=(int)1234, signed=(boolean)true, 
width=(int)16, depth=(int)16, rate=(int)44100, channels=(int)2
/GstPipeline:pipeline0/GstAudioResample:audioresample0.GstPad:src: caps 
= audio/x-raw-int, endianness=(int)1234, signed=(boolean)true, 
width=(int)16, depth=(int)16, rate=(int)44100, channels=(int)2
/GstPipeline:pipeline0/GstAudioResample:audioresample0.GstPad:sink: caps 
= audio/x-raw-int, endianness=(int)1234, signed=(boolean)true, 
width=(int)16, depth=(int)16, rate=(int)44100, channels=(int)2
/GstPipeline:pipeline0/GstOssSink:osssink0.GstPad:sink: caps = 
audio/x-raw-int, endianness=(int)1234, signed=(boolean)true, 
width=(int)16, depth=(int)16, rate=(int)44100, channels=(int)2
^CCaught interrupt -- handling interrupt.
Interrupt: Stopping pipeline ...
ERROR: pipeline doesn't want to preroll.
Setting pipeline to NULL ...
/GstPipeline:pipeline0/GstOssSink:osssink0.GstPad:sink: caps = NULL
/GstPipeline:pipeline0/GstAudioResample:audioresample0.GstPad:src: caps 
= NULL
/GstPipeline:pipeline0/GstAudioResample:audioresample0.GstPad:sink: caps 
= NULL
/GstPipeline:pipeline0/GstAudioConvert:audioconvert0.GstPad:src: caps = NULL
/GstPipeline:pipeline0/GstAudioConvert:audioconvert0.GstPad:sink: caps = 
NULL
/GstPipeline:pipeline0/GstQueue:queue0.GstPad:src: caps = NULL
/GstPipeline:pipeline0/GstQueue:queue0.GstPad:sink: caps = NULL
/GstPipeline:pipeline0/GstDecodeBin2:decoder.GstDecodePad:src0: caps = NULL
/GstPipeline:pipeline0/GstDecodeBin2:decoder/GstFaad:faad0.GstPad:src: 
caps = NULL
/GstPipeline:pipeline0/GstDecodeBin2:decoder/GstFaad:faad0.GstPad:sink: 
caps = NULL
/GstPipeline:pipeline0/GstDecodeBin2:decoder/GstMultiQueue:multiqueue0.GstPad:sink0: 
caps = NULL
/GstPipeline:pipeline0/GstDecodeBin2:decoder/GstMultiQueue:multiqueue0.GstPad:src0: 
caps = NULL
/GstPipeline:pipeline0/GstDecodeBin2:decoder/GstQTDemux:qtdemux0.GstPad:audio_00: 
caps = NULL
/GstPipeline:pipeline0/GstDecodeBin2:decoder/GstQTDemux:qtdemux0.GstPad:video_00: 
caps = NULL
/GstPipeline:pipeline0/GstDecodeBin2:decoder/GstQTDemux:qtdemux0.GstPad:sink: 
caps = NULL
/GstPipeline:pipeline0/GstDecodeBin2:decoder/GstTypeFindElement:typefind.GstPad:src: 
caps = NULL
Freeing pipeline ...


On 10-06-01 01:35 AM, Kapil Agrawal wrote:
> Rodney,
>
> Your pipeline is missing queue,
> So it will look like,
>
> gst-launch -vvv --gst-debug-level=2 filesrc 
> location=<path_to_mp4_file> ! decodebin2 name=decoder decoder. ! queue 
> ! audioconvert ! audioresample ! osssink decoder. ! queue ! 
> ffmpegcolorspace ! xvimagesink
>
> Best
> Kapil
>

-- 

*
Rodney Dowdall
**Crank Software Inc.
**Office*: 613-595-1999
*Online*: www.cranksoftware.com <http://www.cranksoftware.com/>
*Check out*: Crank Software’s Blog <http://cranksoftware.com/blog/>


-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.freedesktop.org/archives/gstreamer-devel/attachments/20100601/4d2cf3c6/attachment.htm>


More information about the gstreamer-devel mailing list