decodebin - program number

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


Hello,

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
http://www.sefram.fr<http://www.sefram.fr/>
[Description : logo-SEFRAM-new-officiel-small1]

-------------- next part --------------
An HTML attachment was scrubbed...
URL: <https://lists.freedesktop.org/archives/gstreamer-devel/attachments/20170824/eef3d3b1/attachment.html>
-------------- next part --------------
A non-text attachment was scrubbed...
Name: image001.jpg
Type: image/jpeg
Size: 2002 bytes
Desc: image001.jpg
URL: <https://lists.freedesktop.org/archives/gstreamer-devel/attachments/20170824/eef3d3b1/attachment.jpg>


More information about the gstreamer-devel mailing list