Created
April 1, 2021 11:20
-
-
Save carlosveucv/aab4f695373965deed4334f6b40e50b1 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 | |
for file in *.MP4; do | |
ffmpeg -i "$file" -an -c:v copy "${file%.MP4}_noaudio.MP4" | |
rm "$file" | |
done | |
for file in *.mp4; do | |
ffmpeg -i "$file" -an -c:v copy "${file%.mp4}_noaudio.MP4" | |
rm "$file" | |
done |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
You can execute this script to remove the audio from any video (.mp4 or .MP4) inside a folder.