-
-
Notifications
You must be signed in to change notification settings - Fork 1
Windows support #11
Windows support #11
Conversation
Okay, seems like I made working package with bundled libmpv. Dll file is from this repo, I used latest release. I didn't find anything similar pre-built for Linux, and building this myself seems to be very time-consuming, and considering that installing and adding libmpv to linux packages is much easier than doing the same on windows, I think it's fine to have Bundled package windows-only, it only really preferred there IMO. The library here seems to be complete, with GPL parts, so I set license for Bundled package to be GPL too (I'm not sure that copyleft really works here, but I think it's better to assume it does). For testing I modified OpenGL example's csproj to have this:
And it worked. I first tried to have ProjectReference instead of PackageReference in Bundled, but it was causing NU1102 error when build the example for some reason. |
Oh wait, it's not July? :D
New in libmpv 0.36
Not going to update every day ofc, just this time
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Let's use ProjectReference
here that way when we build the nuget for Bundled
we don't need to wait for the regular one to upload to nuget then update the Package ver then build the Bundled nuget...
Everything else looks great tho!
For some reason MPV can't find yt-dlp in PATH, so I had to place the binary in config dir (
%APPDATA%/mpv
) for the examples to work, and also yt-dlp seems to be very slow on Windows (it takes a lot of time to load a video from youtube, but in WSL it's fine). Other than that the examples work as expected.Closes #6
Closes #7
TODO:
MPVSharp.Bundled
package with libmpv built-in