Record sound and video using QMediaRecorder



  • 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?


  • Lifetime Qt Champion

    Hi,

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

    Duplicate

    Closing this one.


Log in to reply
 

Looks like your connection to Qt Forum was lost, please wait while we try to reconnect.