Mailing List archive

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

[vdr] Re: Playing DVD ?



On Wednesday 27 August 2003 14:46, Dr. Werner Fink wrote:
> On Wed, Aug 27, 2003 at 02:16:53PM +0200, Andreas Schultz wrote:
> > On Wednesday 27 August 2003 11:46, Dr. Werner Fink wrote:
> > > IMHO this could be a design problem of the player routine within
> > > the DVD plugin.  It seems to me that it do not use a bigger
> > > ringbuffer with a seperate thread for filling it in background
> > > if the video device is busy.
> >
> > That would help, but then the delay between the DVD state machine and the
> > final display gets larger, causing syncronisation problems with
> > menushighlights and subtitles.
> > The solution for that advocated by libdvdnav (as i understand it) is to
> > use your own fifo's for video/audio and navigation packets. VDR's
> > ringbuffers are IMHO not very suitable for that and the required changes
> > to the plugin are not trivial.
>
> I see ... just an idea: is there a way to use something like queues
> for menus and subtitles.  That means that at reading time a ringbuffer
> with two parallel queues could be used, the first queue for
> Audio, video, and AC3/DTS/PCM  and the second queue with the
> corresponding menus and subtitles or NULL if the current video
> sequence does not have such things.

Yes, that is the basic idea. The two big remaining questions are:
1. how does this affect syncronisation to the DVD state-machine
2. how to handle libdvd's cache blocks

I have no idea about #1 and want to avoid copying data blocks around for #2.

Andreas


-- 
Info:
To unsubscribe send a mail to ecartis@linuxtv.org with "unsubscribe vdr" as subject.



Home | Main Index | Thread Index