libgstbz2.dll Error in Windows 10 and 11: Bzip2 stream handling

An import fails when the input is a Bzip2-compressed stream. If the app log names libgstbz2.dll, use the checks below to identify whether the Windows app can load the GStreamer plug-in and whether the source or profile needs attention.
What libgstbz2.dll does
libgstbz2.dll is the Windows DLL name for the GStreamer bz2 plug-in in the MSYS2 UCRT64 package manifest. The bz2 plug-in reference lists the elements provided by the plug-in. Apps can ship a private GStreamer build, so use the locations and installers documented by your app vendor.
Reproduce the problem with a known-good input
Test a fresh copy of a known-good file and check whether the app reports truncation or a missing decompression stage. Save a copy of the project or export profile before changing it. Record the first relevant log message, the app version and the file or connection settings needed to reproduce it. Check when it happens: at launch, when the feature is enabled, or after the input starts.
Check whether the plug-in loads
A log entry such as “no such element,” “failed to load plug-in,” or “specified module could not be found” points to the runtime or one of its dependencies. If you manage the GStreamer installation and its tools are available, run gst-inspect-1.0 bz2 using that same installation. A successful inspection lists the plug-in and its features. When the app bundles its own GStreamer runtime, use its log to check the app’s actual copy.
If the plug-in appears and the log reports an unsupported format or configuration, work from the feature and input checks above. When startup fails after an app or runtime update, compare the versions and architecture documented by the vendor before reinstalling. Leave the application's plug-in folder structure intact.
Apply the repair that fits the error
Replace a damaged input from its original source. Restore the app’s compression plug-ins when all known-good Bzip2 inputs fail to initialize.
For an app-managed runtime, start with the official installer’s repair or reinstall option. Microsoft documents Windows app repair options for apps that offer them. For a separately managed runtime, follow the GStreamer installation instructions for Windows. Use complete, matching packages and avoid standalone DLL download sites or copying the file into Windows system folders.
Verify the repair
Open the known-good sample and verify the decompressed content reaches the expected importer. Restart the app and try the original input or profile as a second test. Save the working settings and keep the first log message if the problem returns.
Related guide: Troubleshoot libgstplayback.dll. Browse the DLL Errors & Fixes Library for other Windows DLL errors.