[MPlayer-users] mpeg2video, frame rate

Andres Heinloo andres at gfz-potsdam.de
Wed Feb 4 18:07:40 CET 2004



On Wed, 4 Feb 2004, Andres Heinloo wrote:

> The problem is that mpeg2video apparently does not set the frame rate in
                                                             ^^^^^^^^^^
Sorry, I meant bitrate.

> the header, which confuses some software. What is the easiest way of
> filling this field in the header of m2v file? I cannot use, eg., mpeg2enc,
> because the source video has uneven framerate.
> 
> I would also appreciate any tipps for fixing the framerate (inserting
> duplicate frames or skipping frames where needed). I was trying this:
> 
> mencoder in_file.mpg -ofps 29.97 -ovc lavc -lavcopts vcodec=mpeg2video:vqscale=2:vhq -oac copy -of mpeg -o out_file.mpg
> 
> (followed by dumpvideo, dumpaudio, mplex).

I mean, is there a way to normalize the frame rate (insert/remove frames)  
without re-encoding the video? Is vqscale=2 sensible (I want the output to
be in size and quality as close to the input as possible)?


Thanks,

Andres.




More information about the MPlayer-users mailing list