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

classic Classic list List threaded Threaded
18 messages Options
Reply | Threaded
Open this post in threaded view
|

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

wl2776
Administrator
I am adding some functionality to the RTSPsrc plugin.
I use
$ gst-launch --gst-plugin-path=`pwd` --gst-debug=rtspsrc:5 playbin2 uri=rtsp://192.168.24.21/1286_bbc_world_news_2009_06_04_22_00_000.mpg

This loads my custom rtspsrc plugin, situated in the current directory.
I'd like to set its 'debug' property to true.
How can I do this?
Reply | Threaded
Open this post in threaded view
|

Re: How can I set properties of plugins, loaded by playbin2, launched with gst-launch?

Stefan Sauer
wl2776 wrote:

> I am adding some functionality to the RTSPsrc plugin.
> I use
> $ gst-launch --gst-plugin-path=`pwd` --gst-debug=rtspsrc:5 playbin2
> uri=rtsp://192.168.24.21/1286_bbc_world_news_2009_06_04_22_00_000.mpg
>
> This loads my custom rtspsrc plugin, situated in the current directory.
> I'd like to set its 'debug' property to true.
> How can I do this?
>
>  
gst-launch --gst-plugin-path=`pwd` --gst-debug=rtspsrc:5 playbin2
uri=rtsp://192.168.24.21/1286_bbc_world_news_2009_06_04_22_00_000.mpg rtspsrc
0::debug=true

if your instance of rtspsrc is called "rtspsrc0".

Stefan

------------------------------------------------------------------------------
Download Intel® Parallel Studio Eval
Try the new software tools for yourself. Speed compiling, find bugs
proactively, and fine-tune applications for parallel performance.
See why Intel Parallel Studio got high marks during beta.
http://p.sf.net/sfu/intel-sw-dev
_______________________________________________
gstreamer-devel mailing list
[hidden email]
https://lists.sourceforge.net/lists/listinfo/gstreamer-devel
Reply | Threaded
Open this post in threaded view
|

Re: How can I set properties of plugins, loaded by playbin2, launched with gst-launch?

wl2776
Administrator
Stefan Kost wrote
> This loads my custom rtspsrc plugin, situated in the current directory.
> I'd like to set its 'debug' property to true.

gst-launch --gst-plugin-path=`pwd` --gst-debug=rtspsrc:5 playbin2
uri=rtsp://192.168.24.21/1286_bbc_world_news_2009_06_04_22_00_000.mpg rtspsrc
0::debug=true

if your instance of rtspsrc is called "rtspsrc0".
Unfortunately, this doesn't work.
playbin2 creates the element "source", but playbin2 creates the rtspsrc much after gst-launch parses the command line.

Log says the following

0:00:00.172492876  4127  0x8428050 DEBUG    GST_ELEMENT_FACTORY gstelementfactory.c:425:gst_element_factory_create: created element "playbin2"
0:00:00.172511292  4127  0x8428050 DEBUG           GST_PIPELINE parse.l:141:_gst_parse_yylex: flex: SPACE: [ ]
0:00:00.172526010  4127  0x8428050 DEBUG           GST_PIPELINE parse.l:75:_gst_parse_yylex: flex: ASSIGNMENT: uri=rtsp://192.168.24.21/1286_bbc_world_news_2009_06_04_22_00_000.mpg
0:00:00.172555820  4127  0x8428050 DEBUG               playbin2 gstplaybin2.c:1169:gst_play_bin_set_uri: set new uri to rtsp://192.168.24.21/1286_bbc_world_news_2009_06_04_22_00_000.mpg
0:00:00.172576792  4127  0x8428050 DEBUG           GST_PIPELINE parse.l:141:_gst_parse_yylex: flex: SPACE: [ ]
0:00:00.172591013  4127  0x8428050 DEBUG           GST_PIPELINE parse.l:75:_gst_parse_yylex: flex: ASSIGNMENT: source::debug=true
0:00:00.172611478  4127  0x8428050 INFO                 default gstchildproxy.c:195:gst_child_proxy_lookup: no such object source
0:00:00.172637905  4127  0x8428050 DEBUG           GST_PIPELINE parse.l:141:_gst_parse_yylex: flex: SPACE: [ ]
0:00:00.172662693  4127  0x8428050 DEBUG           GST_PIPELINE ./grammar.y:884:_gst_parse_launch: got 1 elements and 0 links
[ skip ]
0:00:00.178681232  4127  0x8428050 INFO      GST_PLUGIN_LOADING gstplugin.c:658:gst_plugin_load_file: plugin "/home/wl/AVIK/player/rtspsrc/src/.libs/libgstrtsp.so" loaded
0:00:00.178705080  4127  0x8428050 DEBUG     GST_PLUGIN_LOADING gstpluginfeature.c:114:gst_plugin_feature_load: loaded plugin rtsp
0:00:00.178723241  4127  0x8428050 INFO     GST_ELEMENT_FACTORY gstelementfactory.c:400:gst_element_factory_create: creating element "rtspsrc" named "source"
0:00:00.178745758  4127  0x8428050 DEBUG                default gstelement.c:268:gst_element_base_class_init: type GstRTSPSrc : factory 0x8558090
0:00:00.179068806  4127  0x8428050 DEBUG                GST_BUS gstbus.c:194:gst_bus_init:<GstBus@0x847e658> created

