Created
October 22, 2017 09:58
-
-
Save Stefan-Code/89367dad6de1d2e04e9fc90ef7acf3b8 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
#removes first audio stream without transcoding | |
ffmpeg -i file.mp4 -map 0:0 -map 0:2 -acodec copy -vcodec copy new_file.mp4 | |
#!/bin/bash | |
for name in *.mkv; do | |
ffmpeg -i "$name" -map 0:0 -map 0:2 -acodec copy -vcodec copy "converted/$name" | |
done |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment