简体   繁体   中英

yocto, how to build ffmpeg dev packages

I got a yocto built for imx board. I can build ffmpeg package, but need also to populate headers and libraries in my SDK. Building using bitbake core-image-minimal -c populate_sdk does not add ffmpeg headers to SDK image.

Didn't have any problems with prervious libraires like modbus, etc.

How to build ffmpeg development packages?

Thanks in advance.

You will need ffmpeg-dev as well. Headers go to -dev package. In general, you can check the packages that are produced by a recipe using oe-pkgdata-util. In this case:

$ oe-pkgdata-util list-pkg-files -p ffmpeg 

And to find which package a specific file belongs to, say swresample.h:

$ oe-pkgdata-util find-path *swresample.h

  ffmpeg-dev: /usr/include/libswresample/swresample.h

To understand how to add packages to target toolchain, please see:

https://www.yoctoproject.org/docs/current/mega-manual/mega-manual.html#sdk-adding-individual-packages

The technical post webpages of this site follow the CC BY-SA 4.0 protocol. If you need to reprint, please indicate the site URL or the original address.Any question please contact:yoyou2525@163.com.

 
粤ICP备18138465号  © 2020-2024 STACKOOM.COM