Reply | Threaded
Open this post in threaded view
|

Re: How can I set properties of plugins, loaded by playbin2, launched with gst-launch?

Stefan Sauer
Am 15.03.2010 10:26, schrieb wl2776:

>
>
> Stefan Kost wrote:
>>
>>> This loads my custom rtspsrc plugin, situated in the current directory.
>>> I'd like to set its 'debug' property to true.
>>
>> gst-launch --gst-plugin-path=`pwd` --gst-debug=rtspsrc:5 playbin2
>> uri=rtsp://192.168.24.21/1286_bbc_world_news_2009_06_04_22_00_000.mpg
>> rtspsrc
>> 0::debug=true
>>
>> if your instance of rtspsrc is called "rtspsrc0".
>>
>
> Unfortunately, this doesn't work.
> playbin2 creates the element "source", but playbin2 creates the rtspsrc much
> after gst-launch parses the command line.


thant should not be a problem. gst-launch keeps pending set() actions until the
eleemnt with the name has been created.

Stefan

>
> Log says the following
>
> 0:00:00.172492876  4127  0x8428050 DEBUG    GST_ELEMENT_FACTORY
> gstelementfactory.c:425:gst_element_factory_create: created element
> "playbin2"
> 0:00:00.172511292  4127  0x8428050 DEBUG           GST_PIPELINE
> parse.l:141:_gst_parse_yylex: flex: SPACE: [ ]
> 0:00:00.172526010  4127  0x8428050 DEBUG           GST_PIPELINE
> parse.l:75:_gst_parse_yylex: flex: ASSIGNMENT:
> uri=rtsp://192.168.24.21/1286_bbc_world_news_2009_06_04_22_00_000.mpg
> 0:00:00.172555820  4127  0x8428050 DEBUG               playbin2
> gstplaybin2.c:1169:gst_play_bin_set_uri: set new uri to
> rtsp://192.168.24.21/1286_bbc_world_news_2009_06_04_22_00_000.mpg
> 0:00:00.172576792  4127  0x8428050 DEBUG           GST_PIPELINE
> parse.l:141:_gst_parse_yylex: flex: SPACE: [ ]
> 0:00:00.172591013  4127  0x8428050 DEBUG           GST_PIPELINE
> parse.l:75:_gst_parse_yylex: flex: ASSIGNMENT: source::debug=true
> 0:00:00.172611478  4127  0x8428050 INFO                 default
> gstchildproxy.c:195:gst_child_proxy_lookup: no such object source
> 0:00:00.172637905  4127  0x8428050 DEBUG           GST_PIPELINE
> parse.l:141:_gst_parse_yylex: flex: SPACE: [ ]
> 0:00:00.172662693  4127  0x8428050 DEBUG           GST_PIPELINE
> ./grammar.y:884:_gst_parse_launch: got 1 elements and 0 links
> [ skip ]
> 0:00:00.178681232  4127  0x8428050 INFO      GST_PLUGIN_LOADING
> gstplugin.c:658:gst_plugin_load_file: plugin
> "/home/wl/AVIK/player/rtspsrc/src/.libs/libgstrtsp.so" loaded
> 0:00:00.178705080  4127  0x8428050 DEBUG     GST_PLUGIN_LOADING
> gstpluginfeature.c:114:gst_plugin_feature_load: loaded plugin rtsp
> 0:00:00.178723241  4127  0x8428050 INFO     GST_ELEMENT_FACTORY
> gstelementfactory.c:400:gst_element_factory_create: creating element
> "rtspsrc" named "source"
> 0:00:00.178745758  4127  0x8428050 DEBUG                default
> gstelement.c:268:gst_element_base_class_init: type GstRTSPSrc : factory
> 0x8558090
> 0:00:00.179068806  4127  0x8428050 DEBUG                GST_BUS
> gstbus.c:194:gst_bus_init:<GstBus@0x847e658> created
>
>


------------------------------------------------------------------------------
Download Intel&#174; Parallel Studio Eval
Try the new software tools for yourself. Speed compiling, find bugs
proactively, and fine-tune applications for parallel performance.
See why Intel Parallel Studio got high marks during beta.
http://p.sf.net/sfu/intel-sw-dev
_______________________________________________
gstreamer-devel mailing list
[hidden email]
https://lists.sourceforge.net/lists/listinfo/gstreamer-devel
Reply | Threaded
Open this post in threaded view
|

Re: How can I set properties of plugins, loaded by playbin2, launched with gst-launch?

wl2776
Administrator
Stefan Kost wrote
thant should not be a problem. gst-launch keeps pending set() actions until the
eleemnt with the name has been created.
That is.
My command line is

gst-launch --gst-debug=rtspsrc:5,GST_REGISTRY:0,*:4 --gst-debug-no-color --gst-plugin-path=`pwd`/.libs playbin2 uri=$location "source::debug"=true 2> playbin2.out 1>&2

And the file playbin2.out contains only two words ASSIGNMENT: one for uri and another for source::debug, and that assignment is unsuccessful.

Ok, will write a simple launcher in C.
Reply | Threaded
Open this post in threaded view
|

Re: How can I set properties of plugins, loaded by playbin2, launched with gst-launch?

Stefan Sauer
Am 15.03.2010 10:52, schrieb wl2776:

>
>
> Stefan Kost wrote:
>>
>> thant should not be a problem. gst-launch keeps pending set() actions
>> until the
>> eleemnt with the name has been created.
>>
>
> That is.
> My command line is
>
> gst-launch --gst-debug=rtspsrc:5,GST_REGISTRY:0,*:4 --gst-debug-no-color
> --gst-plugin-path=`pwd`/.libs playbin2 uri=$location "source::debug"=true 2>
> playbin2.out 1>&2
>
> And the file playbin2.out contains only two words ASSIGNMENT: one for uri
> and another for source::debug, and that assignment is unsuccessful.
>
> Ok, will write a simple launcher in C.

How come you belive that the instance is called "source", in contrary to
"rtspsrc0" as I suggested? Please run gst-launch -v playbin2 ... first and
figure out the instance name.

Stefan

------------------------------------------------------------------------------
Download Intel&#174; Parallel Studio Eval
Try the new software tools for yourself. Speed compiling, find bugs
proactively, and fine-tune applications for parallel performance.
See why Intel Parallel Studio got high marks during beta.
http://p.sf.net/sfu/intel-sw-dev
_______________________________________________
gstreamer-devel mailing list
[hidden email]
https://lists.sourceforge.net/lists/listinfo/gstreamer-devel
Reply | Threaded
Open this post in threaded view
|

Re: How can I set properties of plugins, loaded by playbin2, launched with gst-launch?

