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

Michael Niedermayer michaelni at gmx.at
Sat Jul 28 02:49:31 CEST 2012


On Thu, Jul 26, 2012 at 12:59:59PM +0200, Peter B. wrote:
> 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).

i cant reproduce this
here:
Stream #0:0, 1, 100/2997: Video: ffv1 (FFV1 / 0x31564646), yuv420p, 720x576, 100/2997, SAR 16:15 DAR 4:3, 29.97 tbr, 29.97 tbn, 29.97 tbc
changes to:
Stream #0:0, 1, 1001/30000: Video: ffv1 (FFV1 / 0x31564646), yuv420p, 720x576, 1001/30000, SAR 16:15 DAR 4:3, 29.97 tbr, 29.97 tbn, 29.97 tbc

[...]
-- 
Michael     GnuPG fingerprint: 9FF2128B147EF6730BADF133611EC787040B0FAB

The real ebay dictionary, page 1
"Used only once"    - "Some unspecified defect prevented a second use"
"In good condition" - "Can be repaird by experienced expert"
"As is" - "You wouldnt want it even if you were payed for it, if you knew ..."
-------------- next part --------------
A non-text attachment was scrubbed...
Name: not available
Type: application/pgp-signature
Size: 198 bytes
Desc: Digital signature
URL: <http://ffmpeg.org/pipermail/ffmpeg-user/attachments/20120728/753072d9/attachment.asc>


More information about the ffmpeg-user mailing list