View Full Version : Encode file (Divx(3,4)) to 5.02 but it has bad frame, virtualdub
klimax
4th December 2002, 00:12
Hi
i have video i'd like to convert to divx 5.02 (the source is in older divx)
i'd like to do this bacause putting there new sound and put some filters on the video (smooth, deinterlace)
I'm using Virtualdub(lates version)
but i have problem, beacause in the source video is 1 bad frame (errro 100)
could anyone know how to skip reading this frame or how to go throw it to the end with encoding?
or how to solve this problem?
divxantifreeze is used only for playing this movie, so it is OK for viewing
thanx for replyes
KlimaX
manono
4th December 2002, 06:19
Hi and welcome to the forums-
You can cut out the bad frame by using AviSynth and AviSource (which will require some knowledge). If the bad frame is number 10000, then using a couple of Trim Commands will get rid of it:
Trim1=Trim(0,9999)
Trim2=Trim(10001,0)
Trim1+Trim2
But you'll never be able to get rid of the interlacing entirely because the fields are gone. You may be able to partially cover it up with some smoothing, but it will still look like crap. I'd say forget it.
OvERaCiD23
4th December 2002, 08:11
re-encoding isn't going to help quality at all, even with the mentioned filters. you'd be better off using ffdshow for playback and using it to smooth and/or deinterlace (although like manono said, you can't rid of it since the fields are gone ~~> DivX does not support interlaced material). as for adding the new audio, you can do that in VDub as well (actually, VirtualDubMod would be better ~~> check the VirtualDub forum for the links to it, it's a very useful modification of VirtualDub). just select the new audio track in place of the audio already in the AVI.
if you want to rid of the bad frame without re-encoding, use VDub to Direct Stream Copy the first part (up to the bad frame), and then DSC the second part (after the bad frame), and then mux them back together w/o the bad frame. this will retain the quality, but seeing as you want to run smoothing filters as well as deinterlace, it sounds like the video was not processed correctly (not to offend you if it's a personal encode). I would use the remedy I suggested above, unless you still have the source material, in which case I would re-encode the video correctly.
klimax
5th December 2002, 23:57
Avisynth is working good
only a few frames are with partialy blocks, but the encoding is continuing to the end as i wish.
thanx a lot
vBulletin® v3.8.11, Copyright ©2000-2026, vBulletin Solutions Inc.