Skip to content

Commit 671381a

Browse files
summeroffclaude
andcommitted
tests: point the audio probe at libobs' bundled ffmpeg
The new regression test measures recorded audio with ffmpeg's volumedetect, but ffmpeg is not on the Windows runner, so it failed with ENOENT on all three attempts. libobs already ships ffmpeg.exe, and obs-studio-server/CMakeLists.txt installs all of bin/64bit next to the osn binaries, so FFMPEG_PATH can point at the copy that is already there. No install step and no new dependency. Verified the bundled build (n7.1.1) has the volumedetect filter and reports mean_volume: -34.1 dB for the test's own bigbuckbunny.mp4, well above the -80 threshold the test asserts. Co-Authored-By: Claude Opus 5 (1M context) <noreply@anthropic.com>
1 parent 72a327a commit 671381a

1 file changed

Lines changed: 3 additions & 0 deletions

File tree

.github/workflows/main.yml

Lines changed: 3 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -356,6 +356,9 @@ jobs:
356356
OSN_ACCESS_KEY_ID: ${{secrets.AWS_RELEASE_ACCESS_KEY_ID}}
357357
OSN_SECRET_ACCESS_KEY: ${{secrets.AWS_RELEASE_SECRET_ACCESS_KEY}}
358358
RELEASE_NAME: release
359+
# ffmpeg is not on the runner, but libobs ships one and CMake installs all of
360+
# bin/64bit next to the osn binaries, so point the audio probe at that copy
361+
FFMPEG_PATH: ${{github.workspace}}\${{env.SLFullDistributePath}}\${{env.InstallPath}}\ffmpeg.exe
359362
# Run even after test failures so the PR still gets the flaky summary.
360363
- name: Publish flaky test check
361364
if: ${{ always() }}

0 commit comments

Comments
 (0)