flutter_native_view icon indicating copy to clipboard operation
flutter_native_view copied to clipboard

How can I natively view a exe present in resources folder of flutter windows

Open dgbkn opened this issue 2 years ago • 2 comments

https://mpv.io/ I wanted to implement this player using flutter native view, please 🙏 if you can, implement it like libvlc as it support all formats any file can be played by it and is much better than VLC.

dgbkn avatar Sep 23 '22 04:09 dgbkn

flutter_native_view isn't the best solution for video playback, there is a lot of platform specific-ness & this only works on Windows 10+.

I already have a library based on libmpv already (package:media_engine), it is used in Harmonoid. It's very performant & hardware accelerated (nearly zero CPU usage), works all the way back to Windows 7.

Currently, it only has audio playback (playlist management, pitch shifting, equalizer, speed change, volume boost) & tag parsing features. It's very stable on that front, since I've patched all issues that users of Harmonoid reported.

I tested & made POC video playback implementation the other day, but I have no plans to work on it. If any business or company needs support or video playback solution, they can get in touch.

However, I don't have time to release my work as open-source, I can't afford the maintenance & community support. Sorry.

https://twitter.com/alexmercerind/status/1545492579328098304/video/1

https://github.com/alexmercerind/flutter-windows-ANGLE-OpenGL-Direct3D-Interop

https://user-images.githubusercontent.com/28951144/188120009-aa9d606a-fd7f-4f28-8dbe-58d3c06d5145.mp4

alexmercerind avatar Sep 23 '22 11:09 alexmercerind

The title & comment of the issue is not matching to the slightest. flutter_native_view has a good README explaining how to embed a windows executable (if it displays a native window, HWND).

alexmercerind avatar Sep 23 '22 11:09 alexmercerind