Skip to content
  • Categories
  • Recent
  • Tags
  • Popular
  • Users
  • Groups
  • Search
  • Get Qt Extensions
  • Unsolved
Collapse
Brand Logo
  1. Home
  2. Qt Development
  3. Qt Creator and other tools
  4. Record sound and video using QMediaRecorder

Record sound and video using QMediaRecorder

Scheduled Pinned Locked Moved Unsolved Qt Creator and other tools
2 Posts 2 Posters 616 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.
  • C Offline
    C Offline
    ClementD
    wrote on last edited by
    #1

    Hello,

    I am using Win 10 and I would like to record video from a camera and sound-using microphone.
    I have tried to use QMediaRecorder but it do not record.

    Code: I’ll put the code tonight because I am not home.

    Always return no recording state, no error and empty output location

    Do someone have a working example?
    Is QMediaRecorder is working on windows?
    Do I have to be careful to each codec? Which I can use to record in avi/ mp4?

    I had another Idea.
    I succeed at recording audio using QAudioRecorder and at recording video using OpenCV

    Do someone knows how I can merge sound and video into one file?

    1 Reply Last reply
    0
    • SGaistS Offline
      SGaistS Offline
      SGaist
      Lifetime Qt Champion
      wrote on last edited by
      #2

      Hi,

      Please don't post the same question in multiple sub-forums. One is enough.

      Duplicate

      Closing this one.

      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

      • Login

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