[MPlayer-users] mpeg2video, frame rate

Andres Heinloo andres at gfz-potsdam.de
Wed Feb 4 11:51:51 CET 2004


Hello,

for some reason I haven't received any messages from mplayer-users since
January 9 even though I am subscribed to the list. Anyway, I've got a
problem again, so I am trying to re-subscribe.

The problem is that mpeg2video apparently does not set the frame rate in
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).


Thanks,

Andres.




More information about the MPlayer-users mailing list