[FFmpeg-devel] [RFC/PATCH] Pass PRIVATE_STREAM_2 MPEG-PS packets to caller

Michael Niedermayer michaelni at gmx.at
Sun Feb 24 21:06:43 CET 2013

On Sun, Feb 24, 2013 at 08:31:35PM +0100, Richard wrote:
> On 18/02/13 07:24, Richard wrote:
> >Hi,
> >
> >In order to improve DVD playback, I need the DVD NAV packets in-sync
> >with the other audio/video/subtitle packets.  The information is stored
> >in 'PRIVATE_STREAM_2' MPEG-PS packets (startcode 0x1bf), which are
> >currently filtered out.
> >
> >The attached patch adds a new codec ID 'AV_CODEC_ID_PRIVATE_STREAM_2' to
> >identify these packets.
> >
> >The contents of these packets is clear for DVDs but looking at the
> >existing code, it appears that Dreamcast videos (Sofdec) also use this
> >startcode but for other purposes, so I'm not sure it's feasible to
> >create any sort of decoder for these packets.  As it is, the patch
> >simply returns the contents of the packet unchanged.  It is up to the
> >calling application to process the contents.
> >
> >All comments welcome.
> Any comments on this?

do you have an actual application that uses this ? that is has the
output been tested somehow ?

Michael     GnuPG fingerprint: 9FF2128B147EF6730BADF133611EC787040B0FAB

Let us carefully observe those good qualities wherein our enemies excel us
and endeavor to excel them, by avoiding what is faulty, and imitating what
is excellent in them. -- Plutarch
-------------- next part --------------
A non-text attachment was scrubbed...
Name: not available
Type: application/pgp-signature
Size: 198 bytes
Desc: Digital signature
URL: <http://ffmpeg.org/pipermail/ffmpeg-devel/attachments/20130224/45ec4b77/attachment.asc>

More information about the ffmpeg-devel mailing list