Playbin2 - TS file with multiple programs

dv dv at
Thu Mar 24 08:57:32 PDT 2011

On 03/24/2011 10:51 AM, Marlène Jacquier wrote:
> Hello,
> Using playbin2, is there a way to select a program number of a TS file 
> containing several programs?
> Regards
> _______________________________________________
> gstreamer-devel mailing list
> gstreamer-devel at
AFAIK not, but mpegtsdemux has a program_number property, which looks 
suitable for filtering. You could for example catch playbin2's 
element-added signal, and in your specified callback set the program 
number property of mpegtsdemux.

But beware, I have found TS support in GStreamer to be broken overall. 
Proper playback of TS sometimes works, sometimes it doesn't.
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <>

More information about the gstreamer-devel mailing list