Code Monkey home page Code Monkey logo

Comments (3)

feiyangqingyun avatar feiyangqingyun commented on July 23, 2024

需要自己交叉编译好ffmpeg,并把这里的代码换成自己的路径

from qwidgetdemo.

bigpigdog avatar bigpigdog commented on July 23, 2024

需要自己交叉编译好ffmpeg,并把这里的代码换成自己的路径

@feiyangqingyun 感谢回复!但我又遇到一些问题。QT交叉编译遇到很多报错:
0003f52fdde829316b18cb7d853997e5

而且静态库文件非常大(例如libavcodec.a有170MB),可能我编译指令有问题(我不知道哪些组建可以disable):

../configure --cross-prefix=aarch64-linux-gnu- \
            --target-os=linux \
            --arch=aarch64 \
            --enable-static \
            --enable-gpl \
            --pkg-config="pkg-config --static" \
            --prefix=/home/lhj/Desktop/QT_project/rk3399/FFmpeg/build \
            --enable-ffmpeg

我下载的源代码来自于https://github.com/FFmpeg/FFmpeg.git,不用ffmpeg的qt程序可以交叉编译并可以在开发板上运行了。请问我现在需要如何解决这个报错,是要更换ffmpeg的版本还是要更改编译指令,谢谢!

from qwidgetdemo.

bigpigdog avatar bigpigdog commented on July 23, 2024

@feiyangqingyun 我看到playffmpeg目录下的readme了,我在网盘中找到了对应的版本,然后解决了问题,非常感谢!但我打不开编译步骤.txt中的网址https://feiyangqingyun.gitee.io/qwidgetdemo/video_system/##139-编译ffmpeg,所以现在我编译后的静态库还是很大(170MB),请问正确的网址是什么?

from qwidgetdemo.

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.