Skip to content
  • Categories
  • Recent
  • Tags
  • Popular
  • Users
  • Groups
  • Search
  • Get Qt Extensions
  • Unsolved
Collapse
Brand Logo
  1. Home
  2. Qt Development
  3. General and Desktop
  4. QMediaPlayer with custom video decoder

QMediaPlayer with custom video decoder

Scheduled Pinned Locked Moved General and Desktop
1 Posts 1 Posters 1.1k Views 1 Watching
  • Oldest to Newest
  • Newest to Oldest
  • Most Votes
Reply
  • Reply as topic
Log in to reply
This topic has been deleted. Only users with topic management privileges can see it.
  • M Offline
    M Offline
    MediaDude
    wrote on last edited by
    #1

    Hi everyone,

    I'm currently looking into the new QMultimedia framework in Qt5, especially QMediaPlayer with it's Audio-Video playback capability.
    The "Custom Video Surface" example looks very promising because I want to reuse my current code which renders images onto a custom OpenGL Canvas.

    My Question is: how can I get QMediaPlayer to process a file with my custom Video Decoder?
    Is there a Qt class that I can reimplement to provide QVideoFrames?
    Or is the only way to achieve this to implement a custom video source in all the underlying Media Backends
    (MediaFoundation on Windows, AV Foundation on Mac OS etc...)?

    To give a bit of background. I already wrote a Qt-based media player (win, mac, linux), but I have trouble with scheduling audio and video frames properly at low display refresh rates.
    QMultimedia does a much better job and I was hoping I could hook into it by providing my own media source.

    1 Reply Last reply
    0

    • Login

    • Login or register to search.
    • First post
      Last post
    0
    • Categories
    • Recent
    • Tags
    • Popular
    • Users
    • Groups
    • Search
    • Get Qt Extensions
    • Unsolved