Created
January 1, 2021 17:27
-
-
Save ayosec/b884dec109b9f91d4f18d810be8c9443 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/bash | |
ffmpeg -ss 4:00:00 -i INPUT.webm -filter:a volume=0.5 half-volume.webm | |
ffmpeg -i INPUT.webm -t 4:00:00 -c copy start.webm | |
cat > files <<EOF | |
file 'start.webm' | |
file 'half-volume.webm' | |
EOF | |
ffmpeg -f concat -i files -c copy INPUT--half-volume-after-4H.webm |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment