Skip to content

ffmpeg 8.1.2 r3: libsrt 1.5.7 - #4

Merged
zackees merged 1 commit into
obs-rust:mainfrom
rdoupe:build/linux-srt-1.5.7
Oct 16, 2026
Merged

zackees merged 1 commit into
obs-rust:mainfrom
rdoupe:build/linux-srt-1.5.7

Conversation

@rdoupe

@rdoupe rdoupe commented Oct 16, 2026

Copy link
Copy Markdown
Contributor

Refs obs-rust/obs-studio#1082

What and why

Bumps libsrt in the Linux ffmpeg artifact from 1.5.2 to 1.5.7 (recipes/linux/ffmpeg.sh, srt()), packed as ffmpeg 8.1.2 r3 next to r2.

Since #927/#1047 in obs-studio, the AppImage takes FFmpeg and libsrt from this artifact, and that libsrt is the AppImage's only copy: FFmpeg's srt:// protocol and OBS's SRT output both use it. 1.5.2 is affected by three public critical advisories:

The released AppImage (0.1.0-beta.20261014) has Ubuntu's 1.5.4, so without this the next release would also step back from 1.5.4 to 1.5.2.

  • The v1.5.7 tag (899348d8) is taken by its archive's sha256, 017cd1e437ef2073a4dd10ddf7b55e86bc3d6ebac0393d13bd22f6a57055d32b. The archive was checked file by file against the tag.
  • Build options are unchanged: mbedTLS from the same prefix, shared only, no apps. The soname stays libsrt.so.1.5.
  • FFmpeg, mbedTLS and libvpx keep their versions. They are only rebuilt because they are in the same artifact.
  • Upstream OBS pinned 1.5.2 because of two libsrt regressions: a Windows close-freeze in 1.5.3 and broken SRT Media Sources in 1.5.4. Both are fixed in 1.5.7, by [core] Overlapped send with 100 ms timeout on Windows. Haivision/srt#2834 and #3109. deps.ffmpeg: Update libsrt to v1.5.7 obs-deps#1 has the details.

Tested

  • Built in the pinned manylinux_2_28 image with this recipe. The glibc 2.28 floor check passes, and lib/libsrt.so.1.5 resolves to libsrt.so.1.5.7.
  • libsrt's own test-srt (mbedTLS build) passes 277/277 against the built libsrt and mbedTLS.
  • AppImage built the way CI builds it, from obs-studio master plus a deps.lock.json pin to this r3 (obs-studio PR for #1082), then A/B tested against master's AppImage with the full UI on a private Xvfb, loopback network only. Every SRT check passes: caller, listener and rendezvous; AES-128/192/256 with wrong and missing passphrases; reconnect; rapid start/stop; an srt:// Media Source in both modes; Custom FFmpeg output to srt://; a 70 s run with every URL option; 1.5.2↔1.5.7 interop. The exception is the listener-stop hang, which is known and fails the same way on both. Exactly one libsrt is mapped, and both obs-ffmpeg and libavformat bind to it.

After merge

Please publish the r3 artifact. The obs-studio PR for #1082 pins it by sha256; the sha256 there now comes from a local build and gets replaced with the published asset's.

AI note: Claude Code (Claude Opus 5.5) wrote the change and this text under the submitter's direction, and ran the tests above on the submitter's machines.

🤖 Generated with Claude Code

The Linux ffmpeg artifact built libsrt 1.5.2, which OBS-Studio-Rust's
AppImage bundles as its only libsrt: FFmpeg's srt:// protocol and OBS's
SRT output both use it. Releases before 1.5.7 have public advisories
(GHSA-6xg9-784j-24rm and GHSA-4mc6-qmpp-g7gw, fixed in 1.5.6;
GHSA-m96h-3rc9-xx6h, fixed in 1.5.7). srt() takes the v1.5.7 tag
(899348d8) by its archive's sha256; the build options are unchanged
(mbedTLS from the same prefix, shared only, no apps). The soname stays
libsrt.so.1.5. Nothing else in the recipe changes; the rebuild is packed
with --label r3 beside r2.

Built in the pinned manylinux_2_28 image: the glibc 2.28 floor check
passes and lib/libsrt.so.1.5 -> libsrt.so.1.5.7.

Refs obs-rust/obs-studio#1082

Co-Authored-By: Claude Opus 5.5 <[email protected]>

@zackees zackees left a comment

Copy link
Copy Markdown
Member

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Reviewed: libsrt 1.5.2 → 1.5.7 only. I independently confirmed the v1.5.7 archive's sha256 matches 017cd1e4…d32b. Build options and soname unchanged. This fixes GHSA-6xg9-784j-24rm, GHSA-4mc6-qmpp-g7gw and GHSA-m96h-3rc9-xx6h. Merging so the r3 artifact can be built for obs-rust/obs-studio#1083.

@zackees
zackees merged commit a5c51cf into obs-rust:main Oct 16, 2026
@rdoupe rdoupe mentioned this pull request Oct 16, 2026
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

Status: Done

Development

Successfully merging this pull request may close these issues.

2 participants