[MPlayer-users] will mplayer do a 3:2 pulldown on 24 fps video when ofps=29.97?

mplayer at interlinx.bc.ca mplayer at interlinx.bc.ca
Fri Feb 21 22:57:59 CET 2003


On Fri, Feb 21, 2003 at 11:15:21AM -0500, D Richard Felker III wrote:
> 
> Yes, and because your -vo sucks. With a vo that syncs to vertical
> retrace,

Perhaps we are not talking about the same thing.  But I suspect we
are.  I am saying that dfbmga does (or rather can -- I dunno if it's
in the official mplayer version of dfbmga or not) sync to vertical
retrace.  i.e. vo_dfbmga.c on my working mplayer here does a:

     vo_flags |= 0x100;

in it's preinit().  And mplayer.c does this:

//============================== SLEEP: ===================================

time_frame/=playback_speed;

// flag 256 means: libvo driver does its timing (dvb card)
if(time_frame>0.001 && !(vo_flags&256)){

#ifdef HAVE_RTC
    if(rtc_fd>=0){
...
    } else
#endif
    {
    // -------- USLEEP + SOFTSLEEP -----------
...
    }

}

If that's not what you mean by a vo driver syncing to vertical
retrace, what do you mean?

> you'll at least see the extra frame for one refresh period.

But if mplayer is only producing 4 frames where it should be producing
5 (3 reguarlar "progressive" frames plus two interlaced/telecined
frames), then only 4 will display, no?

> If you're using DXR3, I would imagine you'd get nice smooth perfect
> 29.97 fps output.

I am testing the 3:2 pulldown by using "-fps 1" on my workstation in
an Xvideo window and counting the number of good looking frames vs.
interlaced frames and it's 3 normal 2then 1 interlaced then 3 then
1...  

> Actually I hate telecine, so the main
> use for me is to make telecined files for testing -vop detc. :)

:-)

> Yes, it would be nice if it worked during playback with all vo's, but
> for now that's a limitation of mplayer.

Right.

> No. If you increase the framerate of your video from 23.976 to 29.97
> fps while adding 20% more frames, the total length of the movie does
> not change at all, does it?? So why would audio be affected?

You are right of course.  I had a brain fart and was thinking audio
smaples were related to frames (i.e. 1 audio sample for 1 frame), not
time slices.  Of course 30 minutes of audio is 30 minutes of audio no
matter how many slices you put it into.  I will have to go back and do
some testing again, where I was seeing serious a/v sync drift.

b.

-- 
Brian J. Murrell
-------------- next part --------------
A non-text attachment was scrubbed...
Name: not available
Type: application/pgp-signature
Size: 189 bytes
Desc: not available
URL: <http://lists.mplayerhq.hu/pipermail/mplayer-users/attachments/20030221/df949baf/attachment.pgp>


More information about the MPlayer-users mailing list