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

wl2776 wl2776 at gmail.com
Tue Mar 16 09:54:47 CET 2010



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
http://n4.nabble.com/file/n1594578/player.png 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.

-- 
View this message in context: http://n4.nabble.com/How-can-I-set-properties-of-plugins-loaded-by-playbin2-launched-with-gst-launch-tp1590465p1594578.html
Sent from the GStreamer-devel mailing list archive at Nabble.com.




More information about the gstreamer-devel mailing list