wl2776
Administrator
Stefan Kost wrote
How come you belive that the instance is called "source", in contrary to
"rtspsrc0" as I suggested? Please run gst-launch -v playbin2 ... first and
figure out the instance name.
Stefan
1. I've seen it in the debug messages. gst-launch or someone else told me that it has "created rtspsrc instance named "source"".
2. I wrote a simple launcher in C and added the call to GST_DEBUG_BIN_TO_DOT_FILE
player.png I've uploaded it to the Nabble, hope, the link will be attached to my message.
3. Here is the output of gst-launch -v:
$ gst-launch -v '--gst-debug=rtspsrc:5,GST_REGISTRY:0,*:2' --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 \
rtspsrc0::debug=true

0:00:00.028225169  3079  0x9675050 WARN      GST_PLUGIN_LOADING gstplugin.c:422:gst_plugin_register_func: plugin "/usr/lib/gstreamer-0.10/libgstladspa.so" failed to initialise

(gst-launch-0.10:3078): GLib-WARNING **: g_set_prgname() called multiple times
Setting pipeline to PAUSED ...
/GstPlayBin2:playbin20/GstURIDecodeBin:uridecodebin0: connection-speed = 0
/GstPlayBin2:playbin20/GstURIDecodeBin:uridecodebin0: download = FALSE
/GstPlayBin2:playbin20/GstURIDecodeBin:uridecodebin0: subtitle-encoding = NULL
/GstPlayBin2:playbin20/GstURIDecodeBin:uridecodebin0: uri = "rtsp://192.168.24.21/1286_bbc_world_news_2009_06_04_22_00_000.mpg"
/GstPlayBin2:playbin20/GstURIDecodeBin:uridecodebin0: buffer-duration = -1
/GstPlayBin2:playbin20/GstURIDecodeBin:uridecodebin0: buffer-size = -1
/GstPlayBin2:playbin20/GstURIDecodeBin:uridecodebin0: source = (GstRTSPSrc) source
/GstPlayBin2:playbin20/GstURIDecodeBin:uridecodebin0/GstRTSPSrc:source/GstRtpBin:rtpbin0: latency = 2000
/GstPlayBin2:playbin20/GstURIDecodeBin:uridecodebin0/GstRTSPSrc:source/GstUDPSrc:udpsrc0: timeout = 5000000
Pipeline is live and does not need PREROLL ...
Setting pipeline to PLAYING ...
/GstPlayBin2:playbin20/GstURIDecodeBin:uridecodebin0/GstRTSPSrc:source/GstRtpBin:rtpbin0/GstRtpSession:rtpsession0: ntp-ns-base = 3477717998439670000
/GstPlayBin2:playbin20/GstURIDecodeBin:uridecodebin0/GstRTSPSrc:source/GstUDPSrc:udpsrc0: timeout = 0
New clock: GstSystemClock
0:00:00.386537264  3078  0x97c3bd8 WARN         rtpjitterbuffer rtpjitterbuffer.c:198:calculate_skew: Clock rate changed from 4294967295 to 90000

Probably, something like a full path (/GstPlayBin2:playbin20/GstURIDecodeBin:uridecodebin0/GstRTSPSrc:source/) will do. Will try.
Reply | Threaded
Open this post in threaded view
|

Re: How can I set properties of plugins, loaded by playbin2, launched with gst-launch?

wl2776
Administrator
wl2776 wrote
Probably, something like a full path (/GstPlayBin2:playbin20/GstURIDecodeBin:uridecodebin0/GstRTSPSrc:source/) will do. Will try.
Tried several variants, no luck.

/GstPlayBin2:playbin20/GstURIDecodeBin:uridecodebin0/GstRTSPSrc:source/debug=true
/GstPlayBin2:playbin20/GstURIDecodeBin:uridecodebin0/GstRTSPSrc:source.debug=true
/GstPlayBin2:playbin20/GstURIDecodeBin:uridecodebin0/GstRTSPSrc:source::debug=true
"/GstPlayBin2:playbin20/GstURIDecodeBin:uridecodebin0/GstRTSPSrc:source:debug: true"

All of these caused the following message

