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. QtAV: how to import QtAV 1.3 and add new CODEC (e.g H.265) to QtAV
Forum Updated to NodeBB v4.3 + New Features

QtAV: how to import QtAV 1.3 and add new CODEC (e.g H.265) to QtAV

Scheduled Pinned Locked Moved QML and Qt Quick
3 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.
  • V Offline
    V Offline
    Vignes
    wrote on last edited by
    #1

    Hi,
    I tried to test QtAV examples (downloaded the ZIP file), but I couldn’t get them build (error: avutil is required, but compiler can not find it).

    I even tried the following link https://github.com/wang-bin/QtAV/wiki/Use-QtAV-In-Your-Projects
    I couldn’t get it build, same above error.

    I have downloaded and installed ""QtAV1.4.0beta-win32-msvc2013-x86.exe":http://sourceforge.net/projects/qtav/files/depends/"

    There is qml example code (where import QtAV 1.3 is not recognized) :
    @
    import QtQuick 2.0
    import QtAV 1.3
    Item {
    VideoOutput {
    anchors.fill: parent
    source: player
    }
    AVPlayer { //or MediaPlayer
    id: player
    source: "test.mp4"
    }
    MouseArea {
    anchors.fill: parent
    onClicked: player.play()
    }
    }
    @

    • If I want to get this to work, what should I do?
    • If I were to add new video decoder format e.g H.265, where or how should I add it?

    Thank you

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

      Hi,

      You should rather contact the author of this library directly, QtAV is not part of the Qt project but uses Qt.

      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
      • A Offline
        A Offline
        alexRM
        wrote on last edited by
        #3

        Hi, I don't know if you solved, but I had same problem. The guide you followed uses the visual studio compiler, so I guess you set INCLUDE and LIB in qtcreator. In my case I had mingw so env variables I had to set were CPATH and LIBRARY_PATH

        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