Skip to content

Instantly share code, notes, and snippets.

@oishimilk
Last active June 15, 2021 15:42
Show Gist options
  • Save oishimilk/a0437cd73427639d333b71e3a4f7679e to your computer and use it in GitHub Desktop.
Save oishimilk/a0437cd73427639d333b71e3a4f7679e to your computer and use it in GitHub Desktop.
動画を繋げるやつ
#!/bin/sh
for f in uma*.mp4; do echo file $f; done | ffmpeg -protocol_whitelist file,pipe -f concat -safe 0 -r 60 -i - -vcodec h264_nvenc test_.mp4
mv progress.mp4 progress.mp4.old
ffmpeg -i test_.mp4 -stream_loop -1 -i 苦行.wav -vcodec copy -shortest progress.mp4
rm test_.mp4
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment