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
I don't know if it matters, but these are the same videos I had this problem with: https://forum.videohelp.com/threads/365377-SolveigMM-Video-Splitter-frame-accuracy-not-...67#post2329367
I tried saving the file in virtualdub and avidemux, but avidemux didn't repair it at all, and virtualdub gives me error when I try to open the file.
Try StreamFab Downloader and download from Netflix, Amazon, Youtube! Or Try DVDFab and copy Blu-rays! or rip iTunes movies!
+ Reply to Thread
Results 1 to 26 of 26
Thread
-
Last edited by Freodon; 30th Jun 2014 at 14:59.
-
Have you tried VirtualDub for the actual trimming?
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).
Or Video To Video Converter has some editors/cutters under it's Tools menu.
I've never used SolveigMM Video Splitter myself so someone else will have to try to help there. -
Virtualdub gives me this error even when I try to open the original file:
I tried. The file was saved successfully but grey screen when scrolling to random part of the video still exists. -
-
Select Video->Direct Stream copy and Audio->Direct stream copy.
Or else will Virtualdub save as uncompressed video = HUUUGE. -
-
You can choose video-> fast recompress and then choose the xvid codec under video-> compression. Click configure to edit the xvid settings, quality setting or bitrate.
-
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.
Here's file information of the original video:
Last edited by Freodon; 1st Jul 2014 at 07:44.
-
Well, I would upload this .avi file, but it seems that would be against this forum's rules. I do have this problem though, it doesn't work as it should.
-
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.Last edited by Freodon; 1st Jul 2014 at 11:32.
-
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.
For MPC-HC..... View/Options/Tweaks and unchecking "fast seek on keyframes" will probably fix the scrolling.Last edited by hello_hello; 1st Jul 2014 at 13:42.
-
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.
That worked, scrolling is now fully accurate.Last edited by Freodon; 1st Jul 2014 at 14:52.
-
FWIW, this is what MediaInfo said about the sample file "1.avi":
Code:Writing application : VirtualDubMod 1.5.10.1 (build 2439/release) Video ID : 0 Format : MPEG-4 Visual Format profile : Advanced Simple@L5 Format settings, BVOP : 2 Format settings, QPel : No Format settings, GMC : No warppoints Format settings, Matrix : Default (H.263) Muxing mode : Packed bitstream
Code:I P P P B P B B P B B P B B P B B P B B P B B P I
Code:[mpeg4 @ 0135cc20]slice end not reached but screenspace end (39 left FFFFFF, score= -23) [mpeg4 @ 0135cc20]concealing 768 DC, 768 AC, 768 MV errors in I frame [mpeg4 @ 0135cc20]slice end not reached but screenspace end (37 left FFFFFF, score= -22) [mpeg4 @ 0135cc20]concealing 768 DC, 768 AC, 768 MV errors in P frame [mpeg4 @ 0135cc20]slice end not reached but screenspace end (36 left FFFFFF, score= -21) [mpeg4 @ 0135cc20]concealing 768 DC, 768 AC, 768 MV errors in P frame [mpeg4 @ 0135cc20]slice end not reached but screenspace end (35 left FFFFFF, score= -20) [mpeg4 @ 0135cc20]concealing 768 DC, 768 AC, 768 MV errors in P frame [mpeg4 @ 0135cc20]slice end not reached but screenspace end (32 left FFFFFF, score= -19) [mpeg4 @ 0135cc20]concealing 768 DC, 768 AC, 768 MV errors in P frame [mpeg4 @ 0135cc20]slice end not reached but screenspace end (34 left FFFFFF, score= -18) [mpeg4 @ 0135cc20]concealing 768 DC, 768 AC, 768 MV errors in P frame [mpeg4 @ 0135cc20]slice end not reached but screenspace end (35 left FFFFFF, score= -17) [mpeg4 @ 0135cc20]concealing 768 DC, 768 AC, 768 MV errors in P frame [mpeg4 @ 0135cc20]slice end not reached but screenspace end (35 left FFFFFF, score= -16) [mpeg4 @ 0135cc20]concealing 768 DC, 768 AC, 768 MV errors in P frame [mpeg4 @ 0135cc20]slice end not reached but screenspace end (32 left FFFFFF, score= -15) [mpeg4 @ 0135cc20]concealing 768 DC, 768 AC, 768 MV errors in P frame [mpeg4 @ 0135cc20]slice end not reached but screenspace end (36 left FFFFFF, score= -14) [mpeg4 @ 0135cc20]concealing 768 DC, 768 AC, 768 MV errors in P frame [mpeg4 @ 0135cc20]slice end not reached but screenspace end (35 left FFFFFF, score= -13) [mpeg4 @ 0135cc20]concealing 768 DC, 768 AC, 768 MV errors in P frame [mpeg4 @ 0135cc20]slice end not reached but screenspace end (34 left FFFFFF, score= -12) [mpeg4 @ 0135cc20]concealing 768 DC, 768 AC, 768 MV errors in P frame [mpeg4 @ 0135cc20]slice end not reached but screenspace end (35 left FFFFFF, score= -11) [mpeg4 @ 0135cc20]concealing 768 DC, 768 AC, 768 MV errors in P frame [mpeg4 @ 0135cc20]slice end not reached but screenspace end (34 left FFFFFF, score= -10) [mpeg4 @ 0135cc20]concealing 768 DC, 768 AC, 768 MV errors in P frame [mpeg4 @ 0135cc20]slice end not reached but screenspace end (39 left FFFFFF, score= -9) [mpeg4 @ 0135cc20]concealing 768 DC, 768 AC, 768 MV errors in P frame [mpeg4 @ 0135cc20]slice end not reached but screenspace end (33 left FFFFFF, score= -8) [mpeg4 @ 0135cc20]concealing 768 DC, 768 AC, 768 MV errors in P frame [mpeg4 @ 0135cc20]slice end not reached but screenspace end (33 left FFFFFF, score= -7) [mpeg4 @ 0135cc20]concealing 768 DC, 768 AC, 768 MV errors in P frame [mpeg4 @ 0135cc20]slice end not reached but screenspace end (32 left FFFFFF, score= -6) [mpeg4 @ 0135cc20]concealing 768 DC, 768 AC, 768 MV errors in P frame [mpeg4 @ 0135cc20]slice end not reached but screenspace end (34 left FFFFFF, score= -5) [mpeg4 @ 0135cc20]concealing 768 DC, 768 AC, 768 MV errors in P frame [mpeg4 @ 0135cc20]slice end not reached but screenspace end (38 left FFFFFF, score= -4) [mpeg4 @ 0135cc20]concealing 768 DC, 768 AC, 768 MV errors in P frame [mpeg4 @ 0135cc20]slice end not reached but screenspace end (37 left FFFFFF, score= -3) [mpeg4 @ 0135cc20]concealing 768 DC, 768 AC, 768 MV errors in P frame [mpeg4 @ 0135cc20]slice end not reached but screenspace end (32 left FFFFFF, score= -2) [mpeg4 @ 0135cc20]concealing 768 DC, 768 AC, 768 MV errors in P frame
-
The first GOP has I, B and P frames. The rest of the video only has I and P frames. Try cutting and smart rendering again with b-frames disabled in Xvid. Ie, disable B-VOP in the Xvid configuration.
-
How to do it? I only found B-VOP sensitivity option which is set to 0 in Video -> Compression -> Configure -> Zone Options
But one thing bugs me: why are there no problems at all in Windows Media Player which is one of the most limited video players that can't even play .mkv? -
In the "profile@level" item, click the button "more", then untick "B-VOPs".
Only the devil knows why WMP can even play some MPGs whose audio was flagged as video and vice-versa
But IMHO, it's not a good practice to hide from the user that he/she has gotten a broken file. -
Worked for me when I smart reencoded your sample, cutting the first frame. Use GSpot to check the GOP structure -- the little VGS button. Original top, smart reencoded bottom with no B frames:
Red boxes are I frames, blue boxes are P frames, green boxes are B frames.
By the way, DivFix was able to fix the bad AVI.Last edited by jagabo; 2nd Jul 2014 at 10:09.
-
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