Created
April 29, 2022 12:24
-
-
Save gtitov/a593da1e8421ca29ec8ed86ca575425b to your computer and use it in GitHub Desktop.
Extract audio from mkv file with ffmpeg
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
| # ffmpeg -i sample.avi -q:a 0 -map a sample.mp3 | |
| # ./json2html.sh "Title" | |
| for file in *.mkv; do | |
| filename="${file%.*}" | |
| audiofile="${filename}.mp3" | |
| ffmpeg -i "$file" -q:a 0 -map a "$audiofile" | |
| echo "$audiofile" | |
| done | |
| read -p "Press enter to continue" |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment