user11789: I have a .mov video with 24fps and 5.1 audio.
Is it possible change the framerate from 24 to 25 fps with no frame resampling (no frame duplication / removal - just new framerate interpretation) and keep the audio pitch the same?
Normally you do this by not resampling the frame data but setting the video flag from 24 to 25 fps however there is the need to adjust the audio so that it is shortened. Is it possible do it all in one ffmpeg command line or maybe in more than one and prepare a batch / bash file for that?
Also, is ffmpeg's audio processing capabilities professional quality or it is low quality compared to pro algorithms like Avid Pro Tools and Adobe Audition?
Note: This question is different from this one Convert video from 24 to 25 fps while keeping video and audio length and also correct audio pitch.
Here I want to know how to do the same thing but shortening the actual length of the video and adjust audio accordingly keeping the pitch in a professional way.

user1871: If your input stream has no B-pyramid i.e. B-frames used as references for other B-frames, and your ffmpeg build has librubberband linked then use the following commands:
#1 Extract video to raw stream
ffmpeg -i in.mkv -c copy in.h264

#2 Retime and process audio
ffmpeg -r 25 -i in.h264 -i in.mkv -map 0 -map 1:a -af rubberband=tempo=1.04166 -c:a pcm_s16le out.mkv

If your H264 stream does have reference B-frames then you'll have to use mp4box as an intermediary.
i.e. 
#2a Retime video
mp4box -add in.h264#fps=25 -new in25.mp4

#2b Process audio and add video
ffmpeg -i in25.mp4 -i in.mkv -map 0 -map 1:a -af rubberband=tempo=1.04166 -c:a pcm_s16le out.mkv


11789: <p>I have a .mov video with 24fps and 5.1 audio.</p>

<p>Is it possible change the framerate from 24 to 25 fps with no frame resampling (no frame duplication / removal - just new framerate interpretation) and keep the audio pitch the same?</p>

<p>Normally you do this by not resampling the frame data but setting the video flag from 24 to 25 fps however there is the need to adjust the audio so that it is shortened. Is it possible do it all in one ffmpeg command line or maybe in more than one and prepare a batch / bash file for that?</p>

<p>Also, is ffmpeg's audio processing capabilities professional quality or it is low quality compared to pro algorithms like Avid Pro Tools and Adobe Audition?</p>

<p><strong>Note:</strong> This question is different from this one <a href="https://video.stackexchange.com/questions/21725/convert-video-from-24-to-25-fps-while-keeping-video-and-audio-lenght-and-also-co?rq=1">Convert video from 24 to 25 fps while keeping video and audio length and also correct audio pitch</a>.</p>

<p>Here I want to know how to do the same thing but <strong>shortening the actual length of the video and adjust audio accordingly</strong> keeping the pitch in a professional way.</p>
 1871: <p>If your input stream has no B-pyramid i.e. B-frames used as references for other B-frames, and your ffmpeg build has librubberband linked then use the following commands:</p>

<p><strong>#1</strong> Extract video to raw stream</p>

<pre><code>ffmpeg -i in.mkv -c copy in.h264
</code></pre>

<p><strong>#2</strong> Retime and process audio</p>

<pre><code>ffmpeg -r 25 -i in.h264 -i in.mkv -map 0 -map 1:a -af rubberband=tempo=1.04166 -c:a pcm_s16le out.mkv
</code></pre>

<p>If your H264 stream does have reference B-frames then you'll have to use mp4box as an intermediary.</p>

<p>i.e. </p>

<p><strong>#2a</strong> Retime video</p>

<pre><code>mp4box -add in.h264#fps=25 -new in25.mp4
</code></pre>

<p><strong>#2b</strong> Process audio and add video</p>

<pre><code>ffmpeg -i in25.mp4 -i in.mkv -map 0 -map 1:a -af rubberband=tempo=1.04166 -c:a pcm_s16le out.mkv
</code></pre>
