https://github.com/csfelix/python-moviepy-extract-audio-from-video
🐍 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 🔑)
https://github.com/csfelix/python-moviepy-extract-audio-from-video
audio audio-extractor extract-audio-from-video moviepy python video
Last synced: 2 days ago
JSON representation
🐍 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 🔑)
- Host: GitHub
- URL: https://github.com/csfelix/python-moviepy-extract-audio-from-video
- Owner: CSFelix
- Created: 2020-12-07T22:59:28.000Z (almost 5 years ago)
- Default Branch: main
- Last Pushed: 2024-05-21T11:13:19.000Z (over 1 year ago)
- Last Synced: 2025-04-28T12:52:45.114Z (5 months ago)
- Topics: audio, audio-extractor, extract-audio-from-video, moviepy, python, video
- Language: Python
- Homepage:
- Size: 9.77 KB
- Stars: 14
- Watchers: 2
- Forks: 3
- Open Issues: 0
-
Metadata Files:
- Readme: README.md
Awesome Lists containing this project
README
# 🌟 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](mailto:csfelix08@gmail.com?)**
> **Linkedin:** **[linkedin.com/in/csfelix/](https://www.linkedin.com/in/csfelix/)**
> **Instagram:** **[instagram.com/c0deplus/](https://www.instagram.com/c0deplus/)**
----
> **Portfolio:** **[CSFelix.io](https://csfelix.github.io/)**