- python3x
- ffmpeg
sudo apt install python3 ffmpeg
cd Video-to-audio/
- Manually enter file(s) to convert
python3 vi2au.py -m <file1> <file2> ...
- Auto convert all files in current/specified directory
python3 vi2au.py -d
python3 vi2au.py -d <path> <path> ...
- Convert specified format, e.g. mp4, webm, mkv
python3 vi2au.py -f <format>
python3 vi2au.py -f <format> <format> ...
- Specify output directory (default = ~/Downloads)
python3 vi2au.py -o <path>
python3 vi2au.py -o <path> <path> ...
Example
python3 vi2au.py -m 'file1.mp4' 'file2.webm' '/video/file3.mkv' -o '/music'
python3 vi2au.py -d -o '/music'
python3 vi2au.py -d '/video' -o '/music'
python3 vi2au.py -d -f 'mp4' 'mkv'
- Convert multiple file(s).
- Convert specified format file(s)
- Convert file(s) in multiple directories.
- Seperate directory for audio files.
- Log file for error(s) or reporting.