Skip to content

🐍 Did you ever want to extract audio of a music to listen it in your cellphone later? Well, I was, and this repo is the result!! 🐍 (πŸ”‘ KeyWords: python, audio, video, moviepy, audio-extractor πŸ”‘)

Notifications You must be signed in to change notification settings

CSFelix/PYTHON-MOVIEPY-EXTRACT-AUDIO-FROM-VIDEO

Folders and files

NameName
Last commit message
Last commit date

Latest commit

Β 

History

10 Commits
Β 
Β 
Β 
Β 
Β 
Β 

Repository files navigation

🌟 Extract Audio from Video 🌟


❓ What's it? ❓

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

βš’οΈ Tools βš’οΈ

  • Python 3.7 version or later;
  • MoviePY library.

βš™οΈ Run βš™οΈ

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

πŸ“ Notes πŸ“

  • Input Video: any format (mp4, mov, mvk...);
  • Output Audio: mp3 and wav only;
  • Output Audio's Path: the same of Python Code.

🎁 Bonus 🎁

  • If you know another audio format that is good, lemme know and Imma upgrade this repo!

πŸ“« Reach Me πŸ“«

Email: csfelix08@gmail.com

Linkedin: linkedin.com/in/csfelix/

Instagram: instagram.com/c0deplus/


Portfolio: CSFelix.io

About

🐍 Did you ever want to extract audio of a music to listen it in your cellphone later? Well, I was, and this repo is the result!! 🐍 (πŸ”‘ KeyWords: python, audio, video, moviepy, audio-extractor πŸ”‘)

Topics

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published

Languages