NS_E_NO_REPEAT_PREPROCESS (0XC00D1B8D) two-pass loop fix
This error pops up when you try two-pass encoding on a looping video source in Windows Media tools. The fix is to stop the loop or switch to one-pass mode.
Most common cause: The source is set to loop while using two-pass encoding
This error shows up when you're encoding with something like Windows Media Encoder (WME) or a tool that uses its pipeline. The exact text is: "It is not possible to use two-pass encoding when the source is set to loop." That's your clue.
Two-pass encoding needs to analyze the whole source file from start to finish on the first pass, then encode on the second. If the source is set to loop (meaning it plays over and over), the encoder can't figure out where the file ends. It gets confused and throws error 0XC00D1B8D.
This happens a lot when you're encoding video for a website or a kiosk display and you checked "loop" on the source properties. Or you're using a screen capture that loops, like a webcam feed or a repeating video clip.
Fix: Disable looping on the source
- Open Windows Media Encoder (or your encoding app that uses the same engine).
- Go to the Source tab (or Properties for the video input).
- Look for a checkbox that says Loop or Repeat.
- Uncheck it. If you don't see it, look under Source Properties > Advanced.
- Click Apply then OK.
- After you apply, the encoder should show the source duration now (like 0:00:15 for a 15-second clip). That means it knows the endpoint.
- Try the two-pass encoding again. It should work now.
If the loop option is grayed out, it means the source itself is a live feed (like a capture card). In that case, skip to the second fix below.
Second cause: The source is a live or continuously streaming input
Some sources just don't have an end. Think: a webcam, a screen capture that records the desktop live, or a network stream that keeps playing. Two-pass encoding can't work on these because the first pass never ends — it would run forever.
The error code is the same: 0XC00D1B8D. But here the loop checkbox might not even be visible. The source is inherently endless.
Fix: Switch to one-pass encoding
- In Windows Media Encoder, go to the Session Properties window.
- Click the Compression tab (or Encoding Options in newer versions).
- Find the Encoding mode dropdown. It probably says Two-pass CBR or Two-pass VBR.
- Change it to One-pass CBR or One-pass VBR. One-pass CBR is the safest bet for live sources — it keeps the bitrate steady and doesn't need to guess the file length.
- Click Apply then OK.
- After you apply, you should see the encoder start immediately (if the source is live). No more error.
One-pass encoding trades a bit of quality for compatibility with live sources. For most webcam streams or screen recordings, you won't notice the difference.
Third cause: The source file path points to a playlist or repeating sequence
Less common but it happens. You might have set the source to a playlist file (like a .wpl or .asx) that repeats itself, or you're using a batch script that feeds the same file in a loop. The encoder sees the repetition and flags it as looping.
This can also occur if you drag a video file into a timeline that's set to repeat in an editing tool before exporting to WME.
Fix: Point to a single, non-repeating file
- Confirm the source is a single file, not a playlist. In the Source tab, check the File name field. If it ends in .wpl, .asx, .m3u, or .pls, that's a playlist.
- Replace it with the direct path to a single video file (like
C:\Videos\clip.mp4). - If you're using a command-line tool like
WMEnc.exe, make sure the-inputparameter points to one file, not a folder or a playlist. - Also check if the file itself has a loop tag embedded. In Windows Media Player, right-click the file > Properties > Details. Look for a "Loop" attribute. If it's set to True, remove it using a metadata editor or re-encode the file first.
- Click Apply then OK. The source duration should show a finite length. Run the two-pass encode again.
Quick-reference summary table
| Cause | Symptom | Fix |
|---|---|---|
| Loop checkbox checked on source | Source loops in preview; duration shows N/A or infinite | Uncheck Loop in source properties |
| Live or streaming source (webcam, capture card) | No loop checkbox; source is continuous | Switch to one-pass encoding (CBR or VBR) |
| Playlist or repeated file path | Source is a .wpl/.asx file or script loops the input | Use single file path; avoid playlists; remove embedded loop metadata |
If none of these fixes work, check the Event Viewer for related errors under Windows Media Encoder logs. But honestly, 9 times out of 10 it's the loop checkbox or the live source issue. Start there and you'll save yourself the headache.
Was this solution helpful?