In data venerd́ 29 maggio 2009 17:01:34, MailingList SVR ha scritto:
: > Hi all,
>
> If i use gst-lauch I have the -v options that print caps to the console, I need something similar from my python program,
>
> my pipeline is built with gst_parse_lauch, so I have something similar to this:
>
> pipeline=gst.parse_launch(.....)
>
> how can I get caps for this pipeline?
>
>
> thanks
> Nicola
>


Ok solved:


for i in pipeline.elements():
for j in i.src_pads():
print dir(j)
print j.get_caps()