Alek
Alek

Reputation: 67

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.

Upvotes: 0

Views: 1599

Answers (1)

anujm
anujm

Reputation: 51

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

Upvotes: 1

Related Questions