When this error shows up
You're watching a video in Windows Media Player (WMP) or Windows Media Center — maybe an old .wmv recording, or a streaming feed from a legacy IPTV source. Suddenly playback stops and you see this: NS_E_INVALID_SCRIPT_BITRATE (0XC00D1BCF) — The script bit rate specified is not valid. The culprit is almost always a corrupted or mismatched script stream embedded in the media file's Advanced Systems Format (ASF) header.
What's really going on
WMP supports script commands — think closed captions, URL flips, or timed events. Each script stream has a bitrate value stored in the file's metadata. When that value is zero, negative, or doesn't match the actual stream rate, WMP throws this error and stops dead. It's not a codec issue. It's not a DRM problem. It's a metadata screw-up.
I've seen this most often with files converted by older tools (Windows Movie Maker 2.1 era, or cheap MPEG-2 to WMV converters) and with streams coming from Windows Media Services 4.1. The error also pops up if you're trying to open a partially downloaded ASF file — the script bitrate field is empty or holds garbage data.
How to fix it
- Stop using Windows Media Player for this file. Switch to VLC media player (free, v3.x or later). VLC ignores broken metadata and plays the file anyway. Right-click the file → Open with → VLC. If it plays fine, the file is intact — WMP is just being picky.
- If VLC plays it but you need a permanent fix, re-mux the file using FFmpeg. Open Command Prompt (Admin) and run:
This copies all streams without re-encoding but strips out the corrupt script metadata. FFmpeg won't touch video or audio quality — it just rebuilds the container header.ffmpeg -i brokenfile.wmv -c copy fixedfile.wmv - No FFmpeg? Use the Windows Media Encoder workaround. Download Windows Media Encoder 9 (still available from Microsoft's archive). Open the encoder, load the broken file as source, choose "No encoding" (passthrough), and save to a new file. The encoder sanitizes the script bitrate field during remux.
- If the error happens during streaming (like a live feed), it's a server-side issue. Contact the stream provider and ask them to check their Windows Media Services configuration — specifically the script stream bitrate in the publishing point properties. You can't fix this on your end.
Still stuck? Check these
- File integrity. Run
chkdsk /fon the drive the file sits on. A bad sector can corrupt metadata without trashing the video itself. I've seen this on failing USB drives and old spinning disks. - WMP version. Windows Media Player 12 on Windows 10/11 handles script streams differently than WMP 11 on Windows 7. If you're on Windows 7, install the KB968816 hotfix — it specifically addressed invalid bitrate handoff issues.
- Third-party codec packs. If you've installed K-Lite, Shark007, or CCCP, uninstall them. These packs sometimes replace WMP's ASF parser with a broken DLL. Reboot after uninstalling, then test the file again.
- Registry cleanup (rarely needed but worth knowing). Open regedit and go to
HKEY_CURRENT_USER\Software\Microsoft\MediaPlayer\Player\.asf. If there's a String value named "EnableScriptCommands" set to 0, delete it. This forces WMP to ignore all script streams. Back up the key first, obviously.
Honestly, 9 times out of 10 the FFmpeg remux in Step 2 is all you need. Don't waste hours on codec packs or reinstalling WMP — the file's metadata is busted, and FFmpeg fixes it in under a minute.