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. How can we sync audio and video when using QMediaRecorder/QCaptureSession?

How can we sync audio and video when using QMediaRecorder/QCaptureSession?

Scheduled Pinned Locked Moved Unsolved General and Desktop
qtmultimedia
2 Posts 1 Posters 209 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.
  • X Offline
    X Offline
    xvallspl
    wrote on 16 Oct 2024, 11:36 last edited by xvallspl
    #1

    Hi,

    I am trying to add a recorder to our application to save the session into a file.

    However, audio and video always end up out of sync. Even when running the Camera example. What could I do to solve this issue? I have seen the QVideoFrame::setStartTime method, but I don't see how to relate it to the audio.

    I am using Qt 6.8.0 on Windows 11.

    1 Reply Last reply
    0
    • X Offline
      X Offline
      xvallspl
      wrote on 16 Oct 2024, 13:09 last edited by
      #2

      Same issues after testing on another Windows 10 machine. The output file seems to be in sync on a M2 macbook air.

      1 Reply Last reply
      0

      2/2

      16 Oct 2024, 13:09

      • Login

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