Mailing List archive
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
[vdr] Re: Playing DVD ?
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.
Such a double queued ringbuffer (which have to be designed first:)
would also an option for the cutter thread in VDR to hold Audio/AC3
in sync with Video even over CutOut/CutIn marks came across.
Werner
--
Info:
To unsubscribe send a mail to ecartis@linuxtv.org with "unsubscribe vdr" as subject.
Home |
Main Index |
Thread Index