Skip to content

Faizanf33/Video-to-audio

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

34 Commits
 
 
 
 
 
 
 
 
 
 

Repository files navigation

Video-to-audio

Convert video file(s) to audio


Requirements:

  • python3x
  • ffmpeg

Install requirements using terminal:

sudo apt install python3 ffmpeg

Usage:

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'

Includes:

  • 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.

About

Convert video to audio(mp3)

Topics

Resources

Security policy

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published

Languages