Skip to content

Instantly share code, notes, and snippets.

@X-Raym
Created December 10, 2023 11:42
Show Gist options
  • Save X-Raym/b03860ad0cca341140eedf9be8d0629c to your computer and use it in GitHub Desktop.
Save X-Raym/b03860ad0cca341140eedf9be8d0629c to your computer and use it in GitHub Desktop.
Multiply a video rate by x4 and pitch audio up, lossless with FFPMEG
With Pitch Change, via audio Resampling
C:\Users\USER>C:\Users\USER\AppData\Roaming\REAPER\UserPlugins\ffmpeg.exe -i "E:\Bureau\PXL_20231209_213533058.mp4" -filter_complex "[0:v]setpts=0.25*PTS[v];[0:a]asetrate=192000[a]" -ar 48000 -map "[v]" -map "[a]" "E:\Bureau\PXL_20231209_213533058_x4.mp4"
Without Pitch Change
C:\Users\USER>C:\Users\USER\AppData\Roaming\REAPER\UserPlugins\ffmpeg.exe -i "E:\Bureau\PXL_20231209_215801374.mp4" -filter_complex "[0:v]setpts=0.25*PTS[v];[0:a]atempo=4.0[a]" -map "[v]" -map "[a]" "E:\Bureau\PXL_20231209_215801374_x4.mp4"
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment