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 1 year ago

MrPlatnum commented 1 year 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 1 year ago

yes should be possible, check ffmpeg documentation

MrPlatnum commented 1 year 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 1 year ago

I never tried static linking mpp to libavcodec