Mailing List archive

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

[vdr] Re: STILL PICTURES solution



El jue, 12 de 06 de 2003 a las 14:33, Klaus Schmidinger escribió:
> Daniel Sáez Domingo wrote:
> > 
> > Hello Klaus,
> > 
> >         I have read about the problems with STILL PICTURES in VDR. Most of the
> > current DVDs have still pictures when displaying menus and obviously I
> > have experienced these problesm.
> > 
> > I have inspected the code of StillPicture function in dvbdevice.c and I
> > have been testing some options.
> > First, the safe_write function doesn't function in all cases.
> > Then I want the VIDEO_STILLPICTURE ioctl call to work.
> > After a hundred of tests I think that there is a problem related to some
> > buffer, because I think that Data has the correct data but it is not
> > displayed when it has to be displayed.
> > I have got some improvement simply adding usleep(250000) before
> > VIDEO_STILLPICTURE ioctl call. This has solved some of my problems but
> > not in every DVD. If a DVD has two join still frames (menu + submenu),
> > the menu is not displayed at the begining. When you press the ok button,
> > the menu screen is displayed instead of the submenu, and when you press
> > OK, the submenu screen appears and disappears inmediately.
> > 
> > Because of this I think there is a problem with buffers (I don't know
> > where) or perhaps with some thread because the problem is not always
> > present, but sometimes (random).
> > 
> > If you have some idea about these buffers, please, let me know because
> > this would improve DVD replaying very much. If you can do some review to
> > this StillPicture function I would thank you.
> 
> Your subject says something about a "solution" - but I fail to see
> where your message would provide one?! "Some improvement" by adding
> usleep(250000) IMHO doesn't really qualify as _solution_.
> 

Sorry about my optimism. I have got this horrible patch (usleep) by
chance after a lot of unsuccessfull tests and changes and it works well
with some of my DVD's (not with other) with VIDEO_STILLPICTURE ioctl
call . I have posted it trying to help in getting a solution.

I don't think the iFrame isn't extracted well, because it works
sometimes. I think this is more an inconsistency buffer problem.

Dani



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



Home | Main Index | Thread Index