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. FFmpeg VS LibVLC VS Others
QtWS25 Last Chance

FFmpeg VS LibVLC VS Others

Scheduled Pinned Locked Moved Unsolved General and Desktop
video lib ffmpe
5 Posts 3 Posters 5.8k 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.
  • D Offline
    D Offline
    DeanWinchester
    wrote on last edited by
    #1

    Hello,

    I am trying to create a basic media player.

    But I do not want to use the MediaPlayer from Qt5 because it relies on the codecs installed on the computer.

    I tried for several days to install FFmpeg in my Qt project without any success. I was kinda lost in that huge lib...

    Now I start to think about LibVLC and also VLC-QT.

    Which lib would you recommend ?

    I know my question is kinda vague but guys I am really lost, I tried so many thing without any results ! I have never been this frustrated coding !

    Thank you all !

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

      Hi
      I fooled around quickly with
      https://vlc-qt.tano.si/
      and found it pretty smooth
      It even has good samples
      https://github.com/vlc-qt/examples/tree/master/simple-player
      with a mini player to start on.

      So my vote goes to VLC-QT but to be fair I have not tried FFmpeg.

      Why not try to download it and see how fast u can have the example running.
      Also doc seems ok and it has custom widgets to just use.

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

        Hi,

        To add to @mrjj there's the QtAV project that proposes to interface with ffmpeg which might be easier than writing your own backend. Working with ffmpeg and Qt is completely doable though.

        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
        • D Offline
          D Offline
          DeanWinchester
          wrote on last edited by
          #4

          Thank you both !

          I tried to use those two librairies / project.

          I did not succeed.

          I am used to Unix development and now I am coding on a Windows computer. For the last 2 weeks I was practicing Qt on Visual Studio but I had a lot of problem with that.

          So now I use the Qt ide.

          I don't really know how to use those lib with windows, I kinda miss GCC and the terminal, so simple ! Also I have a lot of trouble trying to build binaries using CMake. Even QMake does not work for VLC-QT lib.

          Anyway I believe those libs work fine. I just need to find how use them properly on windows / Qt ide

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

            What error are you getting exactly ? What have you tried ? What has failed ?

            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