[MPlayer-users] avi 2 mpeg conversions

Jukka Tastula jukka.tastula at kotinet.com
Fri Oct 18 20:26:02 CEST 2002


On Friday 18 October 2002 09:35, GD Lewis wrote:

> mencoder -cache 160 -ovc divx4 -divx4opts br=16000:q=5 -oac pcm -ofps
> 24.00 -o "$NEWFILE" "$FILE"

This is ugly. Just use -ovc copy instead and you'll keep the original quality.

> Now, if I try to convert this file to either an mpeg or (S)VCD bin/cue,
> I get perfect sound, but the video runs too fast.

Thats because mplayer optimizes ie "drops" duplicate frames instead of wasting 
cpu/whatever by drawing them many times. When you're watching something you 
definitely want this.

> The problem seems to be with the yuv4mpeg process, the duplicate frames
> are dropped.  I verified this by playing the resultant mpv file and saw
> that it ran fast.

There was a "patch" to this problem posted some days ago. It destroys sound 
sync when watching "normally" but you don't need that when transcoding so I 
suggest you apply that patch and use the resulting mplayer binary only for 
mencvcd and keep the unpatched one for watching videos.

The patch is one line so I included usable (I hope) one. 
That html archive seems to add some crap in it, original can be found in
http://mplayerhq.hu/pipermail/mplayer-users/2002-October/021742.html

A'rpi suggested using -noskip -mc 0 .. but -noskip is a mencoder only option 
so I can't understand how it could help...
-------------- next part --------------
A non-text attachment was scrubbed...
Name: mplayer-noskip.diff
Type: text/x-diff
Size: 354 bytes
Desc: not available
URL: <http://lists.mplayerhq.hu/pipermail/mplayer-users/attachments/20021018/9519abf2/attachment.diff>


More information about the MPlayer-users mailing list