Playbin2 - TS file with multiple programs

dv dv at pseudoterminal.org
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 lists.freedesktop.org
> http://lists.freedesktop.org/mailman/listinfo/gstreamer-devel
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: <http://lists.freedesktop.org/archives/gstreamer-devel/attachments/20110324/14614f00/attachment.htm>


More information about the gstreamer-devel mailing list