[Mplayer-cvslog] CVS: main mplayer.c,1.525,1.526

Arpi arpi at thot.banki.hu
Mon Jul 15 01:37:29 CEST 2002


Hi,

>  > I have tried the thing with unpause do action and pause again, but audio goes 
>  > out of sync, because it's paused so fast that audio can't play any samples. 
>  > If I resume playback a/v is resumed again, but this takes time and if many 
>  > actions are done in pause it will overflow the audio buffer.
> 
> Other players do this, so there has to be a way to achieve it ;-)
> 
> If seeking causes problems, seeking can unpause, but there are a lot
> of other things that should never mess with a/v sync (fullscreen,
> brightness, etc).  Being able to do this with the movie paused would
> still be an improvement.

It's probably a design issue, but none of these are possible.
brightness stuff: if done by the codec (dshow, divx4), needs re-decoding of
the same frame, you cannot do this unless you re-decode the whole stream
from nearest keyframe. if done by vo, may need redisplay of frame.
fullscreen sw: needs re-display of the frame, but as display is done by
codec,filter.vo-wrapper chain, it jumps back to the codec. especially for
cases, when codec uses draw_slice, and renders image by slices. so you
cannot avoid re-decoding in such cases.

i know that some players can handle it, but don't forget to compare their
video layer (filters, dr, speed) to mplayer...

this is the usual speed/stability vs. gui/easy-to-use/many-features problem
and don't forget that mplayer is movie (sit down and watch) player, not
media (click&play interactively) player. imho.


A'rpi / Astral & ESP-team

--
Developer of MPlayer, the Movie Player for Linux - http://www.MPlayerHQ.hu



More information about the MPlayer-cvslog mailing list