Skip to content

this is a web app to convert your videos into an mp3 and download it on to your PC.

Notifications You must be signed in to change notification settings

dauntless-arcane/Yt2Mp3

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

34 Commits
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

Yt2Mp3

YouTube to MP3 Converter 🎵 A lightweight web application to convert YouTube videos to MP3 audio files using Flask, yt-dlp, and FFmpeg.

🚀 Features

  • Input a YouTube video URL
  • Converts and downloads the audio as an MP3 file
  • Simple and responsive HTML front-end (no React)
  • Uses yt-dlp and ffmpeg for fast, high-quality conversions

🛠 Requirements

  • Python 3.7+
  • yt-dlp
  • ffmpeg
  • Flask

⚙️ Setup Instructions

  1. Clone the repo
git clone https://github.com/yourusername/yt2mp3-flask.git
cd yt2mp3-flask
  1. Install dependencies

       pip install flask yt-dlp
  2. Ensure ffmpeg is installed and added to your PATH

    • Go to url : https://www.gyan.dev/ffmpeg/builds/
    • Download : ffmpeg-release-essentials.zip from 'release builds' section
    • extract the folder
    • add the "bin" path to 'path' of environment variables
    • run ffmpeg -version and ffprobe -version
    • your good to proceed is no error is found

4.Run the Flask server

python server.py

5.Access the app Visit: http://127.0.0.1:3000/ in your browser

About

this is a web app to convert your videos into an mp3 and download it on to your PC.

Resources

Stars

Watchers

Forks

Packages

No packages published