FFmpeg Advanced Editing
Complex FFmpeg commands for professional editing: change playback speed, crop for social media, overlay text/logos, and burn subtitles.
Change Playback Speed
Speed up video and audio by 1.5x without distortion.
ffmpeg -i input.mp4 -filter_complex "[0:v]setpts=PTS/1.5[v];[0:a]atempo=1.5[a]" -map "[v]" -map "[a]" output.mp4
Note:
setpts=PTS/1.5 speeds up video timestamps. atempo=1.5 speeds up audio while preserving pitch (pitch-correction).Change Video FPS (Keep Audio)
Change frame rate to 60fps without altering playback speed.
ffmpeg -i input.mp4 -filter:v fps=60 output.mp4
Note:Simply re-samples the video to 60 frames per second. Audio speed remains normal.
VIDEO API
Discover why Hunt is the preferred API provider for developers.