-
-
Notifications
You must be signed in to change notification settings - Fork 1k
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
FFMPEG dependency update #44
Comments
If you just need to change the options for ffmpeg ./autoconfig (like --enable-d3dv11a or --enable-amf or other similar options), you just need to edit the ffmpeg_options.txt inside the Sunshine-Windows-Prebuilt folder. These options are applied automatically by media-autobuild_suite |
I know, but CBS is not available from command line as an --enable-* or --disable-*, it's specified into ffmpeg autoconf. This option is into CONFIG_EXTRA variable. CBS obj are clearly compiled and linked into ffmpeg static library, but headers aren't copied into local64/include directory. Another solution is to copy needed cbs*.h into local64/include, but it's an ugly solution. |
Ok, CBS is not intended to be exposed outside libavcodec lib. That's why there's no reference into include directory. I've managed to build a version with an up to date ffmpeg builded with SunshineStream/Sunshine-Windows-Prebuilt default parameters. @ReenigneArcher is it possible to create a new release of SunshineStream/Sunshine-Windows-Prebuilt binary ? I will create a pull request. I currently use my version to play some games from my streaming server, but I only have an AMD graphic card. So I could only test AMD and Software encoding. For the moment everything seems to be fine. |
Let's move development discussion on this to #50 |
This issue is stale because it has been open for 30 days with no activity. Remove the stale label or comment, otherwise this will be closed in 5 days. |
We should probably use vcpkg to handle the ffmpeg dependency. It will make it more consistent between the different OSes. Currently they are on 4.4.1, but have an open PR to update to 5.0. microsoft/vcpkg#23312 Unfortunately it breaks a lot of other packages so they are currently blocking the PR from being merged. |
This issue is stale because it has been open for 30 days with no activity. Remove the stale label or comment, otherwise this will be closed in 5 days. |
This issue was closed because it has been stalled for 5 days with no activity. |
This issue has been fixed and will be available in the next release. |
Describe the bug
Hi guys I would like to update ffmpeg library, but I'm facing this issues:
Replacing current CBS implementation by ffmpeg one is a solution, only if I can fix the first issue.
I don't know how to add parameters to media-autobuild_suite so it can pass it to ffmpeg autoconf. It seems that options are into ffmpeg's CONFIG_EXTRA variable, but we can't set them externaly. Plus I don't know if it will copy right headers file to include directory.
To Reproduce
Only for development purpose, then we must use Sunshine's Workflows.
Expected behavior
Sunshine build and run correctly.
The text was updated successfully, but these errors were encountered: