Playbin2 - TS file with multiple programs

classic Classic list List threaded Threaded
3 messages Options
Reply | Threaded
Open this post in threaded view
|

Playbin2 - TS file with multiple programs

Marlène Jacquier
Hello,

Using playbin2, is there a way to select a program number of a TS file containing several programs?

Regards
_______________________________________________
gstreamer-devel mailing list
[hidden email]
http://lists.freedesktop.org/mailman/listinfo/gstreamer-devel
Reply | Threaded
Open this post in threaded view
|

Re: Playbin2 - TS file with multiple programs

Carlos Rafael Giani
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 [hidden email] 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.

_______________________________________________
gstreamer-devel mailing list
[hidden email]
http://lists.freedesktop.org/mailman/listinfo/gstreamer-devel
Reply | Threaded
Open this post in threaded view
|

Re: Playbin2 - TS file with multiple programs

ak.ashwini
Hello,
 
I am also playing TS files, using playbin2. But I need to get the section data from TS file, which I know will be available from "mpegtsparse" element.
 
Is there anyway to specify that which all elements should be added to the pipeline when using playbin2?
 
Ashwini

On Thu, Mar 24, 2011 at 9:27 PM, dv <[hidden email]> wrote:
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 [hidden email] 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.

_______________________________________________
gstreamer-devel mailing list
[hidden email]
http://lists.freedesktop.org/mailman/listinfo/gstreamer-devel



_______________________________________________
gstreamer-devel mailing list
[hidden email]
http://lists.freedesktop.org/mailman/listinfo/gstreamer-devel