static link ffmpeg to rust binary

139 views Asked by At

I use the library fffmpeg_next from crates.io/ffmpeg-next in my project, which is a bindings to ffmpeg. I compile it on windows 11 with msys2 ucrt64 and windows-gnu compiler of rust.

I would like to statically link ffmpeg library along with all it's libraries so my final exe will not be dependent on DLLs related to ffmpeg.

Is that possible?

I tried to find ready to use static libraries of ffmpeg for windows, but didn't found even that.

enter image description here

0

There are 0 answers