Skip to content
  • Categories
  • Recent
  • Tags
  • Popular
  • Users
  • Groups
  • Search
  • Get Qt Extensions
  • Unsolved
Collapse
Brand Logo
  1. Home
  2. Qt Development
  3. QML and Qt Quick
  4. Video recording saves the files in m4a instead of video formats

Video recording saves the files in m4a instead of video formats

Scheduled Pinned Locked Moved Unsolved QML and Qt Quick
qt6recordingvideocamera
2 Posts 2 Posters 367 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.
  • E Offline
    E Offline
    Enayat
    wrote on 16 Aug 2023, 12:23 last edited by
    #1

    Hi,

    I have been working on a recording application. The camera is analog and its data is converted to digital using ADV7280m in embedded linux. I am supposed to record the camera data with some overlay including text and some PNG files. I can display the camera feed with overlays on the screen, but when I execute recorder.record() and afterwards, recorder.stop() functions, I see a record_001.m4a file written at $HOME directory instead of a video file.

    First of all, how can I specify the output file format in QML?
    Secondly, how can I record the cameraItem view in QML with the overlays I mentioned?

    Thanks in advance.

    B 1 Reply Last reply 17 Aug 2023, 10:35
    0
    • E Enayat
      16 Aug 2023, 12:23

      Hi,

      I have been working on a recording application. The camera is analog and its data is converted to digital using ADV7280m in embedded linux. I am supposed to record the camera data with some overlay including text and some PNG files. I can display the camera feed with overlays on the screen, but when I execute recorder.record() and afterwards, recorder.stop() functions, I see a record_001.m4a file written at $HOME directory instead of a video file.

      First of all, how can I specify the output file format in QML?
      Secondly, how can I record the cameraItem view in QML with the overlays I mentioned?

      Thanks in advance.

      B Offline
      B Offline
      Bob64
      wrote on 17 Aug 2023, 10:35 last edited by
      #2

      @Enayat I see mediaFormat mentioned in the doc for MediaRecorder but the documentation appears to be incomplete. Perhaps dig into this a bit?

      1 Reply Last reply
      0

      2/2

      17 Aug 2023, 10:35

      • 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