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. Writing video files programmatically
Forum Updated to NodeBB v4.3 + New Features

Writing video files programmatically

Scheduled Pinned Locked Moved General and Desktop
3 Posts 2 Posters 3.0k 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.
  • G Offline
    G Offline
    Grisha
    wrote on last edited by
    #1

    Hi, I was looking through the QT modules and classes, and could not find a way to write video files directly. The closest thing I could see was the QMediaRecorder class, which looks like it can generate video files using different codecs and such, but it requires a QMediaObject.

    Is there a way to write out a simple compressed AVI or something similar in QT? Should I try to subclass QMediaObject and fake some kind of camera? Are there plans for allowing direct video file creation, considering most of the output code seems to already have been written for QMediaRecorder?

    Thanks for your time!

    1 Reply Last reply
    0
    • C Offline
      C Offline
      chris17
      wrote on last edited by
      #2

      Hi,

      if you don't need audio, you could have a look at "QtFFMpegWrapper":http://code.google.com/p/qtffmpegwrapper/

      1 Reply Last reply
      0
      • G Offline
        G Offline
        Grisha
        wrote on last edited by
        #3

        I'll give that a go, it looks like the right solution for me, thanks!

        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