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 to make video from web cam
Qt 6.11 is out! See what's new in the release blog

How to make video from web cam

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

    Hello
    I want to make video from web cam with sound.

    1. I can run example "qtmultimedia/examples/multimediawidgets/camera" and store encoded video in file
      But how get this data in my buffer, such as event of incoming encoded data ?

    2. The video is stored without a sound, is it possible to make videos with sound ?

    raven-worxR 1 Reply Last reply
    0
    • A abarmotov

      Hello
      I want to make video from web cam with sound.

      1. I can run example "qtmultimedia/examples/multimediawidgets/camera" and store encoded video in file
        But how get this data in my buffer, such as event of incoming encoded data ?

      2. The video is stored without a sound, is it possible to make videos with sound ?

      raven-worxR Offline
      raven-worxR Offline
      raven-worx
      Moderators
      wrote on last edited by
      #2

      @abarmotov
      ad 1) is QVideoProbe class sufficent for you?
      ad 2) there is also a QAudioRecorder class (inherits QMediaRecorder). I don't know if you can use QAudioRecorder to record video and audio concurrently.

      --- SUPPORT REQUESTS VIA CHAT WILL BE IGNORED ---
      If you have a question please use the forum so others can benefit from the solution in the future

      A 1 Reply Last reply
      1
      • raven-worxR raven-worx

        @abarmotov
        ad 1) is QVideoProbe class sufficent for you?
        ad 2) there is also a QAudioRecorder class (inherits QMediaRecorder). I don't know if you can use QAudioRecorder to record video and audio concurrently.

        A Offline
        A Offline
        abarmotov
        wrote on last edited by
        #3

        @raven-worx

        1. as i understand QVideoFrame is a data to "display", but i want that encoded data from QMediaRecorder for example to send over network by portions

        2. sorry, my fault - sound IS exist in video, mic was disabled in system

        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