Eto: Add Media Playback Controls/API for Audio and Video

Created on 9 Jan 2019  ·  5Comments  ·  Source: picoe/Eto

Is there a current method for handling media playback?

I know WPF has the MediaElement and MediaPlayer classes. Is it expected that this sort of thing be handled by platform specific code? Or does Eto have a method for handling such things? I couldn't find anything media related in the API docs.

Thanks

enhancement help wanted

Most helpful comment

Video might be tricky to support on Linux/Gtk due to the numerous frameworks (gstreamer, mplayer, vlc, etc),

Gtk 4 will have a GtkVideo and some other nice Video/Audio related widgets so it will be pretty straight forward.

All 5 comments

Hey @Zeman97, thanks for the inquiry.

There's no features in Eto for playing back audio or video at the moment.

Video might be tricky to support on Linux/Gtk due to the numerous frameworks (gstreamer, mplayer, vlc, etc), and WinForms as there's no built-in functionality like WPF though perhaps the WPF control can be embedded in that case to make it easy.

https://gitlab.gnome.org/GNOME/banshee
looks like Banshee uses gstreamer

I use and target Windows, so I'm only able to look into WPF, but I could try to figure it out and make a branch. What is the best resource for creating platform controls? Didn't really understand the "custom control" section of the wiki.

Video might be tricky to support on Linux/Gtk due to the numerous frameworks (gstreamer, mplayer, vlc, etc),

Gtk 4 will have a GtkVideo and some other nice Video/Audio related widgets so it will be pretty straight forward.

Official way especially from Microsoft is slow and might no end well (half of them such as Microsoft Edge, possibly UWP, so does Google such as Google Newsreader) but it is one of good scenario. Can we have an example of how to use it with Xaml Island and with the MediaPlayerElement? For someone that non exposure to.NET

https://docs.microsoft.com/en-us/windows/uwp/xaml-platform/xaml-host-controls

Was this page helpful?
0 / 5 - 0 ratings

Related issues

Krakean picture Krakean  ·  6Comments

LaraSQP picture LaraSQP  ·  21Comments

Serg-Norseman picture Serg-Norseman  ·  5Comments

jzlhll picture jzlhll  ·  14Comments

DanWBR picture DanWBR  ·  7Comments