Fetching info for every PID in MPEG-TS

Alexander Yanin sashayanin at gmail.com
Thu Dec 13 13:26:20 UTC 2018


Hi!

I have an app which should provide an ability for a user to select a
TV channel to decode. Stream format is MPEG-2 TS. I want to show some
basic information about each channel present is a received stream,
without any decoding involved.  (for video - resolution, frame rate,
aspect ratio, etc; for audio - sample rate, channels num, etc)
What is the most efficient pipeline to fetch info about every
elementary stream in a transport stream? How can it look like? I also
don't have any sense about received stream's structure, so a list of
available elementary streams should be fetched to.
I think I should use elements like tsparse, tsdemux and parsebin, but
I don't have enough knowledge about how to use them together.

Alex


More information about the gstreamer-devel mailing list