Avidemux Green or Black Screen in Preview? How to Fix It
A green or black preview in Avidemux means the video is not being decoded for display — the file opened, but the decoder produced no image. The file itself is usually fine; the problem is somewhere between the decoder, the display pipeline, and the file’s index. Work through the checklist below in order — most cases are fixed by step 1 or 2.
Fix 1: turn off hardware decoding
The single most common cause. Avidemux’s hardware-accelerated decoding (via your GPU) fails on some drivers and files, producing a solid green or black frame instead of video.
- Go to Edit > Preferences.
- Find the hardware decoding / HW accelerated decoding option and disable it.
- Restart Avidemux and reopen the file.
If the picture appears, you have your answer: your GPU decoder and that file do not get along. Leave hardware decoding off for such files — software decoding is slower but reliable.
Fix 2: delete the stale index (.idx2)
When Avidemux opens MPEG-TS, MP4, and similar files, it builds an index file (a small .idx2 file next to your video) to seek quickly. If that index is stale or corrupt — for example after the source file changed — the preview can show black or green frames at positions the index misdescribes.
- Close Avidemux.
- Find the
.idx2file sitting next to your video and delete it. - Reopen the video — Avidemux rebuilds a fresh index.
.idx2 file is a cache, not your video. Deleting it never harms the source file; Avidemux simply regenerates it.Fix 3: check what the file actually contains
Go to File > Information (or Properties) and look at the video codec. A green/black preview with some files but not others usually means an unsupported or partially supported codec — for example 10-bit HEVC or AV1 on builds whose bundled decoder cannot handle that variant. Your options:
- Try a nightly build — decoder support improves there first (see our nightly builds guide).
- Pre-convert the file with ffmpeg or HandBrake to H.264, then edit the converted copy in Avidemux.
- Check the cannot find a demuxer guide if the file will not open at all.
Fix 4: suspect a damaged file
If the same file shows green/black frames in multiple players (VLC, mpv, Avidemux), the file itself is damaged — no Avidemux setting will fix it. Triage:
- Play the file in VLC. If VLC also shows corruption, the file is the problem.
- Try repairing the container without re-encoding:
ffmpeg -i input.mp4 -c copy repaired.mp4— this rewrites timestamps and structure. - Open the repaired file in Avidemux.
Is it the file or the settings? (decision tree)
| Symptom | Likely cause | Fix |
|---|---|---|
| Green/black on all files | Hardware decoding / display pipeline | Fix 1: disable HW decoding |
| Green/black on one file, others fine | Stale index or unsupported codec | Fix 2 (delete .idx2), then Fix 3 |
| Green/black in every player | Damaged file | Fix 4: repair or re-obtain the file |
| Preview fine, saved file is black | Output settings problem | See save errors explained |
Frequently asked questions
Why is my video green in Avidemux but plays fine in VLC?
Because the file is fine — Avidemux’s decoder pipeline is the problem. Disable hardware decoding in Edit > Preferences first; if that fails, delete the .idx2 index file and reopen.
Is it safe to delete the .idx2 file?
Yes. It is a seek-index cache that Avidemux rebuilds automatically. It is not your video.
Avidemux shows a black screen only at the start of the video. Why?
That is usually normal in Copy mode when playback starts on a non-keyframe — the decoder needs the next keyframe before it can show a picture. It is not the same problem as a permanently black preview.
The preview is fine but the exported file is black. What now?
That is an output-settings issue, not a preview issue — see our save-errors guide (codec/container mismatch is the usual cause).
