Giter Club home page Giter Club logo

Comments (3)

valbok avatar valbok commented on August 13, 2024

Hi, thanks for contributing, do you have QT+=multimedia in pro?

from qtavplayer.

franNadalesDN avatar franNadalesDN commented on August 13, 2024

Hi, yes.pro conatined multimedia since I was using qml_video example from main branch.

Anyway I think I found a solution.

It seems something was wrong in my environment that does not like this section in QtAVPlayer.pri:

    QT += core-private
    PRIVATE_HEADERS += $$PWD/qavhwdevice_mediacodec_p.h
    SOURCES += $$PWD/qavhwdevice_mediacodec.cpp $$PWD/qavandroidsurfacetexture.cpp

#    equals(ANDROID_TARGET_ARCH, armeabi-v7a): \
#        LIBS += -L$$(AVPLAYER_ANDROID_LIB_ARMEABI_V7A)

#    equals(ANDROID_TARGET_ARCH, arm64-v8a): \
#        LIBS += -L$$(AVPLAYER_ANDROID_LIB_ARMEABI_V8A)

#    equals(ANDROID_TARGET_ARCH, x86): \
#        LIBS += -L$$(AVPLAYER_ANDROID_LIB_X86)

#    equals(ANDROID_TARGET_ARCH, x86_64): \
#        LIBS += -L$$(AVPLAYER_ANDROID_LIB_X86_64)
}```

Solution was to remove linker commands.

from qtavplayer.

valbok avatar valbok commented on August 13, 2024

Thanks, I suggested to use
AVPLAYER_ANDROID_LIB_* exports to define path to the ffmpeg libs, and hardcoded in QtAVPlayer.pri to use them like LIBS += -L$$(AVPLAYER_ANDROID_LIB_ARMEABI_V7A)
Anyway you will have to provide correct paths to link against ffmpeg and also don't forget to deploy the libs together with your apps.

from qtavplayer.

Related Issues (20)

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. 📊📈🎉

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google ❤️ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.