I need help using libvideo to make a simple Youtube video downloader. I just need to know the basics and then i can probably figure out the rest.
How do I make a YouTube to MP3/MP4 Converter in C#?
- 2.4K Views
- Last Post 22 February 2021
Lucas Gibson posted this 11 February 2019
java2s posted this 13 February 2019
You can use YoutubeExtrator to download a youtube video
Open your Mange Nuget Packages, then install YoutubeExtrator
Add code to handle download the youtube video as the following c# code
//Get your url video
IEnumerable<VideoInfo> url = DownloadUrlResolver.GetDownloadUrls(txtUrl.Text);
VideoInfo video = url.First(p => p.VideoType == VideoType.Mp4 && p.Resolution == 720);
if (url.RequiresDecryption)
DownloadUrlResolver.DecryptDownloadUrl(url);
//Download video
VideoDownloader downloader = new VideoDownloader(url, Path.Combine(Application.StartupPath + "\\", url.Title + url.VideoExtension));
//Create a new thread to process download youtube file
Thread t = new Thread(() => { downloader.Execute(); }) { IsBackground = true };
t.Start();
I hope you can solve the problem
Grioo posted this 22 February 2021
I need help using libvideo to make a simple Youtube video downloader. I just need to know the basics and then i can probably figure out the rest.
Have you tried using the software?
Search
Categories
This Weeks High Earners
-
NormanOW 2
-
hxcxyijniso 2
-
fyaxwiuwuyv 2
-
fylxwiudnwo 2
-
gwcvzftnqsu 2
-
Danielgow 2
-
cxzxvjcdeqs 2
-
Dansiertah 2
-
hziwwjsbujw 2
-
izqxzbiuihj 2