fix: update FFmpeg on Linux to avoid GStreamer ABI conflict - #12076
Open
BenJule wants to merge 1 commit into
Open
fix: update FFmpeg on Linux to avoid GStreamer ABI conflict#12076BenJule wants to merge 1 commit into
BenJule wants to merge 1 commit into
Conversation
Update the bundled Linux FFmpeg dependency from 7.0.2 to 7.1.5. The Linux launcher exposes bundled libraries through LD_LIBRARY_PATH. FFmpeg 7.0.2 provides libavutil.so.59 but lacks symbols required by newer system GStreamer libav plugins using the same SONAME. FFmpeg 7.1.5 provides the required ABI while preserving the existing major library versions. Update the Linux copy and install lists for the new FFmpeg library filenames. macOS remains on 7.0.2 and the MSVC dependency is unchanged. Fixes bambulab#12074 Signed-off-by: Benjamin Lütker <benjamin.luetker@gmail.com>
BenJule
force-pushed
the
fix/issue-12074-linux-ffmpeg-715
branch
from
August 29, 2026 21:56
88acd60 to
77315f1
Compare
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Add this suggestion to a batch that can be applied as a single commit.This suggestion is invalid because no changes were made to the code.Suggestions cannot be applied while the pull request is closed.Suggestions cannot be applied while viewing a subset of changes.Only one suggestion per line can be applied in a batch.Add this suggestion to a batch that can be applied as a single commit.Applying suggestions on deleted lines is not supported.You must change the existing code in this line in order to create a valid suggestion.Outdated suggestions cannot be applied.This suggestion has been applied or marked resolved.Suggestions cannot be applied from pending reviews.Suggestions cannot be applied on multi-line comments.Suggestions cannot be applied while the pull request is queued to merge.Suggestion cannot be applied right now. Please check back later.
Summary
Update the bundled FFmpeg dependency from 7.0.2 to 7.1.5 on Linux to avoid an ABI conflict with newer system GStreamer
libavplugins.macOS remains on FFmpeg 7.0.2 and the MSVC/Windows dependency is unchanged.
Fixes #12074
Problem
The generated Linux launcher exposes BambuStudio's bundled libraries through:
BambuStudio currently bundles FFmpeg 7.0.2, including:
On Debian 13, the system GStreamer
libavplugin is built against FFmpeg 7.1.5.Both FFmpeg versions expose the same
libavutil.so.59SONAME, but the bundled FFmpeg 7.0.2 library does not provide:The system GStreamer plugin requires that symbol.
This causes
gst-plugin-scannerto fail with:Fix
Use FFmpeg 7.1.5 for Linux builds while keeping the existing FFmpeg 7.0.2 dependency for macOS.
The MSVC dependency is not modified.
The Linux FFmpeg source archive is updated to:
FFmpeg 7.1.5 retains the same relevant major library versions while providing the symbol required by newer GStreamer builds.
Validation
Before changing the dependency, the issue was reproduced using the packaged Linux build with the normal BambuStudio launcher.
With bundled FFmpeg 7.0.2:
As an A/B runtime test, the FFmpeg 7.0.2 libraries in an isolated copy of the package were replaced with the installed Debian 13 FFmpeg 7.1.5 libraries while keeping the original BambuStudio launcher and its
LD_LIBRARY_PATH.Results:
BambuStudio started normally through the original launcher and the GStreamer/FFmpeg undefined-symbol warning disappeared.
Existing unrelated GTK warnings such as:
are unaffected and are not part of this fix.
Scope
Only:
is changed.
The actual dependency change still needs to be validated by CI by building the Linux package with FFmpeg 7.1.5 and then testing that generated artifact through the normal launcher.