Skip to content

Commit

Permalink
Fix ffmpeg installation on Windows
Browse files Browse the repository at this point in the history
- Lets see if this fixes the windows build
  • Loading branch information
djova-dolby committed Mar 23, 2024
1 parent 1e97d60 commit 6ca8473
Show file tree
Hide file tree
Showing 2 changed files with 6 additions and 0 deletions.
3 changes: 3 additions & 0 deletions .github/workflows/main.yml
Original file line number Diff line number Diff line change
Expand Up @@ -490,6 +490,9 @@ jobs:
- name: 'Install dependencies'
run: ./CI/windows/01_install_dependencies.ps1 -BuildArch ${{ env.TARGET_ARCH }}

- name: 'Fix ffmpeg installation'
run: choco install ffmpeg

- name: 'Setup plugings'
run: |
git stash
Expand Down
3 changes: 3 additions & 0 deletions CI/windows/02_build_obs.ps1
Original file line number Diff line number Diff line change
Expand Up @@ -92,6 +92,9 @@ function Configure-OBS {
"-DCOPIED_DEPENDENCIES=OFF",
"-DCOPY_DEPENDENCIES=ON",
"-DBUILD_FOR_DISTRIBUTION=ON",
"-DFFMPEG_DIR:PATH=C:\ProgramData\chocolatey\lib\ffmpeg",
"-DAVCODEC_INCLUDE_DIR:PATH=C:\ProgramData\chocolatey\lib\ffmpeg\include",
"-DAVCODEC_LIBRARY:FILEPATH=C:\ProgramData\chocolatey\lib\ffmpeg\lib\avcodec.lib",
"$(if (Test-Path Env:CI) { "-DOBS_BUILD_NUMBER=${Env:GITHUB_RUN_ID}" })",
"$(if (Test-Path Variable:$Quiet) { "-Wno-deprecated -Wno-dev --log-level=ERROR" })",
"-Dlibwebrtc_DIR=`"C:/Program Files/libwebrtc/cmake`"",
Expand Down

0 comments on commit 6ca8473

Please sign in to comment.