-
-
Notifications
You must be signed in to change notification settings - Fork 5
Description
Why that plugin should be added?
Video/Music players are very common on websites and apps. I think multiple apps would like to play videos or even streaming videos from external source.
What features this plugin should have and how it should work?
It should work similar to "Webviewer", or better. The idea is to have mediaplayer.RectOp{} which defines the area to show the content and fill it with the video.
What alternatives you've considered?
None. It's possible to create some bridge between Golang and FFmpeg, but that requires FFmpeg to be installed or bundled with the app (which conflicts with GPL license from FFmpeg).
Is this plugin implementable on all OSes (Android, iOS, macOS, WASM, Windows...)?
No.
Did you known any particular limitation for specific OS?
On WASM it's not possible to directly access video codecs, it would require WebCodecs API, which is only supported by Chromium. It could fallback to <video>, but makes customization harder. Also, the video-codecs depends on the system itself, not only OS. It's possible to have one Windows machine without AV1, and another one with AV1 codec. On Andriod/iOS/macOS that is more difficult.
Handling the video-codec itself (without external system dependency) is VERY hard, and also lacks hardware-acceleration (such as GPU).
Metadata
Metadata
Assignees
Labels
Type
Projects
Status