[FFmpeg-devel] [RFC/PATCH] Pass PRIVATE_STREAM_2 MPEG-PS packets to caller
Reimar.Doeffinger at gmx.de
Mon Feb 25 22:53:21 CET 2013
On 25 Feb 2013, at 22:41, Richard <peper03 at yahoo.com> wrote:
> As far as my patch goes, it only affects packets with start code 0x1bf (private_stream_2), and only in MPEG program streams. The current behaviour is to filter these packets out completely. So at the moment, any application wanting/needing these packets is going to be disappointed.
Hm, I am afraid I don't know enough about how MPEG-PS works.
> As far as I know, CC subtitles (on a DVD at least) are carried in the video packets. I don't know where, exactly, but they're certainly not private_stream_2 packets.
Yes, FFmpeg returns them as part of the video stream, they are user data and have start code 0x1b2.
So forget what I said, I think I don't have a real opinion. I can imagine advantages either way.
More information about the ffmpeg-devel