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. QVideoFrame::availableMetaData() is always empty
Qt 6.11 is out! See what's new in the release blog

QVideoFrame::availableMetaData() is always empty

Scheduled Pinned Locked Moved Unsolved General and Desktop
1 Posts 1 Posters 341 Views
  • 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.
  • A Offline
    A Offline
    Amazonasmann
    wrote on last edited by
    #1

    I have subclassed a QAbstractVideoSurface and set it as output to a QMediaPlayer

       TheMediaPlayer->setVideoOutput(TheSurface);
    

    Inside the QAbstractVideoSurface::present(QVideoFrame) function I require some information about the current frame being displayed. For this I would like to use QVideoFrame::availableMetaData(), but it is always empty. This meta data contains useful information for a frame like when it should be displayed...is it a I, P or B frame etc.

    I tried several files, coming from different sources and there is never meta data available in the frame. Is this a Qt bug? What am I doing wrong?

    Sidenote: This is a more narrow question to my older question which it seems no one can answer: https://forum.qt.io/topic/106091/qvideoframe-does-not-deliver-correct-starttime-and-endtime-qmediaplayer-issue/4

    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