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

Tobias Diedrich ranma at gmx.at
Sat Nov 29 16:07:20 CET 2003


Peter Sobisch wrote:

> mencoder -ofps 25 -of mpeg -ovc lavc -lavcopts vcodec=mpeg2video -oac copy clip.mpg -o clip2.mpg

> 1 duplicate frame(s)!
> Unknown block type, possibly non-MPEG stream!		<-- what does it mean ?
Are you sure the source is 30fps?
It should only drop and not duplicate frames then.

Anyway, frame duplicating does not work well with mpeg.  You can work
around that by first encoding to an avi with the new frame rate,
creating a stream.yuv pipe, playing the avi with mplayer -vo yuv4mpeg
and then using mencoder to encode the video.

-- 
Tobias						PGP: http://9ac7e0bc.2ya.com
This mail is made of 100% recycled bits.



More information about the MPlayer-users mailing list