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. QTMultimedia FFMPEG backend preview
Forum Updated to NodeBB v4.3 + New Features

QTMultimedia FFMPEG backend preview

Scheduled Pinned Locked Moved Unsolved QML and Qt Quick
13 Posts 3 Posters 3.0k 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.
  • S Offline
    S Offline
    sethsource
    wrote on 2 Jan 2023, 03:02 last edited by sethsource 1 May 2023, 22:46
    #4
    This post is deleted!
    1 Reply Last reply
    0
    • S Offline
      S Offline
      sethsource
      wrote on 5 Jan 2023, 22:47 last edited by
      #5
      This post is deleted!
      1 Reply Last reply
      0
      • S Offline
        S Offline
        sethsource
        wrote on 10 Jan 2023, 17:08 last edited by
        #6
        This post is deleted!
        1 Reply Last reply
        0
        • S Offline
          S Offline
          sethsource
          wrote on 13 Jan 2023, 15:23 last edited by
          #7

          buimp .

          1 Reply Last reply
          0
          • S Offline
            S Offline
            SGaist
            Lifetime Qt Champion
            wrote on 13 Jan 2023, 20:03 last edited by
            #8

            Hi,

            Did you check whether the plugin was deployed ?
            If not, did you try to build it yourself ?

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

            S 1 Reply Last reply 16 Jan 2023, 15:14
            0
            • S SGaist
              13 Jan 2023, 20:03

              Hi,

              Did you check whether the plugin was deployed ?
              If not, did you try to build it yourself ?

              S Offline
              S Offline
              sethsource
              wrote on 16 Jan 2023, 15:14 last edited by
              #9

              @SGaist How would i check to see if it's deployed? and also there's no instructions anywhere on how to build the preview with FFMPEG included

              J 1 Reply Last reply 16 Jan 2023, 16:36
              0
              • S sethsource
                16 Jan 2023, 15:14

                @SGaist How would i check to see if it's deployed? and also there's no instructions anywhere on how to build the preview with FFMPEG included

                J Offline
                J Offline
                JoeCFD
                wrote on 16 Jan 2023, 16:36 last edited by JoeCFD
                #10

                @sethsource from Qt6.5, FFMPEG comes as default. Check the folder /plugins/multimedia and you will be able to see the plugin is there. If you use Qt6.4, you have to set QT_MEDIA_BACKEND. From all changes they are making, you may not be surprised by issues. Qt6.5 is under beta and Qt6.6 is under dev. I guess you have to be patient with this app.

                1 Reply Last reply
                0
                • S Offline
                  S Offline
                  sethsource
                  wrote on 17 Jan 2023, 15:02 last edited by
                  #11

                  QT6.4 didnt work with FFMPEG out of the box, as well as 6.6. I'll try 6.5.

                  1 Reply Last reply
                  0
                  • S Offline
                    S Offline
                    sethsource
                    wrote on 17 Jan 2023, 16:25 last edited by
                    #12

                    Okay now we're getting somewhere. QT6.5 with msvc allows me to run my program without yelling at me. only thing now is it seems it wants me to specify a "decoding framework". heres the output:

                    Cant seem to find any environment variables on the internet that i can use.

                    Available HW decoding frameworks:
                    dxva2
                    d3d11va

                    1 Reply Last reply
                    0
                    • S Offline
                      S Offline
                      sethsource
                      wrote on 17 Jan 2023, 16:43 last edited by
                      #13

                      I read on an ffmpeg forum that people make the use of dxva2 and d3d11va through a command line argument for video...
                      "ffmpeg -hwaccel dxva2 -threads 1 -i INPUT -f null - -benchmark"

                      but this is completely unrelated to QT. I attempted to use an envar for hwaccel and using command line arg and no difference.

                      1 Reply Last reply
                      0

                      13/13

                      17 Jan 2023, 16:43

                      • Login

                      • Login or register to search.
                      13 out of 13
                      • First post
                        13/13
                        Last post
                      0
                      • Categories
                      • Recent
                      • Tags
                      • Popular
                      • Users
                      • Groups
                      • Search
                      • Get Qt Extensions
                      • Unsolved