[MPlayer-users] Frame count problem encoding non-interleaved AVI

Patrick Lynch patlynch at hailmail.net
Thu Mar 4 15:24:59 CET 2004


Hi

I have a raw AVI file sourced from a TV card on a windows box.
It is PAL, 768x576. I want to encode it to DIvX or something, so this windows 
user bloke can consider getting linux on his encoding slave PC

The file is 662MB, and it contains like 1500 frames. It runs at 25fps. So the 
time of it is like 60secs.
I had to find out frame count info using the avifile package, as mplayer 
doesnt give this info. ( That is until the movie is played)

Problem is:
When I play it with mplayer, indeed it plays 1500 frames.
But when using mencoder, I only get 765 frames, however I still get the whole 
clip. Only it runs 2 times faster.

Please help, I have tried -nobps, -ni and stuff no avail.
Only thing I can do is to set -fpi to 12.5 :/ when encoding, at least that way 
the clip is the full 60secs length, and the audio is in sync

Thanks and regards,
Patrick.




More information about the MPlayer-users mailing list