- This repository just keeps a short python's code that extract audio of any video. The video can be in any format (mp4, mov, mkv...) and the audio output is in MP3 and WAV only (I can upgrade this repo to another kinda output).
- Python 3.7 version or later;
- MoviePY library.
Installing Packages
- Open computer's terminal and tip these commands:
pip install moviepy
Running with Python
- Download the source code;
- Open cmd and go to Python Code's Folder;
- Tip:
python extractor.py
- Tip the video's path Example:
C:\Videos\music.mp4
- Choose a name to output audio (without the format extension). Example:
output_music
- Choose a format:
0 - MP3 (default)
1 - WAV
- Input Video: any format (mp4, mov, mvk...);
- Output Audio: mp3 and wav only;
- Output Audio's Path: the same of Python Code.
- If you know another audio format that is good, lemme know and Imma upgrade this repo!
Email: csfelix08@gmail.com
Linkedin: linkedin.com/in/csfelix/
Instagram: instagram.com/c0deplus/
Portfolio: CSFelix.io