Skip to content

Instantly share code, notes, and snippets.

Created Apr 19, 2020
What would you like to do?
FFMPEG complex Video Trim
# cut out parts of a video by splitting it into parts delineated by seconds
# then combining them to create a single video
# example splits into 4 and then combines.
ffmpeg -i input-video.ext -filter_complex "
[v1][a1][v2][a2][v3][a3][v4][a4] concat=n=4:v=1:a=1[v][a]" -map "[v]" -map "[a]" output-video.ext
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment