[MPlayer-users] change the frame rate from mpeg2 30fps -> 25fps with mencoder ?

rcooley rcooley at spamcop.net
Sat Nov 29 03:35:06 CET 2003


On Fri, 28 Nov 2003 20:55:29 +0100
Peter Sobisch <petersob at gmx.net> wrote:

> Because I will have mpeg2 I took the newest version 1.0pre2 and tried
> following things:
> 
> mencoder -ofps 25 -of mpeg -ovc lavc -lavcopts vcodec=mpeg2video -oac
> copy clip.mpg -o clip2.mpg
> 
> and I'll get during encoding:
> 
> ...
> Unknown blPos:   3,2s     81f ( 0%)  25fps Trem:   0min   0mb 
> A-V:-0,006 [432:1411] 1 duplicate frame(s)!
> Unknown block type, possibly non-MPEG stream!					<-- what
> does it mean ? Pos:   4,2s    104f ( 0%)  22fps Trem:  60min 904mb 

> ...and so on...

'-of mpeg' isn't very...good... What you should do is just use a normal
AVI container, then dump the raw audio and video (withou
-dumpaudio/-dumpvideo) from the avi, and use tcmplex(or mplex) to mux
the two together into an MPEG file.  I use the process to create SVCDs,
so I know it works (with MPlayer1.0pre2).

One thing you'll need to know before you use '-dumpvideo' (from
http://mplayerhq.hu/pipermail/mplayer-users/2003-September/037029.html):

> You need to comment out the line containing "fwrite(&in_size,1,4,f)"
> in mplayer.c otherwise -dumpvideo won't produce a valid elementary
> stream for mplex - this is from Nico's patch sent to mplayer-dev-eng
> on 7/14 .



More information about the MPlayer-users mailing list