hbiyik / FFmpeg

PLEASE USE https://github.com/nyanmisaka/ffmpeg-rockchip REPO INSTEAD.
https://github.com/nyanmisaka/ffmpeg-rockchip
Other
90 stars 7 forks source link

Static binary #26

Closed MrPlatnum closed 8 months ago

MrPlatnum commented 9 months ago

Is there a way to compile this source code into a static binary? I need a static one because i want to use it with frigate, which requieres a static binary.

hbiyik commented 9 months ago

yes should be possible, check ffmpeg documentation

MrPlatnum commented 9 months ago

Thank you for your response. I got a bunch of issues with the rkmpp lib itself apart from that it works fine. Did you ever manage to compile the mpp lib staticly and also link it in ffmpeg? I unfortunately always get a bunch of undefined references and pkg-config can't find it.

hbiyik commented 9 months ago

I never tried static linking mpp to libavcodec