Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

fix libavif,libbluray,libbrotli and add a tad more security #2529

Closed
wants to merge 0 commits into from
Closed

fix libavif,libbluray,libbrotli and add a tad more security #2529

wants to merge 0 commits into from

Conversation

hydra3333
Copy link
Contributor

To get it to build static x64 only (without vulkan) I had to do a few patches per this pull (libavif,libbluray,brotli) :
...
and then disable vulkan and libplacebo in ffmpeg_options.txt.

I couldnt find a way to disable vulkan/libplacebo in the initial questions/answers first run, so I started it and let it go down to the point where it told me I could edit ffmpeg_options.txt whereupon I did and changed these:

#--enable-vulkan 
#--enable-libplacebo
#--enable-libglslang
--enable-libopenh264

to

--disable-vulkan
--disable-libplacebo
--disable-libglslang
--disable-libopenh264

(they may not have been commented out, if they were I removed the leading #)
If I saw it right, some things had a bit of a dependency on vulkan so they had to be disabled.
The --disable-libopenh264 was added later because I guess I did something wrong - when I ran ffmpeg it would not run and kept prompting me saying it could not find libopenh264.dll :(

No doubt the author and other good people will do much better fixes and whatnot, these are just a few hacks which worked for me for now for a static x64 build.

@1480c1
Copy link
Member

1480c1 commented Oct 4, 2023

I will pull in the changes relating to fstack-protector as I'm already working on changing the env flags. However, I will wait on the other commits until I can verify on if they build or not, as I haven't gotten a compilation to get to those yet. Although I think libavif should have been fixed AOMediaCodec/libavif#1647

@hydra3333
Copy link
Contributor Author

Cool.

There has to be a better way to fix libbluray as well. It must have been built here for a long time without the addition of the libraries, don't know why/how as other build system(s) had them added for a while ... something relevant must have changed here but I do not know what.

@hydra3333 hydra3333 closed this Oct 7, 2023
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

None yet

2 participants