i haven't found, after a lot of searching, a simple way to change a 23.976fps mov file to a 24fps mov file using ffmpeg. i'm using linux and sometimes windows, btw. the -vf and -r options have been suggested but require a re-encode. i just want to copy the frames from the mov container (it's prores, btw) to a new container that plays at the new rate. i don't want to interpolate or drop frames, just play the same material faster. this used to be fast and easy with apple's cinema tools but those days are long gone.
the closest idea i've been able to come up with is to try to extract the raw or elementary material from the mov and then put it into a new mov container, defining that new container as 24fps in the process. would that work? what would that command look like?
thanks for any tips,
+ Reply to Thread
Results 1 to 8 of 8
Someone else will probably give you a better answer. But I was able to remux to AVI at 24 fps, then back to MOV with:
ffmpeg -i input.mov -codec copy -r 24.00 temp.avi ffmpeg -i temp.avi -codec copy new.mov
from what i understand, the -r option causes a re-encode. also, the -copy option can't be used with a rate change. that's why i was wondering if i could just extract the mov contents, then re-wrap them into a new mov container that would be defined as having the new rate. same number of steps as you describe but , hopefully, no re-encoding.
Last edited by BabaG; 29th Jan 2020 at 17:51.
Going from 23.976 to 24, you would expect to need to also change audio to avoid sync loss.
Some might slow down & resample, but most pro editing tools started with 24, pulled down to 23.976, TC'd to 29.97, edited, conformed, then IVTC'd back to 23.976, then pulled back up to 24.
With that in mind, audio should have been 48kHz sampling to start, pulled down to 47.952, edited, conformed, then pulled back up to 48. So if the audio is 47.952, you know what to do. If it's 48, you could raise it to 48.048kHz.
Similar things would happen with 44.1kHz audio, though that would not have been the choice of a (good) pro sound engineer.
I thought that was a pretty good answer, @jagabo, but maybe not. A rate change of this sort is really just a metadata change.
thanks gdgsdg123 and all. i'd be curious how the hack works on a long file, like a couple of hours. any verification for that? it keeps the same number of frames, unaltered?
It works even if you use mkv container instead of avi.
And I can verify it works on a 2 hr plus file.
Had a few videos encoded with Handbrake with pseudo vfr, even though mediainfo reported cfr.