I'm using SolveigMM Video Splitter to trim some .avi files but the resulting video is missing an index: in some of them when I scroll to random part of the video, the whole screen is grey while audio is good, and it repairs itself after a few seconds, and then I can scroll without problems. In some other videos, some frames in first few seconds become very blocky, but when I return to them later, they are actually not broken. Or sometimes the whole video just freezes. In some of them everything seems to be OK, but VLC tells me that index is missing anyway, while MPC-HC doesn't tell me anything, but problems still happen. It's SolveigMM's fault because it doesn't happen in original videos. What should I change in Solveig's settings to stop this from happening?
All .avi videos are:

- mpeg4 simple profile, yuv420p
- mp3 track, but Hz and kb/s are different in each one

Open an AVI, then use the keyframe buttons on the navigation bar to jump between keyframes (they're the ones with a pic of a key on them), or hold down the Shift key while navigating. Set the edit points as required and you can edit or save sections as a new AVI (under the Video menu, select Direct Stream Copy as the compression method).

Enabling "smart rendering" under the Video menu might work. I've never used it myself but it's supposed to just re-encode what's necessary around the cut point (if it's not on a keyframe) and copy the rest. You have to choose a compression method other than Direct Stream Copy though. I've never used the smart rendering option myself, but I'm pretty sure there's info in the VirtualDub help file.

After selecting xvid codec and smart rendering, it worked frame-accurate, but in the output video, the same grey screen issue happens, same as with SolveigMM Video Splitter. I tried different processing modes but it didn't solve the issue.

I've uploaded the file. It's extracted with virtualdub.
Oddly, no issues happen when played using Windows Media Player, but MPC-HC and VLC give grey screen when scrolling somewhere in the video, and scrolling seems to be buggy (it scrolls to another place than I click).
Grey screen seems to happen only when you scroll just as you launch the video because it repairs itself in a few seconds.

I don't get a grey screen when playing your sample (MPC-HC) but there is an issue decoding the first part properly. Oddly enough it only happens the first time I play the sample and after that it plays fine unless I close the player and start again, but it appears to relate to the smart rendering. I don't know how to fix it though.

The same thing happens when opening the sample using MeGUI (no matter how I open it), except the problem still remains after playing the video the once.

Same with VLC for me. Obviously parts of the frame aren't being decoded properly, but there's no grey screen or index warning.

Sorry.... I'm not much help.

Originally Posted by Freodon

Oddly, no issues happen when played using Windows Media Player, but MPC-HC and VLC give grey screen when scrolling somewhere in the video, and scrolling seems to be buggy (it scrolls to another place than I click).

For MPC-HC..... View/Options/Tweaks and unchecking "fast seek on keyframes" will probably fix the scrolling.

What I meant about grey screen is that when you scroll somewhere immediately after opening the video (you have to be fast) the screen goes completely grey for a fraction of second and then it progressively repairs itself, looking like this:
And a few seconds afterwards, grey parts disappear and video plays normally.
Maybe this just happens on my PC, I'm probably gonna check it on another PC.
MPC-HC doesn't seem to warn about broken indexes, but VLC warned me after I trimmed this video with SolveigMM Video Splitter. In this case (virtualdub), it indeed doesn't give a warning anymore (I normally use MPC-HC so I checked it in VLC just now), despite the same problems occurring that occurred before.
And yeah, I too have this blocky frames at the beginning of the video.

Originally Posted by hello_hello

For MPC-HC..... View/Options/Tweaks and unchecking "fast seek on keyframes" will probably fix the scrolling.

The original and my smart rendered version both show one error in DivFix. But whereas the original has the grey problem frame in MPCHC (and several other players I tried) the newer version doesn't. After running the original through DivFix there are no reported errors and the file plays without problems. Here's the smart rendering version, 2.avi, and the DivFix version, DivFix.1.avi, if anyone wants to try them.

Alright, I've decided to re-encode the whole .avi from selected part, trimming it in the process. But both with Handbrake and Windows Movie Maker, the output file had problems with audio - in Handbrake the first second or so were silent, and in WMM it was out-of-sync, delayed. I didn't try virtualdub yet, but it doesn't seem to allow to save to another video format, and I'd best have it converted to MP4/M4V