decodebin - program number

Duchassin Frédéric duchassin at
Thu Aug 24 13:54:41 UTC 2017


I would like to play a TS using gstreamer. The TS contains several programs. In order to be more simple, I use decodebin to autoselect the right audio+ video parser/decoder.
So I would like to change the program-number of tsdemux element.
In order to do that is use an "element-added" callback of decodebin; I check if the created element is tsdemux and if yes I can change the program number.
It's working but only at the beginning when the pipeline is build.
Do you know if it's possible to change the tsdemux program-number property while playing ? (my first try gives bad results)

Salutations / Best Regards

Frédéric DUCHASSIN - Ingénieur R&D / R&D Engineer
SEFRAM Instruments SAS
Tel : +33-4-77-59-44-11<>
[Description : logo-SEFRAM-new-officiel-small1]

-------------- next part --------------
An HTML attachment was scrubbed...
URL: <>
-------------- next part --------------
A non-text attachment was scrubbed...
Name: image001.jpg
Type: image/jpeg
Size: 2002 bytes
Desc: image001.jpg
URL: <>

More information about the gstreamer-devel mailing list