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

Michael Niedermayer michaelni at gmx.at
Sun Mar 17 16:25:07 CET 2013


On Sun, Mar 17, 2013 at 10:22:34AM +0100, Richard wrote:
> On 17/03/13 10:01, Richard wrote:
> >On 17/03/13 01:46, Michael Niedermayer wrote:
> >>On Sun, Mar 17, 2013 at 12:16:23AM +0100, Richard wrote:
> >>>
> >>
> >>>  libavcodec/Makefile         |    1
> >>>  libavcodec/allcodecs.c      |    1
> >>>  libavcodec/avcodec.h        |    2
> >>>  libavcodec/codec_desc.c     |    6 ++
> >>>  libavcodec/dvd_nav_parser.c |  116
> >>>++++++++++++++++++++++++++++++++++++++++++++
> >>>  libavcodec/version.h        |    2
> >>>  libavformat/mpeg.c          |   94 +++++++++++++++++++++++++++++++----
> >>>  7 files changed, 209 insertions(+), 13 deletions(-)
> >>>0694f9365d66b9acabed118eb80d56fb6433a0cd
> >>>0001-Add-passing-DVD-navigation-packets-startcode-0x1bf-t.patch
> >>> From ef3b2e0758f8c1562413b3a2aff14572f8b7500a Mon Sep 17 00:00:00 2001
> >>>From: Richard <peper03 at yahoo.com>
> >>>Date: Sun, 17 Mar 2013 00:14:59 +0100
> >>>Subject: [PATCH] Add passing DVD navigation packets (startcode 0x1bf) to
> >>>  caller to allow better playback handling of DVDs.  The two
> >>>  types of packets (PCI and DSI) are passed untouched but
> >>>  combined by the new codec ID AV_CODEC_ID_DVD_NAV.  The
> >>>  first 980 bytes in the packet contain the PCI data.  The
> >>>  next 1018 are the DSI data.
> >>
> >>This breaks demuxing of sofdec:
> >>for example:
> >>http://samples.ffmpeg.org/game-formats/sfd/stl_ten_1_big.sfd
> >
> >*sigh*
> 
> *double sigh*
> 

>  libavcodec/Makefile         |    1 
>  libavcodec/allcodecs.c      |    1 
>  libavcodec/avcodec.h        |    2 
>  libavcodec/codec_desc.c     |    6 ++
>  libavcodec/dvd_nav_parser.c |  116 ++++++++++++++++++++++++++++++++++++++++++++
>  libavcodec/version.h        |    2 
>  libavformat/mpeg.c          |   95 +++++++++++++++++++++++++++++++-----
>  7 files changed, 210 insertions(+), 13 deletions(-)
> ce65b6ac4b97e7a822b8b554f0e4e2af32d62dac  0001-Add-passing-DVD-navigation-packets-startcode-0x1bf-t.patch
> From d195035ce13dfcfb7fe2427114e69afe89886d7d Mon Sep 17 00:00:00 2001
> From: Richard <peper03 at yahoo.com>
> Date: Sun, 17 Mar 2013 10:21:12 +0100
> Subject: [PATCH] Add passing DVD navigation packets (startcode 0x1bf) to
>  caller to allow better playback handling of DVDs.  The two
>  types of packets (PCI and DSI) are passed untouched but
>  combined by the new codec ID AV_CODEC_ID_DVD_NAV.  The
>  first 980 bytes in the packet contain the PCI data.  The
>  next 1018 are the DSI data.

applied

btw could the offsets in there be used for seeking more accurately?
using the avformat seeking API ?

thanks

[...]

-- 
Michael     GnuPG fingerprint: 9FF2128B147EF6730BADF133611EC787040B0FAB

I know you won't believe me, but the highest form of Human Excellence is
to question oneself and others. -- Socrates
-------------- 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/20130317/041e1ee7/attachment.asc>


More information about the ffmpeg-devel mailing list