[MPlayer-dev-eng] [LUSER]1.randomly pause problem 2. how to do  hardware overlay

douglas Neo douglasliu at linpus.com.tw
Mon Jul 14 03:45:48 CEST 2003


> First. This post belongs to mplayer-users. It is not even advanced users
> (users that have already read the manuals)
Hmm,In fact i'm a developer not a end-user   :)
Maybe I specified the questions too simple.

>
> douglasliu said:
> > Dear all:
> >
> > We'v got two questions:
> >
> > question 1: randomly pause during DVD playback
> >       CPU:Intel P4
> >       video card:ATI  Rage XL
> >       OS: Redhat 8.0
> > Random pause is obvious, every pause last for about half second when
> > image is  still (can't refresh by new).
> > After we opened DVD driver's DMA and enabled cache, the situation is
> > better.  But it still occure randomly (with same machine , ms window is
> > good to play  same DVD).
> > It puzzled us .  what mplayer's doing during the pause time? How to
> > resolve ?
>
> You need to add stream cache by e.g. mplayer -cache 32768 dvd://....
> As you have noticed it is reading problem. Mplayer is waiting kernel, that
> is waiting the DVD itself to get fresh data.
> There are more options you may play with hdparm.
As you know, we have enabled stream cache and DVD DMA, the problem was not 
due to reading.
We found that audio_out->get_delay() (in mplayer.c) return abnormal value 
randomly.  So just exchanged a audio card  and everything became fine. :)
We believe that A/V sync was disordered by bad audio card. 

>
> > question 2 : how to get hardware overlay
> >       video card : NVIDIA GForce4 MX440
> > does this card support hardware overlay?
> > if so , how to code programme?
> > I have no idea, any piece of word would be helpful
>
> Overlay is supported by XFree86 4.3.0 and Nvidia binnary drivers 43.63
> (previus versions may also support it)
> you need to add -vo xv option.
> Pleace send your next questions to mplayer-users.
> And first read the manual. There are people that are working hard to keep
> it up to date, and you siply ignore their work.
>
This question derived from a project also. You know, our task is to put some 
image button (such as play,pause, forward and backward ,etc). To do so, 
end-user can manipulate playing process by remote control.
As we'v not studied codes in detail. We need some tips how to overlay a image 
not some subtiles only.
Thanks!!

Next time, We'll send message more detaild so as to look more technical.  ^!^

Best Regards,
Douglas


> > thanks anyway
> >
> > Best Regards.
> > Douglas
> > July 10, 2003



More information about the MPlayer-dev-eng mailing list