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. Qt Multimedia and custom decoder
QtWS25 Last Chance

Qt Multimedia and custom decoder

Scheduled Pinned Locked Moved General and Desktop
multimediadecoderffmpeg
3 Posts 2 Posters 1.9k 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.
  • L Offline
    L Offline
    Lectem
    wrote on 13 Jul 2015, 09:57 last edited by
    #1

    Hi,
    I've been looking for a way to display the output of a custom decoder (ffmpeg) with a VideoWidget.
    Sadly the qt5.5 VideoWidget, while saying "Video Graphics Item demonstrates how to implement a QGraphicsItem that displays video on a graphics scene using QAbstractVideoSurface." doesn't show how to use your own QAbstractVideoSurface.
    I've seen the 4.8 example and started implementing it, but I don't really see the point of using Qt Multimedia if it's just to redefine paintEvent, since the example brings nothing new. I could create the exact same behaviour without QtMultimedia.

    What I really need is mainly to be able to provide my own frames and timestamps (using QVideoFrame) without having to convert to whatever format the widget needs or having to code the paintEvent.

    1 Reply Last reply
    0
    • L Offline
      L Offline
      Lectem
      wrote on 20 Jul 2015, 06:36 last edited by Lectem
      #2

      Well, after looking around it seems nobody really knows how to do this.

      1 Reply Last reply
      0
      • S Offline
        S Offline
        SGaist
        Lifetime Qt Champion
        wrote on 20 Jul 2015, 22:02 last edited by
        #3

        Hi and welcome to devnet,

        You can implement a QtMultimedia backend that will use ffmpeg to read your video source or maybe the QtAV project might be of interest.

        Hope it helps

        Interested in AI ? www.idiap.ch
        Please read the Qt Code of Conduct - https://forum.qt.io/topic/113070/qt-code-of-conduct

        1 Reply Last reply
        0

        3/3

        20 Jul 2015, 22:02

        • Login

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