0:00:00.033401327  3271  0x99c1050 WARN                 default ./grammar.y:832:_gst_parse_yyerror: Error during parsing: syntax error, unexpected $end, expecting LINK
Reply | Threaded
Open this post in threaded view
|

Re: How can I set properties of plugins, loaded by playbin2, launched with gst-launch?

Stefan Sauer
wl2776 wrote:

> wl2776 wrote:
>  
>> Probably, something like a full path
>> (/GstPlayBin2:playbin20/GstURIDecodeBin:uridecodebin0/GstRTSPSrc:source/)
>> will do. Will try.
>>
>>    
>
> Tried several variants, no luck.
>
> /GstPlayBin2:playbin20/GstURIDecodeBin:uridecodebin0/GstRTSPSrc:source/debug=true
> /GstPlayBin2:playbin20/GstURIDecodeBin:uridecodebin0/GstRTSPSrc:source.debug=true
> /GstPlayBin2:playbin20/GstURIDecodeBin:uridecodebin0/GstRTSPSrc:source::debug=true
> "/GstPlayBin2:playbin20/GstURIDecodeBin:uridecodebin0/GstRTSPSrc:source:debug:
> true"
>
> All of these caused the following message
>
> 0:00:00.033401327  3271  0x99c1050 WARN                 default
> ./grammar.y:832:_gst_parse_yyerror: Error during parsing: syntax error,
> unexpected $end, expecting LINK
>
>  
source::debug=true
is enough (please note '::' instead of ':').

Stefan

------------------------------------------------------------------------------
Download Intel&#174; Parallel Studio Eval
Try the new software tools for yourself. Speed compiling, find bugs
proactively, and fine-tune applications for parallel performance.
See why Intel Parallel Studio got high marks during beta.
http://p.sf.net/sfu/intel-sw-dev
_______________________________________________
gstreamer-devel mailing list
[hidden email]
https://lists.sourceforge.net/lists/listinfo/gstreamer-devel
Reply | Threaded
Open this post in threaded view
|

Re: How can I set properties of plugins, loaded by playbin2, launched with gst-launch?

wl2776
Administrator
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

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.
Reply | Threaded
Open this post in threaded view
|

Re: How can I set properties of plugins, loaded by playbin2, launched with gst-launch?

wl2776
Administrator
wl2776 wrote
Stefan Kost wrote
source::debug=true
is enough (please note '::' instead of ':').
Unfortunately, no.
I am using the GStreamer version from the Ubuntu repository. Will try the latest build from the WinBuilds SVN.
The version of the package gstreamer0.10-tools, containing gst-launch, is 0.10.25-2
Reply | Threaded
Open this post in threaded view
|

Re: How can I set properties of plugins, loaded by playbin2, launched with gst-launch?

wl2776
Administrator
wl2776 wrote
wl2776 wrote
Stefan Kost wrote
source::debug=true
is enough (please note '::' instead of ':').
Unfortunately, no.
I am using the GStreamer version from the Ubuntu repository. Will try the latest build from the WinBuilds SVN.
The version of the package gstreamer0.10-tools, containing gst-launch, is 0.10.25-2
gst-launch 0.10.28 also doesn't set this property.
Reply | Threaded
Open this post in threaded view
|

Re: How can I set properties of plugins, loaded by playbin2, launched with gst-launch?

Stefan Sauer
In reply to this post by wl2776
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.


------------------------------------------------------------------------------
Download Intel&#174; Parallel Studio Eval
Try the new software tools for yourself. Speed compiling, find bugs
proactively, and fine-tune applications for parallel performance.
See why Intel Parallel Studio got high marks during beta.
http://p.sf.net/sfu/intel-sw-dev
_______________________________________________
gstreamer-devel mailing list
[hidden email]
https://lists.sourceforge.net/lists/listinfo/gstreamer-devel
Reply | Threaded
Open this post in threaded view
|

Re: How can I set properties of plugins, loaded by playbin2, launched with gst-launch?

wl2776
Administrator
Stefan Kost wrote
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
Again, this doesn't work.

