libgsty4m.dll Error in Windows 10 and 11: YUV4MPEG Export Error

A raw video export can fail when Y4M output is selected.
What this DLL does
This plug-in provides YUV4MPEG handling in GStreamer.
Start with this check
Check supported frame dimensions and chroma format for the selected output.
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.
Choose the repair that fits
Repair the app's matching plug-in set and select a supported raw video format.
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
Open the result with a Y4M-capable tool and compare frame size and rate.
For a related check, see libgstvideoconvertscale.dll troubleshooting. Browse the DLL Errors & Fixes Library. Official reference: MSYS2 Windows gst-plugins-good file manifest.