How to play ts stream with specified pid

lessonZhang 176237766 at qq.com
Wed Aug 31 08:59:13 UTC 2016


Hi all,

I am working on a feature that play specified program in one ts stream with
relevant video pid and audio pid,
eg, there is a ts file named test.ts, it has following program info which
get from pat&pmt,

program1, video pid=201, audio pid=401,
program2, video pid=202, audio pid=402,
program3, video pid=203, audio pid=403,

it can play out the stream with cmd
#gst-launch-0.10 filesrc location=test.ts ! decodebin ! ffmpegcolorspace !
videoscale ! ximagesink sync=false

but i don't know how to play the specified program, or play with specified
pid, can somebody help me?

Kind regards!
lesson




--
View this message in context: http://gstreamer-devel.966125.n4.nabble.com/How-to-play-ts-stream-with-specified-pid-tp4679308.html
Sent from the GStreamer-devel mailing list archive at Nabble.com.


More information about the gstreamer-devel mailing list