0:00:01.371530503 15176  0x9a86050 DEBUG           GST_PIPELINE parse.l:141:_gst_parse_yylex: flex: SPACE: [ ]
0:00:01.371545041 15176  0x9a86050 DEBUG           GST_PIPELINE parse.l:75:_gst_parse_yylex: flex: ASSIGNMENT: uri=rtsp://192.168.24.21/1286_bbc_world_news_2009_06_04_22_00_000.mpg
0:00:01.371576335 15176  0x9a86050 DEBUG               playbin2 gstplaybin2.c:1169:gst_play_bin_set_uri: set new uri to rtsp://192.168.24.21/1286_bbc_world_news_2009_06_04_22_00_000.mpg
0:00:01.371595802 15176  0x9a86050 DEBUG           GST_PIPELINE parse.l:141:_gst_parse_yylex: flex: SPACE: [ ]
0:00:01.371610994 15176  0x9a86050 DEBUG           GST_PIPELINE parse.l:75:_gst_parse_yylex: flex: ASSIGNMENT: uridecodebin0::source::debug=true
0:00:01.371633322 15176  0x9a86050 INFO                 default gstchildproxy.c:195:gst_child_proxy_lookup: no such object uridecodebin0

I also tried playbin20::uridecodebin0::debug=true with the same result.
From what I can see, the uridecodebin0 doesn't exist, when the command line is parsed, and this assignment is failed at that time, and is never being retried.
Reply | Threaded
Open this post in threaded view
|

Re: How can I set properties of plugins, loaded by playbin2, launched with gst-launch?

Stefan Sauer
wl2776 wrote:

> Stefan Kost wrote:
>  
>> 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
>>
>>    
> Again, this doesn't work.
>  

Indeed, you are right! I made a first attempt to fix it at,
https://bugzilla.gnome.org/show_bug.cgi?id=613215

but just realize that it is not enough. I'll keep working on it.

Stefan

> 0:00:01.371530503 15176  0x9a86050 DEBUG           GST_PIPELINE
> parse.l:141:_gst_parse_yylex: flex: SPACE: [ ]
> 0:00:01.371545041 15176  0x9a86050 DEBUG           GST_PIPELINE
> parse.l:75:_gst_parse_yylex: flex: ASSIGNMENT:
> uri=rtsp://192.168.24.21/1286_bbc_world_news_2009_06_04_22_00_000.mpg
> 0:00:01.371576335 15176  0x9a86050 DEBUG               playbin2
> gstplaybin2.c:1169:gst_play_bin_set_uri: set new uri to
> rtsp://192.168.24.21/1286_bbc_world_news_2009_06_04_22_00_000.mpg
> 0:00:01.371595802 15176  0x9a86050 DEBUG           GST_PIPELINE
> parse.l:141:_gst_parse_yylex: flex: SPACE: [ ]
> 0:00:01.371610994 15176  0x9a86050 DEBUG           GST_PIPELINE
> parse.l:75:_gst_parse_yylex: flex: ASSIGNMENT:
> uridecodebin0::source::debug=true
> 0:00:01.371633322 15176  0x9a86050 INFO                 default
> gstchildproxy.c:195:gst_child_proxy_lookup: no such object uridecodebin0
>
> I also tried playbin20::uridecodebin0::debug=true with the same result.
> >From what I can see, the uridecodebin0 doesn't exist, when the command line
> is parsed, and this assignment is failed at that time, and is never being
> retried.
>  


------------------------------------------------------------------------------
Download Intel&#174; Parallel Studio Eval
Try the new software tools for yourself. Speed compiling, find bugs
proactively, and fine-tune applications for parallel performance.
See why Intel Parallel Studio got high marks during beta.
http://p.sf.net/sfu/intel-sw-dev
_______________________________________________
gstreamer-devel mailing list
[hidden email]
https://lists.sourceforge.net/lists/listinfo/gstreamer-devel
Reply | Threaded
Open this post in threaded view
|

Re: How can I set properties of plugins, loaded by playbin2, launched with gst-launch?

Stefan Sauer
Stefan Kost wrote:

