[gst-devel] Python bindings bug?
Mailing List SVR
lists at svrinformatica.it
Thu Feb 25 17:39:18 CET 2010
Hi
I lauch a pipeline from cli and in verbose mode I get the following output:
/GstPipeline:pipeline0/GstRtpMP4VPay:rtpmp4vpay0.GstPad:src: caps =
application/x-rtp, media=(string)video, clock-rate=(int)90000, encoding-
name=(string)MP4V-ES, profile-level-id=(string)3,
config=(string)000001b003000001b509000001000000012000c4f8305d8ba9851604241463000001b2200001010201,
payload=(int)96, ssrc=(guint)1719703035, clock-base=(guint)3228674565, seqnum-
base=(guint)57615
I use the same pipeline in my python code and it works, but when I try to get
the caps I have the following:
In [276]: for i in pipeline.elements():
if 'rtpmp4vpay' in str(i.get_name()):
sink=i
.....:
In [279]: sink
Out[279]: <__main__.GstRtpMP4VPay object (rtpmp4vpay1) at 0x26b1230>
In [280]: for j in sink.src_pads():print str(j.get_caps())
.....:
application/x-rtp, media=(string)video, payload=(int)[ 96, 127 ], clock-
rate=(int)[ 1, 2147483647 ], encoding-name=(string)MP4V-ES
these returned caps are the allowed caps and not the actual caps, something
wrong in my code or a python binding bug?
thanks
Nicola
More information about the gstreamer-devel
mailing list