Last active
October 20, 2015 17:32
-
-
Save smilingkylan/213977934c038db71bbf 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
//purpose of this file is to loop through a batch of MP4 files and convert to flac filetype in Ubuntu command line | |
for f in av-files/*.mp4; | |
do avconv -i "$f" "${f%.mp4}.wav"; | |
done; | |
//another version | |
for f in *.mp4; | |
do avconv -i "$f" "${f%.mp4}.wav"; | |
done; | |
//one audio channel | |
for f in *.mp4; | |
do avconv -i "$f" -ac 1 "${f%.mp4}.wav" | y; | |
done; | |
//to reduce file size | |
avconv -i "CRS-IIDD.mp4" -ac 1 "CRS-IIDD.wav"; | |
//to split up a long wav file | |
avconv -i CMP1107-018.wav -vcodec copy -acodec copy -ss 00:00:00 -t 00:07:00 CMP1107-018a.wav / | |
avconv -i CMP1107-018.wav -vcodec copy -acodec copy -ss 00:07:00 -t 00:17:00 CMP1107-018b.wav |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment