[gst-devel] How can I set properties of plugins, loaded by playbin2, launched with gst-launch?

Stefan Kost ensonic at hora-obscura.de
Tue Mar 16 21:39:56 CET 2010


Am 16.03.2010 16:20, schrieb wl2776:
> 
> 
> Stefan Kost wrote:
>>
>> source::debug=true
>> is enough (please note '::' instead of ':').
>>
> 
> Unfortunately, no.
>  gst-launch -v '--gst-debug=rtspsrc:5,GST_REGISTRY:0,*:3' \
> --gst-debug-no-color
> --gst-plugin-path=/home/wl/AVIK/player/rtspsrc/src/.libs \
> playbin2
> uri=rtsp://192.168.24.21/1286_bbc_world_news_2009_06_04_22_00_000.mpg \
> source::debug=true

I am sorry, it needs the whole path but as:

playbin2 uri=rtsp://192.168.24.21/1286_bbc_world_news_2009_06_04_22_00_000.mpg
uridecodebin0::source::debug=true

Stefan

> 
> 0:00:00.001294666 12613  0x8e2f050 INFO                GST_INIT
> gst.c:513:add_path_func: Adding plugin path:
> "/home/wl/AVIK/player/rtspsrc/src/.libs", will scan later
> 0:00:00.002092355 12613  0x8e2f050 INFO                GST_INIT
> gstquery.c:105:_gst_query_initialize: init queries
> 0:00:00.003942656 12613  0x8e2f050 INFO                GST_INIT
> gstmessage.c:73:_gst_message_initialize: init messages
> 0:00:00.004445253 12613  0x8e2f050 INFO      GST_PLUGIN_LOADING
> gstplugin.c:334:_gst_plugin_initialize: registering 0 static plugins
> 0:00:00.004642051 12613  0x8e2f050 INFO      GST_PLUGIN_LOADING
> gstplugin.c:250:gst_plugin_register_static: registered static plugin
> "staticelements"
> 0:00:00.004668684 12613  0x8e2f050 INFO      GST_PLUGIN_LOADING
> gstplugin.c:252:gst_plugin_register_static: added static plugin
> "staticelements", result: 1
> 0:00:00.005302811 12613  0x8e2f050 INFO                GST_INIT
> gst.c:937:ensure_current_registry: reading registry cache:
> /home/wl/.gstreamer-0.10/registry.i486.bin
> 0:00:00.140050075 12613  0x8e2f050 INFO            GST_REGISTRY
> gstregistrybinary.c:1310:gst_registry_binary_read_cache: loaded
> /home/wl/.gstreamer-0.10/registry.i486.bin in 0.134704 seconds
> 0:00:00.140580925 12614  0x8e2f050 INFO                GST_INIT
> gst.c:691:scan_and_update_registry: Validating registry cache:
> /home/wl/.gstreamer-0.10/registry.i486.bin
> 0:00:00.140737420 12614  0x8e2f050 INFO                GST_INIT
> gst.c:700:scan_and_update_registry: Scanning plugin path:
> "/home/wl/AVIK/player/rtspsrc/src/.libs"
> 0:00:00.256925749 12614  0x8e2f050 INFO                  ladspa
> gstladspa.c:818:ladspa_plugin_path_search: 3 dirs in search paths
> "/usr/lib/ladspa:/usr/local/lib/ladspa:/usr/lib/ladspa"
> 0:00:00.256975196 12614  0x8e2f050 INFO                  ladspa
> gstladspa.c:763:ladspa_plugin_directory_search: scanning directory for
> plugins "/usr/lib/ladspa"
> 0:00:00.257013424 12614  0x8e2f050 INFO                  ladspa
> gstladspa.c:763:ladspa_plugin_directory_search: scanning directory for
> plugins "/usr/local/lib/ladspa"
> 0:00:00.257046388 12614  0x8e2f050 WARN      GST_PLUGIN_LOADING
> gstplugin.c:422:gst_plugin_register_func: plugin
> "/usr/lib/gstreamer-0.10/libgstladspa.so" failed to initialise
> 0:00:00.289954091 12614  0x8e2f050 INFO                GST_INIT
> gst.c:786:scan_and_update_registry: Registry cache has not changed
> 0:00:00.290331175 12613  0x8e2f050 INFO                GST_INIT
> gst.c:980:ensure_current_registry: registry reading and updating done,
> result = 1
> 
> (gst-launch-0.10:12613): GLib-WARNING **: g_set_prgname() called multiple
> times
> 0:00:00.290455100 12613  0x8e2f050 INFO            GST_PIPELINE
> gstparse.c:291:gst_parse_launch_full: parsing pipeline description 'playbin2
> uri=rtsp://192.168.24.21/1286_bbc_world_news_2009_06_04_22_00_000.mpg
> source::debug=true '
> 0:00:00.327258997 12613  0x8e2f050 INFO      GST_PLUGIN_LOADING
> gstplugin.c:658:gst_plugin_load_file: plugin
> "/usr/lib/gstreamer-0.10/libgstplaybin.so" loaded
> 0:00:00.327312858 12613  0x8e2f050 INFO     GST_ELEMENT_FACTORY
> gstelementfactory.c:402:gst_element_factory_create: creating element
> "playbin2"
> 0:00:00.329578037 12613  0x8e2f050 INFO                 default
> gstchildproxy.c:195:gst_child_proxy_lookup: no such object source
> Setting pipeline to PAUSED ...
> 
> I am using the GStreamer version from the Ubuntu repository. Will try the
> latest build from the WinBuilds SVN.





More information about the gstreamer-devel mailing list