Taking a chosen program (a + v) from multiprogram MPEG TS freezes

Andrey Utkin andrey.krieger.utkin at gmail.com
Thu Nov 7 08:40:19 PST 2013


2013/11/3 Yashil <yashil1 at yahoo.com>:
> Dear Andrey, Thank you for your great .ts example file.
> I am new to gstreamer and was unable to find out how you have been able to
> solve this problem and can select to play the desired program from this .ts
> file.

tsdemux element has "program-number" property.
Also it emits messages of type GST_MESSAGE_ELEMENT, which you can
parse using function gst_message_parse_mpegts_section() and get access
to PAT, PMT etc.

-- 
Andrey Utkin


More information about the gstreamer-devel mailing list