View Full Version : Plugin to skip bad frames?
Angelus
16th July 2003, 16:23
Hi I've been encoding with Gordian Knot and recently two movies I've tried to encode (Gangs of NY and Old School) have each failed to encode due to "bad frames" in the source; VDubMod just stalls on a certain frame number every time. I was wondering if there are any plugins for VDubMod that allows to drop trouble frames or skip over them completely.
Thanks!
sh0dan
16th July 2003, 16:31
Could you supply us with a few of the frames that hang? Use VOB-splitter (from here (http://www.doom9.org/software2.htm#vobtools)), to cut out the vob-fragment that causes problems. Be sure to test that the sample display the problem.
Also your MPEG2DEC3 version is needed.
killerhis
16th July 2003, 22:57
get MPEG2Dec3v108, it make sure bad frames are still encoded. You can then use trim() to cut the bad frames or replace them.
The Edge
16th July 2003, 23:07
Taking a guess here but i think the source/s are avi?
Downloaded files, yes?
Hopefully i'm wrong!
Edge
Angelus
17th July 2003, 01:21
No the sources are not .avi's...they're the .vob files ripped directly from the dvd. Its just when I tried to encode using Gordian Knot, it freezes on some frames in the movie. Now I am encoding Gangs of NY and seeing if it will encode; the bad frame was 59 and that's in the beginning of the movie so I used that VOB split and cut out that frame. I am using mpeg2dec3 version 1.0.8.0 and it still freezes on the frames. Perhaps I should try to encode the video manually with VDubMod? I dunno.
Angelus
17th July 2003, 01:55
Sorry but when I tried encoding it again, it still froze on frame # 59, even tho I cut the VOB file so it wouldn't include that frame. So the encoding process is still getting stuck on the 59th frame, even though it is a different part in the movie!
sh0dan
17th July 2003, 10:02
What I meant was - if you cut out a few frames around frame 59, and manke them available - we might be able to fix MPEG2DEC3!
trbarry
17th July 2003, 13:56
You might also try an earlier version of MPEG2DEC3. I had a similar problem recently and fixed it by using my older one at www.trbarry.com/MPEG2DEC3.zip .
I meant to debug and find out what the difference is but needed the disk space for the huge HDTV vobs, so I never did. But I'm worried it has something to do with the newer error checking introduced in recent releases that might hang or loop on a record sometimes.
And if the older version from my site fixes the problem could you please save that vob? If the problem occurs by record 59 then it should be easier to debug if we have to transfer a short section.
- Tom
Angelus
17th July 2003, 23:05
I changed to the earlier version of mpeg2dec3 and still it wouldn't encode. I think this time it froze on frame 57. I was gonna post the .vob file but I dunno how I can. I tried getting a free web page but they won't allow me to post .vob files on there...any ideas of how i can post the same frames?
You doing any sort of overclocking on your system?
trbarry
18th July 2003, 02:34
Don't know about fixing the code but if you know where it fails then just delete that section of the movie. Make sure you get at least 10-15 frames before and after the error so you delete the whole GOP. Then before encoding again use vdub preview to see if you can process over the section.
It's something I've run into a lot with my HDTV caps since they often have momentary glitches in reception that will make a bad MPEG2 stream somewhere. The big trick was training myself to write down which frame it was on before hitting enter to clear the silly error window.
- Tom
Angelus
18th July 2003, 03:05
I'm not doing any overcooking on my system, I've encoded movies before and just finished another one the other day without any problems...it's definitely a source problem from the dvd. I'll try to cut out more of the movie and see if it was pass the dreaded 59th frame this time haha.
cweb
18th July 2003, 07:32
I would try to use Nic's Mpegdecode - generally it handles bad frames a bit better in my experience with dvb-s mpegs.
Angelus
19th July 2003, 22:50
Sorry but do you have a link where I can find that mpegdecode file? I tried searing the doom9 site and google too but couldn't find it. thanks
Angelus
19th July 2003, 23:04
nevermind, I found the site just now...I'll try it and see if it'll work.
FredThompson
20th July 2003, 03:24
I just stumbled on this site. There is a VirtualDub plugin to skip dropped frames.
http://www.deepabyss.org/Emiliano/
vBulletin® v3.8.11, Copyright ©2000-2026, vBulletin Solutions Inc.