YouTube Downloader is a simple desktop application for downloading YouTube videos as either MP4 or MP3 files.
You can add multiple YouTube links to the download queue. Simply copy and paste the video URLs into the provided text box and click the "Add" button.
If you want to start fresh, you can clear the download queue with the "Clear" button.
Choose between downloading videos as MP4 or extracting audio as MP3 using the provided dropdown menu.
Click the "Download" button to start downloading the videos. If the YouTube link contains an ampersand (&), it will be handled to prevent issues.
For MP3 downloads:
- The program first downloads the audio stream in WebM format.
- It then converts the WebM file to MP3 using NAudio and LAME MP3 encoder.
For MP4 downloads:
- The program downloads the video stream in MP4 format with the highest video quality.
The status updates panel provides real-time information on the download and conversion process. It includes debug information, conversion progress, and success or failure messages.
The application automatically creates a "downloads" directory in the program's working directory if it doesn't exist. All downloaded files are saved there.
- Clone the repository or download the source code.
- Open the solution in Visual Studio.
- Build and run the application.
- YoutubeExplode: Used for interacting with the YouTube API.
- NAudio: Used for audio processing, including WebM to MP3 conversion.
- LAME MP3 Encoder: Used in conjunction with NAudio for MP3 encoding.
- This application uses the YoutubeExplode library for working with YouTube videos.
- NAudio and LAME MP3 Encoder are employed for audio stream processing and MP3 encoding.
- [Your Name]
Feel free to contribute to the project by submitting pull requests or opening issues!