> wl2776 wrote:
>  
>> Stefan Kost wrote:
>>  
>>    
>>> 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
>>>
>>>    
>>>      
>> Again, this doesn't work.
>>  
>>    
>
> Indeed, you are right! I made a first attempt to fix it at,
> https://bugzilla.gnome.org/show_bug.cgi?id=613215
>
> but just realize that it is not enough. I'll keep working on it.
>  
And now with working patch. The whole implementation of the feature was
buggy :) I hope you can try and confirm.

Stefan

> Stefan
>
>  
>> 0:00:01.371530503 15176  0x9a86050 DEBUG           GST_PIPELINE
>> parse.l:141:_gst_parse_yylex: flex: SPACE: [ ]
>> 0:00:01.371545041 15176  0x9a86050 DEBUG           GST_PIPELINE
>> parse.l:75:_gst_parse_yylex: flex: ASSIGNMENT:
>> uri=rtsp://192.168.24.21/1286_bbc_world_news_2009_06_04_22_00_000.mpg
>> 0:00:01.371576335 15176  0x9a86050 DEBUG               playbin2
>> gstplaybin2.c:1169:gst_play_bin_set_uri: set new uri to
>> rtsp://192.168.24.21/1286_bbc_world_news_2009_06_04_22_00_000.mpg
>> 0:00:01.371595802 15176  0x9a86050 DEBUG           GST_PIPELINE
>> parse.l:141:_gst_parse_yylex: flex: SPACE: [ ]
>> 0:00:01.371610994 15176  0x9a86050 DEBUG           GST_PIPELINE
>> parse.l:75:_gst_parse_yylex: flex: ASSIGNMENT:
>> uridecodebin0::source::debug=true
>> 0:00:01.371633322 15176  0x9a86050 INFO                 default
>> gstchildproxy.c:195:gst_child_proxy_lookup: no such object uridecodebin0
>>
>> I also tried playbin20::uridecodebin0::debug=true with the same result.
>> >From what I can see, the uridecodebin0 doesn't exist, when the command line
>> is parsed, and this assignment is failed at that time, and is never being
>> retried.
>>  
>>    
>
>
> ------------------------------------------------------------------------------
> Download Intel&#174; Parallel Studio Eval
> Try the new software tools for yourself. Speed compiling, find bugs
> proactively, and fine-tune applications for parallel performance.
> See why Intel Parallel Studio got high marks during beta.
> http://p.sf.net/sfu/intel-sw-dev
> _______________________________________________
> gstreamer-devel mailing list
> [hidden email]
> https://lists.sourceforge.net/lists/listinfo/gstreamer-devel
>  


------------------------------------------------------------------------------
Download Intel&#174; Parallel Studio Eval
Try the new software tools for yourself. Speed compiling, find bugs
proactively, and fine-tune applications for parallel performance.
See why Intel Parallel Studio got high marks during beta.
http://p.sf.net/sfu/intel-sw-dev
_______________________________________________
gstreamer-devel mailing list
[hidden email]
https://lists.sourceforge.net/lists/listinfo/gstreamer-devel
Reply | Threaded
Open this post in threaded view
|

Re: How can I set properties of plugins, loaded by playbin2, launched with gst-launch?

wl2776
Administrator
Thank you.
I am using the versions from the ubuntu repositories in Linux and the OSSBuild (http://www.gstreamer-winbuild.ylatuya.es/doku.php?id=start) in Windows.

I will try the patch as soon as it will be available in either location.
Currently I am having troubles with OSSBuild. For some reason it crashes on my system.
Reply | Threaded
Open this post in threaded view
|

Re: How can I set properties of plugins, loaded by playbin2, launched with gst-launch?

wl2776
Administrator
In reply to this post by Stefan Sauer
Stefan Kost wrote
Stefan Kost wrote:
> wl2776 wrote:
>>> 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
>>>
>> Again, this doesn't work.
>>  
>>    
>
> Indeed, you are right! I made a first attempt to fix it at,
> https://bugzilla.gnome.org/show_bug.cgi?id=613215

And now with working patch. The whole implementation of the feature was
buggy :) I hope you can try and confirm.

Stefan
GStreamer 0.10.29
it works.