Created
September 23, 2021 04:39
-
-
Save vitalfadeev/26fc6b48587b6e8d12509efc47ed65ba to your computer and use it in GitHub Desktop.
This file contains hidden or 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/bash | |
| # Remove start into from video. | |
| # Remove end titres from video. | |
| [ -e splitted ] || mkdir trimed | |
| for f in *.mp4 | |
| do | |
| echo $f | |
| ffmpeg \ | |
| -v quiet \ | |
| -y \ | |
| -i "$f" \ | |
| -vcodec copy \ | |
| -acodec copy \ | |
| -ss 00:01:55 \ | |
| -t 00:42:05 \ | |
| -sn \ | |
| "trimed/$f" | |
| done |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment