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 play two videos side by side simultaneously?
Qt 6.11 is out! See what's new in the release blog

How to play two videos side by side simultaneously?

Scheduled Pinned Locked Moved Unsolved General and Desktop
8 Posts 4 Posters 2.7k 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.
  • I Offline
    I Offline
    ilongshan
    wrote on last edited by
    #1

    How to use qt multimedia to play videos side by side simultaneously?

    jsulmJ 1 Reply Last reply
    0
    • I ilongshan

      How to use qt multimedia to play videos side by side simultaneously?

      jsulmJ Offline
      jsulmJ Offline
      jsulm
      Lifetime Qt Champion
      wrote on last edited by
      #2

      @ilongshan Well, in the same way you play one video. Just arrange your widgets side by side.

      https://forum.qt.io/topic/113070/qt-code-of-conduct

      1 Reply Last reply
      1
      • I Offline
        I Offline
        ilongshan
        wrote on last edited by
        #3

        @jsulm Thanks for you replay. Actually, bacause I want to compare two video frame by frame, the two videos should be synchronized frame by frame. I don't know how to keep them synchronized. I googled it, but cannot find available solutions.

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

          Hi,

          Then you should consider using a framework like OpenCV or ffmpeg to have better control on the video.

          Interested in AI ? www.idiap.ch
          Please read the Qt Code of Conduct - https://forum.qt.io/topic/113070/qt-code-of-conduct

          I 2 Replies Last reply
          1
          • JoeCFDJ Offline
            JoeCFDJ Offline
            JoeCFD
            wrote on last edited by JoeCFD
            #5

            Try to use Qt Gstreamer and create two sink widgets side by side.
            https://gstreamer.freedesktop.org/modules/qt-gstreamer.html

            I 1 Reply Last reply
            0
            • SGaistS SGaist

              Hi,

              Then you should consider using a framework like OpenCV or ffmpeg to have better control on the video.

              I Offline
              I Offline
              ilongshan
              wrote on last edited by
              #6

              @SGaist Thanks very much. Originally, I want to use as little as possible third-party libraries, so I am courious that if it can be done with qt6 multimedia module. Using ffmpeg may is a better choice, for it can provide many filters.

              1 Reply Last reply
              0
              • SGaistS SGaist

                Hi,

                Then you should consider using a framework like OpenCV or ffmpeg to have better control on the video.

                I Offline
                I Offline
                ilongshan
                wrote on last edited by
                #7

                @SGaist I am considering using ffmpeg. Thanks very much for your reply

                1 Reply Last reply
                0
                • JoeCFDJ JoeCFD

                  Try to use Qt Gstreamer and create two sink widgets side by side.
                  https://gstreamer.freedesktop.org/modules/qt-gstreamer.html

                  I Offline
                  I Offline
                  ilongshan
                  wrote on last edited by
                  #8

                  @JoeCFD Thanks very much for your reply, but I am trying to use ffmpeg, because I am more familar with ffmpeg.

                  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