VideoLibrary 3.2.9
dotnet add package VideoLibrary --version 3.2.9
NuGet\Install-Package VideoLibrary -Version 3.2.9
<PackageReference Include="VideoLibrary" Version="3.2.9" />
<PackageVersion Include="VideoLibrary" Version="3.2.9" />
<PackageReference Include="VideoLibrary" />
paket add VideoLibrary --version 3.2.9
#r "nuget: VideoLibrary, 3.2.9"
#:package VideoLibrary@3.2.9
#addin nuget:?package=VideoLibrary&version=3.2.9
#tool nuget:?package=VideoLibrary&version=3.2.9
libvideo
libvideo (aka VideoLibrary) is a modern .NET library for downloading YouTube videos. It is portable to most platforms and is very lightweight.
Documentation
Installation
You can grab a copy of the library on NuGet by running:
Install-Package VideoLibrary
Alternatively, you can try building the repo if you like your assemblies extra-fresh.
Supported Platforms
- NET ve .NET Core | 1.0, 1.1, 2.0, 2.1, 2.2, 3.0, 3.1, 5.0, 6.0, 7.0
- .NET Framework | 4.5, 4.5.1, 4.5.2, 4.6, 4.6.1, 4.6.2, 4.7, 4.7.1, 4.7.2, 4.8, 4.8.1, 4.8.2
- Mono | 4.6, 5.4, 6.4
- Xamarin.iOS | 10.0, 10.14, 12.16
- Xamarin.Mac | 3.0, 3.8, 5.16
- Xamarin.Android | 7.0, 8.0, 10.0
- Universal Windows Platform | 8.0, 8.1, 10.0, 10.0.16299, TBD
- Unity | 2018
Getting Started
Here's a small sample to help you get familiar with libvideo:
using VideoLibrary;
void SaveVideoToDisk(string link)
{
    var youTube = YouTube.Default; // starting point for YouTube actions
    var video = youTube.GetVideo(link); // gets a Video object with info about the video
    File.WriteAllBytes(@"C:\" + video.FullName, video.GetBytes());
}
Or, if you use Visual Basic:
Imports VideoLibrary
Sub SaveVideoToDisk(ByVal link As String)
     Dim video = YouTube.Default.GetVideo(link)
     File.WriteAllBytes("C:\" & video.FullName, video.GetBytes())
End Sub
If you'd like to check out some more of our features, take a look at our docs. You can also refer to our example application (named Valks, yes, I know, it's a silly name) if you're looking for a more comprehensive sample.
License
libvideo is licensed under the BSD 2-clause license.
| Product | Versions Compatible and additional computed target framework versions. | 
|---|---|
| .NET | net5.0 was computed. net5.0-windows was computed. net6.0 was computed. net6.0-android was computed. net6.0-ios was computed. net6.0-maccatalyst was computed. net6.0-macos was computed. net6.0-tvos was computed. net6.0-windows was computed. net7.0 was computed. net7.0-android was computed. net7.0-ios was computed. net7.0-maccatalyst was computed. net7.0-macos was computed. net7.0-tvos was computed. net7.0-windows was computed. net8.0 was computed. net8.0-android was computed. net8.0-browser was computed. net8.0-ios was computed. net8.0-maccatalyst was computed. net8.0-macos was computed. net8.0-tvos was computed. net8.0-windows was computed. net9.0 was computed. net9.0-android was computed. net9.0-browser was computed. net9.0-ios was computed. net9.0-maccatalyst was computed. net9.0-macos was computed. net9.0-tvos was computed. net9.0-windows was computed. net10.0 was computed. net10.0-android was computed. net10.0-browser was computed. net10.0-ios was computed. net10.0-maccatalyst was computed. net10.0-macos was computed. net10.0-tvos was computed. net10.0-windows was computed. | 
| .NET Core | netcoreapp2.0 was computed. netcoreapp2.1 was computed. netcoreapp2.2 was computed. netcoreapp3.0 was computed. netcoreapp3.1 was computed. | 
| .NET Standard | netstandard2.0 is compatible. netstandard2.1 was computed. | 
| .NET Framework | net461 was computed. net462 was computed. net463 was computed. net47 was computed. net471 was computed. net472 was computed. net48 was computed. net481 was computed. | 
| MonoAndroid | monoandroid was computed. | 
| MonoMac | monomac was computed. | 
| MonoTouch | monotouch was computed. | 
| Tizen | tizen40 was computed. tizen60 was computed. | 
| Xamarin.iOS | xamarinios was computed. | 
| Xamarin.Mac | xamarinmac was computed. | 
| Xamarin.TVOS | xamarintvos was computed. | 
| Xamarin.WatchOS | xamarinwatchos was computed. | 
- 
                                                    .NETStandard 2.0- System.Text.Json (>= 9.0.1)
 
NuGet packages (5)
Showing the top 5 NuGet packages that depend on VideoLibrary:
| Package | Downloads | 
|---|---|
| VideoLibrary.Compat libvideo (aka VideoLibrary) is a modern .NET library for downloading YouTube videos. It is portable to most platforms and is very lightweight. Find us on GitHub at https://github.com/omansak/libvideo | |
| DotImaging.IO.Web Image or video download/streaming (direct video link or Youtube links). | |
| Braco.Services.Media Media service implementations used for downloading and splitting media. | |
| WibuTube Downloads video from YouTube Converts it to mp3 Adds some other information to the mp3 file | |
| JadeLib EXILED supremacy | 
GitHub repositories (2)
Showing the top 2 popular GitHub repositories that depend on VideoLibrary:
| Repository | Stars | 
|---|---|
| dajuric/dot-imaging 
                                                            Minimalistic  .NET imaging portable platform
                                                         | |
| suicvne/DiscordSharp 
                                                            A .Net API for Discord written in C#
                                                         | 
| Version | Downloads | Last Updated | |
|---|---|---|---|
| 3.2.9 | 1,776 | 6/18/2025 | |
| 3.2.8 | 11,257 | 2/3/2025 | |
| 3.2.7 | 2,388 | 1/27/2025 | |
| 3.2.6 | 10,040 | 10/1/2024 | |
| 3.2.5 | 5,161 | 7/30/2024 | |
| 3.2.4 | 7,520 | 6/24/2024 | |
| 3.2.3 | 52,307 | 12/28/2022 | |
| 3.2.2 | 11,535 | 9/17/2022 | |
| 3.2.1 | 3,173 | 8/30/2022 | |
| 3.2.0 | 1,760 | 8/30/2022 | |
| 3.1.9 | 98,723 | 2/7/2022 | |
| 3.1.8 | 1,834 | 2/7/2022 | |
| 3.1.7 | 1,744 | 2/7/2022 | |
| 3.1.6 | 3,588 | 2/2/2022 | |
| 3.1.5 | 2,050 | 2/2/2022 | |
| 3.1.4 | 9,323 | 11/7/2021 | |
| 3.1.4-pre | 1,363 | 11/3/2021 | |
| 3.1.3-pre | 1,261 | 11/3/2021 | |
| 3.1.2 | 19,576 | 4/21/2021 | |
| 3.1.1 | 1,993 | 4/15/2021 | |
| 3.1.0 | 4,134 | 2/24/2021 | |
| 3.0.9 | 4,399 | 1/3/2021 | |
| 3.0.8 | 6,832 | 11/3/2020 | |
| 3.0.7 | 8,778 | 10/28/2020 | |
| 3.0.6 | 5,993 | 7/29/2020 | |
| 3.0.5 | 2,306 | 7/22/2020 | |
| 3.0.4 | 3,066 | 7/10/2020 | |
| 3.0.3 | 1,808 | 7/10/2020 | |
| 3.0.2 | 3,381 | 5/30/2020 | |
| 3.0.1 | 3,842 | 4/10/2020 | |
| 3.0.0 | 7,585 | 12/21/2019 | |
| 2.0.3 | 19,710 | 11/17/2018 | |
| 2.0.2 | 3,458 | 10/13/2018 | |
| 2.0.1 | 2,843 | 9/27/2018 | |
| 2.0.0 | 9,818 | 5/27/2018 | |
| 2.0.0-beta | 2,466 | 5/21/2018 | |
| 1.4.0 | 3,114 | 5/20/2018 | |
| 1.3.7 | 3,076 | 5/6/2018 | |
| 1.3.6 | 3,887 | 4/13/2018 | |
| 1.3.6-beta | 2,617 | 4/9/2018 | |
| 1.3.6-alpha | 2,900 | 1/7/2018 | |
| 1.3.5 | 15,436 | 8/19/2017 | |
| 1.3.4 | 56,853 | 6/23/2016 | |
| 1.3.3 | 20,463 | 12/19/2015 | |
| 1.3.2 | 3,677 | 12/12/2015 | |
| 1.3.1 | 3,845 | 9/22/2015 | |
| 1.3.0 | 2,996 | 9/20/2015 | |
| 1.2.0 | 2,840 | 9/20/2015 | |
| 1.1.0 | 2,958 | 9/19/2015 | |
| 1.0.0 | 3,601 | 8/28/2015 | |
| 0.9.0 | 3,313 | 8/28/2015 | |
| 0.8.0 | 3,795 | 8/27/2015 | |
| 0.7.0 | 3,361 | 8/25/2015 | |
| 0.6.2 | 3,097 | 8/25/2015 | |
| 0.6.1 | 3,470 | 8/25/2015 | |
| 0.6.0 | 3,445 | 8/24/2015 | |
| 0.5.0 | 3,231 | 8/24/2015 | |
| 0.4.2 | 3,639 | 8/21/2015 | |
| 0.4.1 | 3,457 | 8/21/2015 | |
| 0.4.0 | 3,232 | 8/20/2015 | |
| 0.3.5 | 3,041 | 8/17/2015 | |
| 0.3.4 | 2,498 | 8/17/2015 | |
| 0.3.3 | 3,376 | 8/17/2015 | |
| 0.3.2 | 3,318 | 8/17/2015 | |
| 0.3.1 | 4,794 | 8/1/2015 | 
- Fix iTags
