[FFmpeg-devel] [WIP] DVD reader protocol

Michael Niedermayer michaelni at gmx.at
Tue Jan 24 05:13:53 CET 2012


On Mon, Jan 23, 2012 at 10:48:22PM +0100, Stefano Sabatini wrote:
> In data Monday 2012-01-23 12:20:49 +0100, Erik Van Grunderbeeck ha scritto:
> > I see the follow -up on patches still takes time, I see I submitted this one
> > 3 years ago :)
> 
> Great to find you still around :).
>  
> > There's a number of other changes that need to happen on this patch. I
> > haven't worked on it for quite some time, but could if there's interest (and
> > I find the time)
> > 
> > I did a quick read on the list archive on responses. In general:
> > 
> > 1) Yes, pts/dts can change and jump anywhere in a vob. It doesn't need to
> > start from 0 neither, and interleaved angle changes (and alternative scenes)
> > mean that you have to use the IFO file to read a DVD. Libdvd handles that.
> > 
> > 2) The code in ffplay/ffmpeg needs to handle new streams being found (and
> > possibly decoded). Example: subtitles in DVD often start several
> > seconds/minutes into the movie, and if not found by the dedect routines will
> > now never decode. Same with audio.
> > 
> > 3) In general, find_stream_info needs to be turned to a 0 buffer. Otherwise
> > resyncing with libdvd becomes a major headache.
> > 
> > 4) Stream resets need to be handled. Vob files often concatenate several
> > audio formats (aac 2 channel jumping to aac 5 channel  for example), usually
> > in the preview section of a DVD (the "preview" features on most DVD's). Some
> > with video (going from ntsc <-> pal and back)
> > 
> > 5) a/v sync needs to be more robust. Usually because audio can be delayed
> > several packets in a vob file.
> > 
> > 6) Things need to be signaled back to the dvd : wait and delay modes, menu
> > selections, etc. libdvd handles this, but the app needs to tell it with to
> > do.
> > 
> > 7) Streams need to be able to be cleared (or deleted/reset) when a new
> > vob/movie part is encountered.
> > 
> 
> > If someone wants to work on part of this, I can do some (or advise on how)
> > of it, but I don't have loads of times anymore these days. 
> 
> That would be highly appreciated, first of all I'd ask you to comment
> on your framework patches which I'm reattaching for convenience (and
> which clearly need to be cleaned up and rebased against the latest
> codebase), togheter with the dvdproto patch with a few more fixes
> (mostly cosmetics).
> 
> Current patch alone allows to play the first chapter in the DVD, then
> ffplay starts to suck all system memory so I need to kill it.

once either of you has a git branch that has this stuff working and
in good shape. tell me and ill merge it

[...]

-- 
Michael     GnuPG fingerprint: 9FF2128B147EF6730BADF133611EC787040B0FAB

Those who are too smart to engage in politics are punished by being
governed by those who are dumber. -- Plato 
-------------- 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/20120124/40eb993e/attachment.asc>


More information about the ffmpeg-devel mailing list