Last active
June 15, 2021 15:42
-
-
Save oishimilk/a0437cd73427639d333b71e3a4f7679e to your computer and use it in GitHub Desktop.
動画を繋げるやつ
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
#!/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