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. Cross-platforum embedded video player ?
Forum Updated to NodeBB v4.3 + New Features

Cross-platforum embedded video player ?

Scheduled Pinned Locked Moved General and Desktop
9 Posts 2 Posters 2.6k 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.
  • M Offline
    M Offline
    maximus
    wrote on last edited by
    #1

    Hi guys,

    I'm looking at a widget that can play video inside a QT application, i'm using QT 5.1.1
    So far I found this one :
    http://qt-project.org/doc/qt-4.8/phonon-videoplayer.html
    I can't find it inside designer though, can you only add it programmatically?

    Is there any other video player out there? It would be for playing .mp4, .avi and maybe other format.
    Thanks!


    Free Indoor Cycling Software - https://maximumtrainer.com

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

      Hi,

      Have a look at the "multimedia module":http://qt-project.org/doc/qt-5.1/qtmultimedia/multimediaoverview.html it should contain what you need

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

      1 Reply Last reply
      0
      • M Offline
        M Offline
        maximus
        wrote on last edited by
        #3

        Thanks SGaist for your eternal support
        Wow this look really nice, gonna try this now! I love QT :)
        http://qt-project.org/doc/qt-5.1/qtmultimediawidgets/videowidget.html


        Free Indoor Cycling Software - https://maximumtrainer.com

        1 Reply Last reply
        0
        • M Offline
          M Offline
          maximus
          wrote on last edited by
          #4

          I tried the demo I just posted.
          It works fine for most video file, however, some are not supported due to codecs and stuff like that.

          I don't want to reinvent the wheel so I was thinking of using VLC media player, a robust and good video player
          http://www.videolan.org/vlc/
          I'll try that receipe and report back if it works ;)
          https://wiki.videolan.org/LibVLC_SampleCode_Qt


          Free Indoor Cycling Software - https://maximumtrainer.com

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

            You're welcome but I don't expect to live that long :-D

            The codecs supported depends on the platform and the backend used

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

            1 Reply Last reply
            0
            • M Offline
              M Offline
              maximus
              wrote on last edited by
              #6

              I tried VLC-QT, a really good solution! the easiest in my opinion :
              http://projects.tano.si/vlc-qt

              One last thing, I would like to use VLC interface, vlc is open source, but I can't seem to find their GUI (it is written in QT). I would like to use their sound widget, the progress bar, and play button who looks nice.

              Here is my current video player :
              https://www.dropbox.com/s/o65awc07nv3ibi0/videoplayerCustom.png

              VLC interface :
              https://www.dropbox.com/s/t9efhituweywd5v/vlcInterface.png


              Free Indoor Cycling Software - https://maximumtrainer.com

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

                Looking for "this":http://www.videolan.org/vlc/download-sources.html ?

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

                1 Reply Last reply
                0
                • M Offline
                  M Offline
                  maximus
                  wrote on last edited by
                  #8

                  Hey SGaist
                  I got this but I don't have the skill to find the code lol..
                  why are all the file .c and not .cpp ? in "vlc-2.1.0\src"
                  I tought QT used C++.. hmmm


                  Free Indoor Cycling Software - https://maximumtrainer.com

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

                    Sure Qt does, it's maybe in their git repository

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

                    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