Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We鈥檒l occasionally send you account related emails.

Already on GitHub? Sign in to your account

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

Open
dgbkn opened this issue Sep 23, 2022 · 2 comments

Comments

@dgbkn
Copy link

dgbkn commented Sep 23, 2022

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.

@alexmercerind
Copy link
Owner

alexmercerind commented Sep 23, 2022

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

libmpv+flutter.mp4

@alexmercerind
Copy link
Owner

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).

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants