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. Create a video File from frames
Forum Updated to NodeBB v4.3 + New Features

Create a video File from frames

Scheduled Pinned Locked Moved Unsolved General and Desktop
3 Posts 3 Posters 539 Views 3 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.
  • D Offline
    D Offline
    Dimitri Junker
    wrote on 13 Jan 2019, 15:39 last edited by
    #1

    Hi, some years ago I moved a project from VisualC to QT, the only thing I was'nt able to do with the QT libraries was the creation of a videofile. And I still don't find even the general way of how to do it, so I still use the microsoft vfw Routines like:
    AVIFileOpen, AVIFileCreateStream, AVIStreamWrite,...
    How do I do this with QT?
    The main thing I need is a routine to add a QImage as a frame to an videofile. And of course to create the stream, set resolution, fps,...

    1 Reply Last reply
    0
    • M Offline
      M Offline
      mrjj
      Lifetime Qt Champion
      wrote on 13 Jan 2019, 16:07 last edited by
      #2

      Hi
      As far as i know, its still not possible to via Qt alone.
      https://forum.qt.io/topic/63258/getting-qimages-into-qmediarecoder-to-create-video-files-e-g-avi-mp4-or-animated-gif

      1 Reply Last reply
      2
      • S Offline
        S Offline
        SGaist
        Lifetime Qt Champion
        wrote on 13 Jan 2019, 21:35 last edited by
        #3

        Hi,

        If you want to do it with Qt alone you would have to create a custom QMediaObject derived class and provide the required interfaces for QMediaRecorder to work.

        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
        1

        1/3

        13 Jan 2019, 15:39

        • Login

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