Skip to content

MediaPlayer Skia #12240

Closed
Closed

Description

@jeromelaban

Issues

Doc to include

  • On linux, this is required:
    sudo apt-get install libvlc-dev
    sudo apt-get install libx11-dev
    sudo apt-get install vlc
    sudo apt-get install libgtk2.0-0
    sudo apt-get install libx11dev
    
  • On Windows:
<PackageReference Include="VideoLAN.LibVLC.Windows" Version="3.0.18" />
  • On Mac:
    macOS is not supported properly at this time, as it requires a window positioning that is not available using Gtk's DrawingArea. Suggestion is to use mac Catalyst instead.

Notes

  • Invoking XInitThreads() is needed before VLC is initialized, which requires sudo apt-get install libx11dev to be installed. X11 is the only target supported by libVLC, which means that playback in Wayland-only environment makes gdk_x11_window_get_xid return 0, and display the video incorrectly. We'll need to disable the playback entirely as a result on such environments. In general though, in actual linux systems, Wayland is used partially and X11 is available to use and should not cause issues.
  • Gtk and macOS is not supported at this time. With similar restrictions as OpenGL, the rendering is done on the entire window, and the surface position and sizing is not respected. Using the package below is enough to get it running, but is not useable as an embedded content.
    <PackageReference Include="VideoLAN.LibVLC.Mac" Version="3.1.3.1" />

Activity

  1. added
    area/skia ✏️
    project/documentation 📖
    on May 10, 2023
  2. self-assigned this
    on May 25, 2023
  3. jeromelaban commented on Jun 7, 2023

    @jeromelaban
    MemberAuthor

    Merged into #2642

  4. added
    project/media 📺
    on Jun 26, 2023
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Metadata

Metadata

Labels

area/skia ✏️kind/documentationproject/documentation 📖project/media 📺

Type

No type

Projects

No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions