obs-ffmpeg.dll Error in Windows 10 and 11: OBS FFmpeg recording and media errors

A local media source or FFmpeg output fails while a basic OBS preview still works.
What this DLL does
OBS uses its FFmpeg plug-in for supported media and output features.
Start with this check
Compare a short known-good local video with the failing file and check the first FFmpeg error in the OBS log.
Record the exact error, when it occurred, and the full module path if available. For a crash, open View reliability history from Start and look for the matching entry. The affected app, faulting module and exception code help distinguish an app problem from a system-wide one.
A full or unavailable output folder can fail a recording with a healthy FFmpeg plug-in. Confirm you can save an ordinary test file in the intended folder.
Choose the repair that fits
Repair OBS using the official package and keep its plug-in files and FFmpeg components together. For project-specific output errors, use a supported format and a writable destination.
Start with Microsoft’s app repair options if only one supported application fails. If unrelated built-in Windows features also fail and you suspect system file corruption, use Microsoft’s DISM and System File Checker instructions. Use supported packages and avoid downloading individual DLL files.
Verify the repair
Play the known-good media source inside OBS, then record a small local sample and confirm both video and sound.
For a related check, see avcodec-62.dll troubleshooting. Browse the DLL Errors & Fixes Library. Official reference: OBS FFmpeg plug-in source.