user11789: With ffmpeg is possible to convert an input 24 fps video/audio to a 25 fps one while keeping the same exact duration, and also keeping as much as possible the original audio pitch ?
I was thinking about the -r option and also a sound filter but I don't know what to add to my command line:
ffmpeg -i input.mov -r 25 -c:v libx264 -crf 18 -c:a libfdk_aac -global_quality 3 output.mov


user525: Your command already achieves that. When specifying -r as an output option, ffmpeg will change the framerate of the video, duplicating or dropping frames as necessary to achieve the same overall duration. The audio stream will be processed independently, thus not affecting the pitch (since the overall duration is not changed) or sync (since the timestamps of both streams stay aligned).
-global_quality is not valid. For libfdk_aac you should use the -vbr option as mentioned in the AAC encoding guide.

11789: <p>With ffmpeg is possible to convert an input 24 fps video/audio to a 25 fps one while keeping the same exact duration, and also keeping as much as possible the original audio pitch ?</p>

<p>I was thinking about the -r option and also a sound filter but I don't know what to add to my command line:</p>

<pre><code>ffmpeg -i input.mov -r 25 -c:v libx264 -crf 18 -c:a libfdk_aac -global_quality 3 output.mov
</code></pre>
 525: <p>Your command already achieves that. When specifying <code>-r</code> as an output option, ffmpeg will change the framerate of the video, duplicating or dropping frames as necessary to achieve the same overall duration. The audio stream will be processed independently, thus not affecting the pitch (since the overall duration is not changed) or sync (since the timestamps of both streams stay aligned).</p>

<p><code>-global_quality</code> is not valid. For <code>libfdk_aac</code> you should use the <code>-vbr</code> option as mentioned in the <a href="http://trac.ffmpeg.org/wiki/Encode/AAC" rel="nofollow noreferrer">AAC encoding guide</a>.</p>
