mysteryx93 / mediaplayerui.net Goto Github PK
View Code? Open in Web Editor NEWA .NET media player UI to use with any media player, for WPF and Avalonia
License: MIT License
A .NET media player UI to use with any media player, for WPF and Avalonia
License: MIT License
[MediaPlayer.Avalonia.Bass]
I would like to know if it can achieve real-time microphone acquisition and output, rather than just playing MP3 files.
Thank you.
TODO: Add MPV video support for Avalonia.
Sample OpenGL Integration
https://github.com/shodo/MPVCore/blob/master/SDLMpv/SDLMpv/MPV.cs
LibMpv.Client - a complete libmpv API wrapper and some examples of implementing Avalonia controls for displaying video (using OpenGL and Software rendering).
Works on Linux and Windows (maybe MacOS)
Hello:
I found your repo, it seems to be interesting. I tried to create one C# WinForms project for targetting .NET 5.0 and install nuget package, but I can see the warning in the reference.
Warning NU1701 Package 'MediaPlayerUI.NET 0.9.0' was restored using '.NETFramework,Version=v4.6.1, .NETFramework,Version=v4.6.2, .NETFramework,Version=v4.7, .NETFramework,Version=v4.7.1, .NETFramework,Version=v4.7.2, .NETFramework,Version=v4.8' instead of the project target framework 'net5.0-windows7.0'. This package may not be fully compatible with your project.
Since your repo is not in version 1.0 yet, is it possible that you can make to target .NET 5.0 or even .NET 6.0, which is coming in a few months.
You know that not many people will still use old .NETFramework version, if Microsoft is doing something different.
I am using Windows 10 (Version 21H1) and Visual Studio 2019 Version 16.10.4.
Thanks,
After I downloaded the source code, I failed to compile the Avalonia.Sample project. According to the error message, I was missing a DLL file named libmpv.2, but I did not find this dll file in the dll library, and in the mpv project, I found that this The dll file has been renamed to mpv-2.dll, I don't know if this dll file is missing.
The examples only contain absolute paths, which are pretty much useless in most scenarios.
So far I have been unable to load it as an Avalonia resource, i.e. avares://blahblah
If I use a relative path, it won't work in all cases, as most publishing configurations I have pack the entire application into one file. How do I reference the audio file in that case?
https://github.com/Zhou-Pixel/AvaloniaWithMpv
It is my example and it still have some problems
we need
private void MediaElement_MediaStateChanged(object sender, MediaPlayerHost.Status e)
How to switch the video source, I tried to use MVVM or modify the Source directly, but could not switch the video
I have updated the prerequisites and licensing section in Mpv.NET. To reduce the need of updating these 2 sections in your project, could you please reference/link to the Mpv.NET project instead?
A declarative, efficient, and flexible JavaScript library for building user interfaces.
🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.
TypeScript is a superset of JavaScript that compiles to clean JavaScript output.
An Open Source Machine Learning Framework for Everyone
The Web framework for perfectionists with deadlines.
A PHP framework for web artisans
Bring data to life with SVG, Canvas and HTML. 📊📈🎉
JavaScript (JS) is a lightweight interpreted programming language with first-class functions.
Some thing interesting about web. New door for the world.
A server is a program made to process requests and deliver data to clients.
Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.
Some thing interesting about visualization, use data art
Some thing interesting about game, make everyone happy.
We are working to build community through open source technology. NB: members must have two-factor auth.
Open source projects and samples from Microsoft.
Google ❤️ Open Source for everyone.
Alibaba Open Source for everyone
Data-Driven Documents codes.
China tencent open source team.