[FFmpeg-user] How can I remux a video from 2997/100 to 30000/1001 fps?

Peter B. pb at das-werkstatt.com
Thu Jul 26 12:59:59 CEST 2012


I just ran into a really weird issue with "born digital" video material:

I've tried to transcode a FFv1/PCM lossless file (720x576 @29.970fps)  
to a DVD conform MPEG, but mencoder threw the following error message:

"MPEG1/2 does not support 2997/100 fps"

If I tell mencoder to use "-ofps 30000/1001" everything works fine.


Now, my question is:
Can I use ffmpeg to "clean" my original file to have the fps stored  
"correctly"?

I've tried this:
"$ ffmpeg -i input.avi -r 30000/1001 -acodec copy -vcodec copy output.avi"

but the resulting file still had the "wrong" fps (2997/100).


Thank you very much in advance,
Pb






More information about the ffmpeg-user mailing list