[gst-devel] he_free.bit mp3 file strange hang on decodebin

neo tian tossking at gmail.com
Fri Jun 6 09:42:28 CEST 2008


Hi,

       When I try to use mad mp3 decode plugin with decodebin, I find this
strange behavior.

       he_free.bit is a mp3 file, 44,1 kHz free format bitstream of MPEG1
Layer3.

       When I use "gst-launch -v -t filesrc location=he_free.bit ! decodebin
! alsasink" on my I386 PC Linux.

       It hangs as

......

0:00:46.365035663  1140 0x804e078 INFO               default
gsttypefindhelper.c:168:helper_find_peek: typefind function returned:
unexpected
0:00:46.365941888  1140 0x804e078 INFO          GST_TYPEFIND
gsttypefind.c:83:gst_type_find_register: registering typefind function for
subparse_typefind
0:00:46.366326904  1140 0x804e078 INFO    GST_PLUGIN_LOADING
gstplugin.c:550:gst_plugin_load_file: plugin
"/work/new/rootfs/usr/lib/gstreamer-0.10/libgstsubparse.so" loaded
0:00:46.368792641  1140 0x804e078 INFO              typefind
gsttypefindelement.c:154:gst_type_find_element_have_type:<typefind> found
caps audio/mpeg, mpegversion=(int)1, layer=(int)3
0:00:46.385352053  1140 0x804e078 INFO      GST_ELEMENT_PADS
gstelement.c:887:gst_element_get_static_pad: found pad typefind:src
0:00:46.387628352  1140 0x804e078 INFO    GST_PLUGIN_LOADING
gstplugin.c:550:gst_plugin_load_file: plugin
"/work/new/rootfs/usr/lib/gstreamer-0.10/libgstmpegaudioparse.so" loaded
0:00:46.387769943  1140 0x804e078 INFO   GST_ELEMENT_FACTORY
gstelementfactory.c:399:gst_element_factory_create: creating element
"mp3parse"
0:00:46.387902539  1140 0x804e078 INFO      GST_ELEMENT_PADS
gstelement.c:641:gst_element_add_pad:<GstMPEGAudioParse at 0x80921a0> adding
pad 'sink'
0:00:46.388009454  1140 0x804e078 INFO      GST_ELEMENT_PADS
gstelement.c:641:gst_element_add_pad:<GstMPEGAudioParse at 0x80921a0> adding
pad 'src'
0:00:46.388108333  1140 0x804e078 INFO      GST_ELEMENT_PADS
gstelement.c:887:gst_element_get_static_pad: found pad mpegaudioparse0:sink
0:00:46.388185253  1140 0x804e078 INFO            GST_STATES
gstelement.c:2148:gst_element_continue_state:<mpegaudioparse0> completed
state change to READY
0:00:46.388241633  1140 0x804e078 INFO            GST_STATES
gstelement.c:2161:gst_element_continue_state:<mpegaudioparse0> posting
state-changed NULL to READY
0:00:46.388318509  1140 0x804e078 INFO              GST_PADS
gstpad.c:1769:gst_pad_link_prepare: trying to link typefind:src and
mpegaudioparse0:sink
0:00:46.388402318  1140 0x804e078 INFO              GST_PADS
gstpad.c:1906:gst_pad_link: linked typefind:src and mpegaudioparse0:sink,
successful
0:00:46.388477079  1140 0x804e078 INFO      GST_ELEMENT_PADS
gstelement.c:887:gst_element_get_static_pad: found pad mpegaudioparse0:src
0:00:46.388577252  1140 0x804e078 INFO            GST_STATES
gstelement.c:2148:gst_element_continue_state:<mpegaudioparse0> completed
state change to PAUSED
0:00:46.388635173  1140 0x804e078 INFO            GST_STATES
gstelement.c:2161:gst_element_continue_state:<mpegaudioparse0> posting
state-changed READY to PAUSED
0:00:46.388713436  1140 0x804e078 INFO            GST_STATES
gstelement.c:2148:gst_element_continue_state:<typefind> completed state
change to PAUSED
0:00:46.388769411  1140 0x804e078 INFO            GST_STATES
gstelement.c:2161:gst_element_continue_state:<typefind> posting
state-changed READY to PAUSED
0:00:46.388835319  1140 0x804e078 INFO            GST_STATES
gstbin.c:2191:gst_bin_change_state_func:<decodebin0> child 'typefind'
changed state to 3(PAUSED) successfully
0:00:46.389022428  1140 0x804e078 INFO            GST_STATES
gstelement.c:2148:gst_element_continue_state:<mpegaudioparse0> completed
state change to PAUSED
0:00:46.389082730  1140 0x804e078 INFO            GST_STATES
gstbin.c:2191:gst_bin_change_state_func:<decodebin0> child 'mpegaudioparse0'
changed state to 3(PAUSED) successfully
0:00:46.389143539  1140 0x804e078 INFO            GST_STATES
gstelement.c:2148:gst_element_continue_state:<typefind> completed state
change to PAUSED
0:00:46.389198771  1140 0x804e078 INFO            GST_STATES
gstbin.c:2191:gst_bin_change_state_func:<decodebin0> child 'typefind'
changed state to 3(PAUSED) successfully
0:00:46.389256396  1140 0x804e078 INFO            GST_STATES
gstbin.c:2197:gst_bin_change_state_func:<decodebin0> child 'fakesink' is
changing state asynchronously to PAUSED
0:00:46.389323928  1140 0x804e078 INFO            GST_STATES
gstbin.c:2197:gst_bin_change_state_func:<pipeline0> child 'decodebin0' is
changing state asynchronously to PAUSED
0:00:46.389405506  1140 0x804e078 INFO               filesrc
gstfilesrc.c:907:gst_file_src_start:<filesrc0> opening file
/home/neo/vmware/vmshare/mp3/test_bitstream/mpeg1/he_free.bit
0:00:46.389500095  1140 0x804e078 INFO             GST_EVENT
gstevent.c:539:gst_event_new_new_segment_full: creating newsegment update 0,
rate 1.000000, format 2, start 0, stop 26645, position 0
0:00:46.389725698  1140 0x804e078 INFO            GST_STATES
gstelement.c:2148:gst_element_continue_state:<filesrc0> completed state
change to PAUSED
0:00:46.389792007  1140 0x804e078 INFO            GST_STATES
gstelement.c:2161:gst_element_continue_state:<filesrc0> posting
state-changed READY to PAUSED
0:00:46.389958886  1140 0x804e078 INFO            GST_STATES
gstbin.c:2191:gst_bin_change_state_func:<pipeline0> child 'filesrc0' changed
state to 3(PAUSED) successfully
Pipeline is PREROLLING ...
0:00:46.390540442  1140 0x80d9a48 INFO              GST_PADS
gstpad.c:2933:gst_pad_event_default_dispatch:<typefind:sink> Sending event
0x8053cc8 (newsegment) to all internally linked pads
0:00:46.390651867  1140 0x80d9a48 INFO             GST_EVENT
gstevent.c:534:gst_event_new_new_segment_full: creating newsegment update 0,
rate 1.000000, format GST_FORMAT_TIME, start 0:00:00.000000000, stop
99:99:99.999999999, position 0:00:00.000000000
0:00:46.395255434  1140 0x80d9a48 INFO               basesrc
gstbasesrc.c:2021:gst_base_src_loop:<filesrc0> pausing after
gst_base_src_get_range() = unexpected
0:00:46.400369061  1140 0x80d9a48 INFO              GST_PADS
gstpad.c:2933:gst_pad_event_default_dispatch:<typefind:sink> Sending event
0x805e4c8 (eos) to all internally linked pads

       When I remove mpegaudioparse plugin, it run success.

        I find there have more than 100000 times repeat INFO messages as
"0:00:00.104673638 28551 0x804e078 INFO    default
gsttypefindhelper.c:168:helper_find_peek: typefind function returned:
unexpected".

       I do not know why typefind print so many unexpected INFO? Why
mpegaudioparse impact decodebin?
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.freedesktop.org/archives/gstreamer-devel/attachments/20080606/776a4994/attachment.htm>


More information about the gstreamer-devel mailing list