Is gstreamer 0.10.30.0 compatible with glib 2.0.3600.4
Yogesh Tyagi
yogesh.bit2006 at gmail.com
Thu May 21 06:49:06 PDT 2015
Hi,
I have upgraded my gstreamer package to 0.10.30.0 and glib to 2.0.3600.4.
Earlier I was using gstreamer 0.10.29.0 and glib 2.0.2200.5. After the
upgrade typefind element is not detecting media types. From debug logs it
looks that it's not able to change state from READY_TO_PAUSED.
I am using a sample program to test typefind:
GST_DEBUG=3 ./test mpeg2_333_mhz.ts
0:00:00.000219070 2961 0x8051c00 INFO GST_INIT
/opt/core2-poky-linux/gstreamer/0.10.36-r2/gstreamer-0.10.36/gst/gst.c:613:init_pre:
Initializing GStreamer Core Library version 0.10.36
0:00:00.000510820 2961 0x8051c00 INFO GST_INIT
/opt/core2-poky-linux/gstreamer/0.10.36-r2/gstreamer-0.10.36/gst/gst.c:614:init_pre:
Using library installed in /usr/lib
0:00:00.000598080 2961 0x8051c00 INFO GST_INIT
/opt/core2-poky-linux/gstreamer/0.10.36-r2/gstreamer-0.10.36/gst/gst.c:624:init_pre:
Linux xamp_ce_linux 3.12.17 #1 SMP PREEMPT Mon May 18 02:50:15 PDT 2015 i686
0:00:00.001173091 2961 0x8051c00 INFO GST_INIT
/opt/core2-poky-linux/gstreamer/0.10.36-r2/gstreamer-0.10.36/gst/gstquery.c:107:_gst_query_initialize:
init queries
0:00:00.004012033 2961 0x8051c00 INFO GST_INIT
/opt/core2-poky-linux/gstreamer/0.10.36-r2/gstreamer-0.10.36/gst/gstmessage.c:73:_gst_message_initialize:
init messages
0:00:00.004919113 2961 0x8051c00 INFO GST_PLUGIN_LOADING
/opt/core2-poky-linux/gstreamer/0.10.36-r2/gstreamer-0.10.36/gst/gstplugin.c:350:_gst_plugin_initialize:
registering 0 static plugins
0:00:00.005623874 2961 0x8051c00 INFO GST_PLUGIN_LOADING
/opt/core2-poky-linux/gstreamer/0.10.36-r2/gstreamer-0.10.36/gst/gstplugin.c:255:gst_plugin_register_static:
registered static plugin "staticelements"
0:00:00.005730794 2961 0x8051c00 INFO GST_PLUGIN_LOADING
/opt/core2-poky-linux/gstreamer/0.10.36-r2/gstreamer-0.10.36/gst/gstplugin.c:257:gst_plugin_register_static:
added static plugin "staticelements", result: 1
0:00:00.005878314 2961 0x8051c00 INFO GST_REGISTRY
/opt/core2-poky-linux/gstreamer/0.10.36-r2/gstreamer-0.10.36/gst/gstregistry.c:1648:ensure_current_registry:
reading registry cache: /.gstreamer-0.10/registry.i586.bin
0:00:00.016085561 2961 0x8051c00 INFO GST_REGISTRY
/opt/core2-poky-linux/gstreamer/0.10.36-r2/gstreamer-0.10.36/gst/gstregistrybinary.c:614:gst_registry_binary_read_cache:
loaded /.gstreamer-0.10/registry.i586.bin in 0.010033 seconds
0:00:00.016368041 2961 0x8051c00 INFO GST_REGISTRY
/opt/core2-poky-linux/gstreamer/0.10.36-r2/gstreamer-0.10.36/gst/gstregistry.c:1518:scan_and_update_registry:
Validating plugins from registry cache: /.gstreamer-0.10/registry.i586.bin
0:00:00.098476686 2961 0x8051c00 INFO GST_REGISTRY
/opt/core2-poky-linux/gstreamer/0.10.36-r2/gstreamer-0.10.36/gst/gstregistry.c:1610:scan_and_update_registry:
Registry cache has not changed
0:00:00.098619106 2961 0x8051c00 INFO GST_REGISTRY
/opt/core2-poky-linux/gstreamer/0.10.36-r2/gstreamer-0.10.36/gst/gstregistry.c:1683:ensure_current_registry:
registry reading and updating done, result = 1
0:00:00.098781766 2961 0x8051c00 INFO GST_INIT
/opt/core2-poky-linux/gstreamer/0.10.36-r2/gstreamer-0.10.36/gst/gst.c:805:init_post:
GLib runtime version: 2.36.4
0:00:00.098878036 2961 0x8051c00 INFO GST_INIT
/opt/core2-poky-linux/gstreamer/0.10.36-r2/gstreamer-0.10.36/gst/gst.c:807:init_post:
GLib headers version: 2.36.4
0:00:00.098979786 2961 0x8051c00 INFO GST_INIT
/opt/core2-poky-linux/gstreamer/0.10.36-r2/gstreamer-0.10.36/gst/gst.c:456:gst_init_check:
initialized GStreamer successfully
0:00:00.099221096 2961 0x8051c00 INFO GST_ELEMENT_FACTORY
/opt/core2-poky-linux/gstreamer/0.10.36-r2/gstreamer-0.10.36/gst/gstelementfactory.c:374:gst_element_factory_create:
creating element "pipeline" named "pipe"
0:00:00.103165129 2961 0x8051c00 INFO GST_PLUGIN_LOADING
/opt/core2-poky-linux/gstreamer/0.10.36-r2/gstreamer-0.10.36/gst/gstplugin.c:859:gst_plugin_load_file:
plugin "/usr/lib/gstreamer-0.10/libgstcoreelements.so" loaded
0:00:00.103320859 2961 0x8051c00 INFO GST_ELEMENT_FACTORY
/opt/core2-poky-linux/gstreamer/0.10.36-r2/gstreamer-0.10.36/gst/gstelementfactory.c:374:gst_element_factory_create:
creating element "filesrc" named "source"
0:00:00.104259120 2961 0x8051c00 INFO GST_ELEMENT_PADS
/opt/core2-poky-linux/gstreamer/0.10.36-r2/gstreamer-0.10.36/gst/gstelement.c:728:gst_element_add_pad:<GstBaseSrc at 0x8080148>
adding pad 'src'
0:00:00.104582570 2961 0x8051c00 INFO filesrc
/opt/core2-poky-linux/gstreamer/0.10.36-r2/gstreamer-0.10.36/plugins/elements/gstfilesrc.c:374:gst_file_src_set_location:
filename : mpeg2_333_mhz.ts
0:00:00.104739640 2961 0x8051c00 INFO filesrc
/opt/core2-poky-linux/gstreamer/0.10.36-r2/gstreamer-0.10.36/plugins/elements/gstfilesrc.c:375:gst_file_src_set_location:
uri : file:///mpeg2_333_mhz.ts
0:00:00.105123740 2961 0x8051c00 INFO GST_ELEMENT_FACTORY
/opt/core2-poky-linux/gstreamer/0.10.36-r2/gstreamer-0.10.36/gst/gstelementfactory.c:374:gst_element_factory_create:
creating element "typefind" named "typefinder"
0:00:00.105743261 2961 0x8051c00 INFO GST_ELEMENT_PADS
/opt/core2-poky-linux/gstreamer/0.10.36-r2/gstreamer-0.10.36/gst/gstelement.c:728:gst_element_add_pad:<GstTypeFindElement at 0x8082800>
adding pad 'sink'
0:00:00.106028791 2961 0x8051c00 INFO GST_ELEMENT_PADS
/opt/core2-poky-linux/gstreamer/0.10.36-r2/gstreamer-0.10.36/gst/gstelement.c:728:gst_element_add_pad:<GstTypeFindElement at 0x8082800>
adding pad 'src'
0:00:00.106183731 2961 0x8051c00 INFO GST_ELEMENT_FACTORY
/opt/core2-poky-linux/gstreamer/0.10.36-r2/gstreamer-0.10.36/gst/gstelementfactory.c:374:gst_element_factory_create:
creating element "fakesink" named "sink"
0:00:00.107445642 2961 0x8051c00 INFO GST_ELEMENT_PADS
/opt/core2-poky-linux/gstreamer/0.10.36-r2/gstreamer-0.10.36/gst/gstelement.c:728:gst_element_add_pad:<GstBaseSink at 0x8084100>
adding pad 'sink'
0:00:00.107830792 2961 0x8051c00 INFO GST_ELEMENT_PADS
/opt/core2-poky-linux/gstreamer/0.10.36-r2/gstreamer-0.10.36/gst/gstutils.c:1698:gst_element_link_pads_full:
trying to link element source:(any) to element typefinder:(any)
0:00:00.108078482 2961 0x8051c00 INFO GST_PADS
/opt/core2-poky-linux/gstreamer/0.10.36-r2/gstreamer-0.10.36/gst/gstutils.c:1032:gst_pad_check_link:
trying to link source:src and typefinder:sink
0:00:00.108217382 2961 0x8051c00 INFO GST_PADS
/opt/core2-poky-linux/gstreamer/0.10.36-r2/gstreamer-0.10.36/gst/gstutils.c:1596:prepare_link_maybe_ghosting:
source and typefinder in same bin, no need for ghost pads
0:00:00.108436612 2961 0x8051c00 INFO GST_PADS
/opt/core2-poky-linux/gstreamer/0.10.36-r2/gstreamer-0.10.36/gst/gstpad.c:1978:gst_pad_link_prepare:
trying to link source:src and typefinder:sink
0:00:00.108554822 2961 0x8051c00 INFO GST_PADS
/opt/core2-poky-linux/gstreamer/0.10.36-r2/gstreamer-0.10.36/gst/gstpad.c:2161:gst_pad_link_full:
linked source:src and typefinder:sink, successful
0:00:00.108835683 2961 0x8051c00 INFO GST_ELEMENT_PADS
/opt/core2-poky-linux/gstreamer/0.10.36-r2/gstreamer-0.10.36/gst/gstutils.c:1698:gst_element_link_pads_full:
trying to link element typefinder:(any) to element sink:(any)
0:00:00.108935403 2961 0x8051c00 INFO GST_PADS
/opt/core2-poky-linux/gstreamer/0.10.36-r2/gstreamer-0.10.36/gst/gstutils.c:1032:gst_pad_check_link:
trying to link typefinder:src and sink:sink
0:00:00.109105333 2961 0x8051c00 INFO GST_PADS
/opt/core2-poky-linux/gstreamer/0.10.36-r2/gstreamer-0.10.36/gst/gstutils.c:1596:prepare_link_maybe_ghosting:
typefinder and sink in same bin, no need for ghost pads
0:00:00.109215473 2961 0x8051c00 INFO GST_PADS
/opt/core2-poky-linux/gstreamer/0.10.36-r2/gstreamer-0.10.36/gst/gstpad.c:1978:gst_pad_link_prepare:
trying to link typefinder:src and sink:sink
0:00:00.109347323 2961 0x8051c00 INFO GST_PADS
/opt/core2-poky-linux/gstreamer/0.10.36-r2/gstreamer-0.10.36/gst/gstpad.c:2161:gst_pad_link_full:
linked typefinder:src and sink:sink, successful
0:00:00.109649133 2961 0x8051c00 INFO GST_STATES
/opt/core2-poky-linux/gstreamer/0.10.36-r2/gstreamer-0.10.36/gst/gstelement.c:2460:gst_element_continue_state:<sink>
completed state change to READY
0:00:00.109737333 2961 0x8051c00 INFO GST_STATES
/opt/core2-poky-linux/gstreamer/0.10.36-r2/gstreamer-0.10.36/gst/gstelement.c:2365:_priv_gst_element_state_changed:<sink>
notifying about state-changed NULL to READY (VOID_PENDING pending)
0:00:00.109993753 2961 0x8051c00 INFO GST_STATES
/opt/core2-poky-linux/gstreamer/0.10.36-r2/gstreamer-0.10.36/gst/gstbin.c:2526:gst_bin_change_state_func:<pipe>
child 'sink' changed state to 2(READY) successfully
0:00:00.110126444 2961 0x8051c00 INFO GST_STATES
/opt/core2-poky-linux/gstreamer/0.10.36-r2/gstreamer-0.10.36/gst/gstelement.c:2460:gst_element_continue_state:<typefinder>
completed state change to READY
0:00:00.110257634 2961 0x8051c00 INFO GST_STATES
/opt/core2-poky-linux/gstreamer/0.10.36-r2/gstreamer-0.10.36/gst/gstelement.c:2365:_priv_gst_element_state_changed:<typefinder>
notifying about state-changed NULL to READY (VOID_PENDING pending)
0:00:00.110373774 2961 0x8051c00 INFO GST_STATES
/opt/core2-poky-linux/gstreamer/0.10.36-r2/gstreamer-0.10.36/gst/gstbin.c:2526:gst_bin_change_state_func:<pipe>
child 'typefinder' changed state to 2(READY) successfully
0:00:00.110506484 2961 0x8051c00 INFO GST_STATES
/opt/core2-poky-linux/gstreamer/0.10.36-r2/gstreamer-0.10.36/gst/gstelement.c:2460:gst_element_continue_state:<source>
completed state change to READY
0:00:00.110579124 2961 0x8051c00 INFO GST_STATES
/opt/core2-poky-linux/gstreamer/0.10.36-r2/gstreamer-0.10.36/gst/gstelement.c:2365:_priv_gst_element_state_changed:<source>
notifying about state-changed NULL to READY (VOID_PENDING pending)
0:00:00.110802904 2961 0x8051c00 INFO GST_STATES
/opt/core2-poky-linux/gstreamer/0.10.36-r2/gstreamer-0.10.36/gst/gstbin.c:2526:gst_bin_change_state_func:<pipe>
child 'source' changed state to 2(READY) successfully
0:00:00.110950284 2961 0x8051c00 INFO GST_STATES
/opt/core2-poky-linux/gstreamer/0.10.36-r2/gstreamer-0.10.36/gst/gstelement.c:2435:gst_element_continue_state:<pipe>
committing state from NULL to READY, pending PLAYING, next PAUSED
0:00:00.111030784 2961 0x8051c00 INFO GST_STATES
/opt/core2-poky-linux/gstreamer/0.10.36-r2/gstreamer-0.10.36/gst/gstelement.c:2365:_priv_gst_element_state_changed:<pipe>
notifying about state-changed NULL to READY (PLAYING pending)
0:00:00.111136444 2961 0x8051c00 INFO GST_STATES
/opt/core2-poky-linux/gstreamer/0.10.36-r2/gstreamer-0.10.36/gst/gstelement.c:2442:gst_element_continue_state:<pipe>
continue state change READY to PAUSED, final PLAYING
0:00:00.111384404 2961 0x8051c00 INFO GST_STATES
/opt/core2-poky-linux/gstreamer/0.10.36-r2/gstreamer-0.10.36/gst/gstbin.c:2532:gst_bin_change_state_func:<pipe>
child 'sink' is changing state asynchronously to PAUSED
0:00:00.111527734 2961 0x8051c00 INFO filesrc
/opt/core2-poky-linux/gstreamer/0.10.36-r2/gstreamer-0.10.36/plugins/elements/gstfilesrc.c:969:gst_file_src_start:<source>
opening file mpeg2_333_mhz.ts
0:00:00.115549227 2961 0x8051c00 INFO filesrc
/opt/core2-poky-linux/gstreamer/0.10.36-r2/gstreamer-0.10.36/plugins/elements/gstfilesrc.c:969:gst_file_src_start:<source>
opening file mpeg2_333_mhz.ts
0:00:00.116747368 2961 0x8051c00 INFO GST_ERROR_SYSTEM
/opt/core2-poky-linux/gstreamer/0.10.36-r2/gstreamer-0.10.36/gst/gstelement.c:1964:gst_element_message_full:<typefinder>
posting message: Could not determine type of stream.
0:00:00.116936338 2961 0x8051c00 INFO GST_ERROR_SYSTEM
/opt/core2-poky-linux/gstreamer/0.10.36-r2/gstreamer-0.10.36/gst/gstelement.c:1987:gst_element_message_full:<typefinder>
posted error message: Could not determine type of stream.
0:00:00.117060638 2961 0x8051c00 WARN GST_PADS
/opt/core2-poky-linux/gstreamer/0.10.36-r2/gstreamer-0.10.36/gst/gstpad.c:737:gst_pad_set_active:<typefinder:sink>
Failed to activate pad
0:00:00.117145738 2961 0x8051c00 INFO GST_STATES
/opt/core2-poky-linux/gstreamer/0.10.36-r2/gstreamer-0.10.36/gst/gstelement.c:2768:gst_element_change_state:<typefinder>
have FAILURE change_state return
0:00:00.117228408 2961 0x8051c00 INFO GST_STATES
/opt/core2-poky-linux/gstreamer/0.10.36-r2/gstreamer-0.10.36/gst/gstelement.c:2335:gst_element_abort_state:<typefinder>
aborting state from READY to PAUSED
0:00:00.117444188 2961 0x8051c00 INFO GST_STATES
/opt/core2-poky-linux/gstreamer/0.10.36-r2/gstreamer-0.10.36/gst/gstbin.c:2542:gst_bin_change_state_func:<pipe>
child 'typefinder' failed to go to state 3(PAUSED)
0:00:00.117540338 2961 0x8051c00 INFO GST_STATES
/opt/core2-poky-linux/gstreamer/0.10.36-r2/gstreamer-0.10.36/gst/gstelement.c:2768:gst_element_change_state:<pipe>
have FAILURE change_state return
Thanks,
Yogesh
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.freedesktop.org/archives/gstreamer-devel/attachments/20150521/2a346696/attachment-0001.html>
More information about the gstreamer-devel
mailing list