Skip to content

Instantly share code, notes, and snippets.

@Philmist
Created September 13, 2022 08:35
Show Gist options
  • Save Philmist/5c2415a443121c6fc60127a7a50d81ce to your computer and use it in GitHub Desktop.
Save Philmist/5c2415a443121c6fc60127a7a50d81ce to your computer and use it in GitHub Desktop.
ffmpegで早回し動画をくっつける例
ffmpeg -ss 12:21 -to 12:36 -i $v -ss 12:36 -to 20:30 -i $v -ss 20:30 -to 20:53 -i $v -filter_complex "[1:v]setpts=PTS/10[spv];[1:a]atempo=10[spa];[0:v][0:a][spv][spa][2:v][2:a]concat=n=3:v=1:a=1[outv][outa]" -map "[outv]" -map "[outa]" -c:v h264_nvenc -b:v 10M -c:a aac twitter.mp4
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment