VideoHelp.com forum archive
http://www.supermediastore.com/



Forum Archive Home -> User guides -> Tenders V-Dub MP3 Freeze VBR Audio and Bad Frames Guide



Tenders V-Dub MP3 Freeze VBR Audio and Bad Frames Guide
tenders posted 2003 Feb 08 21:49
Sometimes the regular virtual dub doesn't seem to work with bad frames(audio desync),so i use this method. it also works well with avi's that have VBR audio(you know,that annoying little box that comes up when you load your file:) ).

you need Vdub-mp3 :
http://www.digital-digest.com/dvd/downloads/virtualdub.html


Now this version makes a log of the bad frames at c:\badframes.log
Load your avi
Video > Check video for freezes

Now open the log, it may have several bad blocks, so you need to delete the highest block numbers first (At keyframes)

12345
12346
12347
3345667
3345668
3345669 (Highest block of numbers)

Open Log and highlight the highest number (3345669) (COPY)switch to Vdub and select Edit> GO TO (Paste) 3345669

Now click the yellow keyframe forward once, then mark this as end

Back to the log highlight lowest number of that block (COPY)(3345667) switch back to Vdub and select GO TO (Paste) 3345667

Now click the yellow keyframe back once, then mark this as start

Press Edit> then delete key to remove those bad frames 3345667 to 3345669

Now do the same to the next highest block ( 12345 to 12347)

When you are done,then:

Video > direct stream copy
Audio > direct stream copy
SAVE AVI

Will save out a new copy without the bad frames...



anandrag posted 2003 Feb 09 09:05
That is helpful, but... it still leaves me with the annoying VBR box when I load to VDub 1.4.13 to save the WAV seperately. How do I get rid of that?


tenders posted 2003 Feb 09 11:36
anandrag :
That is helpful, but... it still leaves me with the annoying VBR box when I load to VDub 1.4.13 to save the WAV seperately. How do I get rid of that?


simple: don't save out the wave. when your ready to convert,load the file as is 8)



anandrag posted 2003 Feb 09 15:06
I usually try not to save the WAV file, but for some AVI files there is no audio track that TMPGEnc recognizes. When in the source range tab, the audio line doesn't show any spikes


tenders posted 2003 Feb 09 17:45
sounds like you need to raise the priority of the VFAPI plug ins in tmpg encoder. try the forum search function for info on how to do this.


frink posted 2003 Feb 10 19:27
Do I now use my original DIVX as the video source and the AVI I just made as the audio source in TMPGEnc, or do I use the AVI as both audio and video?


tenders posted 2003 Feb 10 21:11
frink :
Do I now use my original DIVX as the video source and the AVI I just made as the audio source in TMPGEnc, or do I use the AVI as both audio and video?


use the new avi. :)



rabiee140 posted 2003 Feb 11 00:26
I've been trying to convert divx to mpeg, audio has been gradually losing it's sync through the movie after encoding. I scanned it like you said, and it reported bad frames. How does the new avi file, that I create after I delete that bad frames, adjust to the sound? My problem is after I encode, the audio is ahead of the video (plays fine before I encode to mpeg). So, if I delete frames and make the video even shorter, won't that make the audio even further ahead?


rabiee140 posted 2003 Feb 11 10:32
Tenders:

I got rid of the bad frames following your guide. Then I enocoded to mpeg 2, converted the audio to mp2, then multiplexed with tmpg, and the audio is perfectly in sync!

That is, until the part of the movie where I deleted the bad frames. The sound jumps ahead of the video by a good bit. The first bad cluster of frames that I removed ranged from frame 75197 to frame 75497 (300 frames). I played the multiplexed movie and noted exactly where the audio went out of sync, then went back to Virtualdub, and sure enough, the scene that I noted started at 75197.

So, what do I do now? isn't there a way to insert a blank frames to compensate for the range where I deleted the bad frames?

Please help! I'm almost there.

Thanks,
Anthony



tenders posted 2003 Feb 11 13:52
as i have never encountered this problem myself(as a last resort this method has always worked for me)i am unable to help you any further. :(

my advice would be to either bite the bullet and accept it as is,or obtain a better copy.

hope it works out for you :P



rabiee140 posted 2003 Feb 11 15:47
Finally success. I figured out what I was doing wrong; after I deleted the bad frames and saved to avi, I still used the old audio (from before I deleted frames) to multiplex with the encoded video. Of course, that is why I was still having audio problems. Everything is Okay now.

Thanks for the guide Tender,
Anthony



St0ked56 posted 2003 Feb 17 21:44
I scanned for bad frames but I don't know where to go to tell which frames are bad. Can you help me out on this? If I find which frames are bad Im sure this guide will help me through the rest.


p_l posted 2003 Feb 17 22:14
Click My Computer :arrow: C:/ drive, and you'll find a little text file called badframes.log


St0ked56 posted 2003 Feb 18 12:47
Which version do I use because the one I have doesn't make a text file anywhere called Badframes.log. I have version 1.4.13-P4. Should I try the latest one 1.5.0? Is there some kind of thing I have to do in VDub to make it make the log file or is it supposed to do it by itself?


p_l posted 2003 Feb 18 15:40
The VDub-Mp3 Tenders provides a link to at the top of this thread. Use it when the standard VDub gives you the VBR warning when you load a file.


St0ked56 posted 2003 Feb 18 16:07
I get the VBR message box when it loads the movie, but after it gets done scanning the frames for bad ones it doesn't give me a log of the bad frames. It says there are 3 bad frames at the bottom of the program but I can't find the log anywhere in the C Drive.


tenders posted 2003 Feb 18 17:13
St0ked56 :
I get the VBR message box when it loads the movie, but after it gets done scanning the frames for bad ones it doesn't give me a log of the bad frames. It says there are 3 bad frames at the bottom of the program but I can't find the log anywhere in the C Drive.


did you read my guide? i suggest you read it again,but this time pay attention!!



frink posted 2003 Feb 19 01:10
I followed your guide and used the new AVI for both audio and video source in TMPGEnc. When I created my XVCD there was not audio at all.
Do you have any ideas or suggestions? There were no bad frames but I was getting the "improper VBR" warning when loading in regular VDUB program.



tenders posted 2003 Feb 19 12:38
frink :
I followed your guide and used the new AVI for both audio and video source in TMPGEnc. When I created my XVCD there was not audio at all.
Do you have any ideas or suggestions? There were no bad frames but I was getting the "improper VBR" warning when loading in regular VDUB program.


the only suggestion i have is to raise the priorities of the vfapi plug ins in tmpgenc. hope that works for you :jumpy:



romy_1986 posted 2003 Feb 19 16:14
...i have one more question howver....how can i open files mpeg 2 files in vdub....cause wen i played the movie (downloaded elecard codec for mpeg2) it was out of sync. this time wat i did was i extracted just the wav audio from the movie and the avi video seperately...then i encoded them in tmpgnc 2.59 and wen i played the movie the audio was out of sync by like 3 secs so i tried to open the mpeg 2 file in vdub and an error came up and said

MPEG Import Filter: pack syncoronization error

how can i fix the movie is there a better guide for convertin xvid to svcd..please help in any way thanks alot once again



robdob posted 2003 Feb 20 01:12
I have been unable to locate the error log. All I've been able to do is scan for errors. It tells me 33 bad frames. I don't know how to access them to delete them. Please tell me how??? Please!!!!!


frink posted 2003 Feb 20 01:35
Search your computer for "c:\badframes.log".

Start
-Find
-Files or Folders
-Type- c:\badframes.log
-double click on file

Then use the guide to delete the frames. :D



tenders posted 2003 Feb 20 09:31
romy_1986 :
...i have one more question howver....how can i open files mpeg 2 files in vdub....cause wen i played the movie (downloaded elecard codec for mpeg2) it was out of sync. this time wat i did was i extracted just the wav audio from the movie and the avi video seperately...then i encoded them in tmpgnc 2.59 and wen i played the movie the audio was out of sync by like 3 secs so i tried to open the mpeg 2 file in vdub and an error came up and said

MPEG Import Filter: pack syncoronization error

how can i fix the movie is there a better guide for convertin xvid to svcd..please help in any way thanks alot once again


virtual dub will not play mpeg2,you need a software dvd player for that. :wscared:



tenders posted 2003 Feb 20 09:34
robdob :
I have been unable to locate the error log. All I've been able to do is scan for errors. It tells me 33 bad frames. I don't know how to access them to delete them. Please tell me how??? Please!!!!!





as frink said: look for it in:"c:\badframes.log".



Rawest Illest Cat posted 2003 Mar 10 03:54
I've followed your guide to the T, but when I'm looking for the bad frames of my movie file with VDub, it freezes and crashes the program. Could the fact that my file is XviD have anything to do with it? Please help. thanks


tenders posted 2003 Mar 10 11:07
you are using Vdub-mp3 freeze right?

xvids have worked fine for me.



Laddydaddy posted 2003 Mar 10 11:14
To Rawest Illest Cat,
There are more than one Xvid codec available. From the tools section on the left download gspot. Open it up and load your avi file into it. Gspot will analyze the file and tell you which codec is used in the film. It will also tell you if you have that particular codec installed in your computer. If vdub mp3freeze is crashing, chances are you don't have the right codec in your system. :P



frink posted 2003 Mar 16 10:45
Tenders wrote:
"the only suggestion i have is to raise the priorities of the vfapi plug ins in tmpgenc. hope that works for you"

What settings do you suggest I raise? I have now converted a second XVID and the sound is barely audible.



Dibs posted 2003 Mar 17 11:59
First of all I can't find the Badframes.log file. AND I have searched, the whole computer. Is there a way to tell where to save this?

Another thing, since you know a whole lot more than me, I get 200 something frames that are "undecodeable" - what does this mean?

I have real problems converting Xvid files into mpg files. I tried to use TMPG (all versions), but I get various problems. One of em is a freeze of the movie after about 45 min into the movie. This I think is caused by a bad frame.

And a last Question to all of U, How do U convert Xvid's to VCD/Mpg.
Is there a secret, doing this easier than another, something to make my life worth living again. I'm almost ripping my head off. These movies turns me crazy.

Is it so hard to get an Avi file, either it is a Xvid or a DivX or anything, to convert it into a VCD, so I can see it on my really expensive DVD player.

If anybody could help me, well, I would be happy to donate some money or help back, whatever you want. But first I got to get it right. Right?

Am happy to Donate 50-100$ to my saving angel (take a look, do you have wings on your back?)
DIBS



tenders posted 2003 Mar 17 14:45
Dibs :
First of all I can't find the Badframes.log file. AND I have searched, the whole computer. Is there a way to tell where to save this?

Another thing, since you know a whole lot more than me, I get 200 something frames that are "undecodeable" - what does this mean?

I have real problems converting Xvid files into mpg files. I tried to use TMPG (all versions), but I get various problems. One of em is a freeze of the movie after about 45 min into the movie. This I think is caused by a bad frame.

And a last Question to all of U, How do U convert Xvid's to VCD/Mpg.
Is there a secret, doing this easier than another, something to make my life worth living again. I'm almost ripping my head off. These movies turns me crazy.

Is it so hard to get an Avi file, either it is a Xvid or a DivX or anything, to convert it into a VCD, so I can see it on my really expensive DVD player.

If anybody could help me, well, I would be happy to donate some money or help back, whatever you want. But first I got to get it right. Right?

Am happy to Donate 50-100$ to my saving angel (take a look, do you have wings on your back?)
DIBS


well you obviously didn't read the guide,let alone follow it,judging from your post,so maybe you should do that first!



AD421 posted 2003 Mar 21 16:05
ok first of all for all of u who can't find the log go to http://www.digital-digest.com/dvd/downloads/virtualdub.html and scroll down till u see vdub mp3 freeze and download that not the regular vdub.


ZippyP. posted 2003 Mar 22 15:38
I think it might be a good idea to include at the start of the guide a small paragraph on deleting bad frames using regular Vdub. You mention regular Vdub but don't give the basic steps how it works. Beginners need things spelled out for them and it might cut down on some repetitive posts. :) 8)


tenders posted 2003 Mar 22 18:49
ZippyP. :
I think it might be a good idea to include at the start of the guide a small paragraph on deleting bad frames using regular Vdub. You mention regular Vdub but don't give the basic steps how it works. Beginners need things spelled out for them and it might cut down on some repetitive posts. :) 8)


my guide is not about the regular vdub.if people want that then they can check the other guides or do a search.

intrerestingly enough,i find myself useing "vdub mp3 freeze",more and more lately. i find it actually works better. :jester:



ellebear posted 2003 Mar 24 19:56
Hi guys,

I beleive I have bad frames too. I'm following the guide but I It only loads about 43,000KB instead of loading the whole 700,000KB.

I used normal Vdub and it didn't have a problem loading the whole file, but it crashed half way through the 'check for bad frames' process.

My file is 'The Lord of the Rings CD 1 Xvid.avi' and I really want to load it into Vdub MP3 freeze. Could it be that the actual program is corrupt?

I even downloaded Gspot as it was suggested in a previous post and I have all the necessary codecs.

Any suggestions would be appreciated

Kinds Regards,

Elle :?



ellebear posted 2003 Mar 27 15:57
Don't worry everyone, I finally encoded the file.

It took 2 weeks to fix but gosh I've learnt so much especially from this forum. You guys all rock.

Just incase anyone else has a similar problem, I downloaded ffdshow and a program called AVIC.exe and changed the AVI file from Xvid to DIVX. Then I saved the audio to WAV using Vdub (normal version), loaded both AVI & WAV files into TMPGEnc and encoded as usual. Oh my gosh, no problems at all. I didn't even have to scan for bad frames. TMPGEnc automically fixed them all. :)

Happy encoding everyone

Elle :D :D



ZippyP. posted 2003 Mar 27 16:25
elllebear, thanks for sharing! :) 8) :)


tenders posted 2003 May 03 15:37
Ahmed :
I have seen this guide before,wasn´t it made by that banned guy?


no it was made by me :pc:



EnNiS posted 2003 May 18 13:41
whois that banned guy??

what was his nick
wat was he baned for??



zero_net posted 2003 May 21 21:26
It doesn't work for me !!!!!!!
I deleted all bad frames, saved as AVI

and through the video off 20 minutes ahead and still played the bad frames



KaNut posted 2003 May 22 10:42
In Version VDub 1.5.3 is " Video > Scan Video stream for errors" the same has "Video > Check video for freezes" ? or i'am using the wrong VDub?


tenders posted 2003 May 22 11:19
KaNut :
In Version VDub 1.5.3 is " Video > Scan Video stream for errors" the same has "Video > Check video for freezes" ? or i'am using the wrong VDub?


its best to use the mp3 freeze one. you can sometimes run into problems if you use the regular vdub,when your file has mp3 audio.



Fozzee posted 2003 May 30 11:17
Sorry wrong post.


videocheez posted 2003 Jun 02 20:16
Cool little guide. I tried it and it was straight forward. I've been reading about vdubmp3 and it's nice to see the instructions spelled out. Does this method of deleting frames also manage to delete the corresponding audio portion? The last Xvid that I worked on had a few bad frames and I followed the old method of scanning for errors in virtual dub, resaving the new avi and then saving out the wav with nandub and then using cce and tmpge to encode to mpeg2 and no matter what I did, I experienced gradual sync. problems. I'm hpoing that making the deleteted portion from key frame to key frame rather than simply deleting the bad frames will eliminate the sync. problem.

Thanks in advance,

VC



tenders posted 2003 Jun 02 21:41
videocheez :
Cool little guide. I tried it and it was straight forward. I've been reading about vdubmp3 and it's nice to see the instructions spelled out. Does this method of deleting frames also manage to delete the corresponding audio portion? The last Xvid that I worked on had a few bad frames and I followed the old method of scanning for errors in virtual dub, resaving the new avi and then saving out the wav with nandub and then using cce and tmpge to encode to mpeg2 and no matter what I did, I experienced gradual sync. problems. I'm hpoing that making the deleteted portion from key frame to key frame rather than simply deleting the bad frames will eliminate the sync. problem.

Thanks in advance,

VC



thanks!,but if you already tried my guide,why do you ask if it deletes the audio portion too :?:

you should already know this by now :!:



videocheez posted 2003 Jun 02 22:23
I have only tried to delete the frames. I haven't yet encoded the fixed avi to mpeg2 yet. I just wanted to compliment your guide and see if you had an additional words of wisdom based on my comments. But I can tell that your getting tired of answering questions since you answered my question with a question.

Thanks anyways.

VC



tenders posted 2003 Jun 02 22:28
videocheez :
I have only tried to delete the frames. I haven't yet encoded the fixed avi to mpeg2 yet. I just wanted to compliment your guide and see if you had an additional words of wisdom based on my comments. But I can tell that your getting tired of answering questions since you answered my question with a question.

Thanks anyways.

VC


sorry if i sounded like that? to answer your question; if you follow my guide,you will be o.k. ....i promise :)



King-John posted 2003 Jun 04 17:33
tenders, for someone who has the cheek to call this "his guide" when it was I who posted it here a long time ago, and since removed it to my own site. I don't make it a habit of coming back to complain when someone steals my work, but am getting quite fed of with the large number of emails from this forum telling me about this rip off.

If your going to copy peoples guides, at leased make some changes so they don't stand out as a copy, just look at those frame numbers, which was posted by me here in this forum and now updated at my own site.

http://homepage.ntlworld.com/kingjohns-guides/guides/badframes.html


Sorry people, had to be said



vitualis posted 2003 Jun 05 01:24
KingJohn, for someone who has left (twice), you sure like to come back...

The information in "your" guide is a general method and common knowledge. Since you requested that the exact guide written by you to be removed, there is no reason why someone else can't write another similar one.

Please just leave once and for all.

Regards.



tenders posted 2003 Jun 05 06:30
vitualis :
KingJohn, for someone who has left (twice), you sure like to come back...

The information in "your" guide is a general method and common knowledge. Since you requested that the exact guide written by you to be removed, there is no reason why someone else can't write another similar one.

Please just leave once and for all.

Regards.


thank you! well said.



Sakuya posted 2003 Jun 21 01:43
I have a corrupted file, but no VBR audio. I scanned using VDub for errors and it said it has 128 bad frames. How do I get rid of it since I don't have VBR audio? After I delete the bad frames, would the movie will chopped off in the part with the bad frames? :(


videocheez posted 2003 Jun 22 01:10
128 bad frames isn't bad. It sounds like alot but it will only end up being about 3-4 seconds of the movie and thats not very much.


93accordlx posted 2003 Jun 24 09:49
I tried your guide Tenders and had a question but after reading this post found out it looks like you do not like answering questions. I found a better guide that explains it in great detail. If you are going to take credit for making a guide then at least offer some support for it. :roll:

http://homepage.ntlworld.com/kingjohns-guides/guides/badframes.html

Thanks to kingjohn my movie is now working correctly.

93accordlx



tenders posted 2003 Jun 24 14:35
93accordlx :
I tried your guide Tenders and had a question but after reading this post found out it looks like you do not like answering questions. I found a better guide that explains it in great detail. If you are going to take credit for making a guide then at least offer some support for it. :roll:

http://homepage.ntlworld.com/kingjohns-guides/guides/badframes.html

Thanks to kingjohn my movie is now working correctly.

93accordlx


i will answer a question unless its obvious that the person:

1-did not follow my guide,or
2-the question was already answered by another poster.
3-thier was not enough details to answer.



lordkinbote posted 2003 Sep 01 05:57
I checked for bad frames but it didn't find any. It has no bad frames, but does have VBR audio. Your guide is for when bad frames have been found. Do you have any suggestions for when no bad frames are found, but still with VBR audio so I can encode it to SVCD in TMPGEnc without the audio going out of sync? Thanks.


Gandalf the Great posted 2003 Sep 01 15:21
After following your superb guide I removed all of the bad frames from my file, (LOTR Two Towers CD1). But for some really, really annoying reason it is out of sync ( Video about a second before audio). Any idea's how I could either avoid this problem or solve it.
Thanks alot, any help would be great!!!



videocheez posted 2003 Sep 01 15:58
After deleting bad frames, try saving out the avi with no audio. Select direct stream copy for video and audio and save new avi with no audio. Then use that avi with no audio to mux with the wav that you would have already extracted using vdub. I used to always mux using an avi that contained audio with a wav and i would get sync problems 25% of the time. I dont know why, but ever since i sarted muxing an avi( video only) with my wav I havent had any more sync problems.

Goodluck,

VC



tenders posted 2003 Sep 01 20:15
lordkinbote :
I checked for bad frames but it didn't find any. It has no bad frames, but does have VBR audio. Your guide is for when bad frames have been found. Do you have any suggestions for when no bad frames are found, but still with VBR audio so I can encode it to SVCD in TMPGEnc without the audio going out of sync? Thanks.


you can use the guide either way :)



tenders posted 2003 Sep 01 20:20
Gandalf the Great :
After following your superb guide I removed all of the bad frames from my file, (LOTR Two Towers CD1). But for some really, really annoying reason it is out of sync ( Video about a second before audio). Any idea's how I could either avoid this problem or solve it.
Thanks alot, any help would be great!!!


i have not had any sync problems when i use this method so i can't really speak to that.

i suggest you try what videocheez said,might just do the trick :)



lordkinbote posted 2003 Sep 01 22:33
tenders :
you can use the guide either way :)


But, if I don't do anything with bad frames, all that's left is to save the avi out with direct stream copy and doesn't the file end up the same afterwards? I mean, it's not changed at all.



lordkinbote posted 2003 Sep 01 22:36
I tried just saving it out with direct stream copy and, like I thought, when I load the new file into regular VirtualDub, it still gives the VBR warning.


Gandalf the Great posted 2003 Sep 02 04:54
videocheez :
After deleting bad frames, try saving out the avi with no audio. Select direct stream copy for video and audio and save new avi with no audio. Then use that avi with no audio to mux with the wav that you would have already extracted using vdub. I used to always mux using an avi that contained audio with a wav and i would get sync problems 25% of the time. I dont know why, but ever since i sarted muxing an avi( video only) with my wav I havent had any more sync problems.

Goodluck,

VC



I followed your idea but still the film is out of sync. A while ago I encoded this film and because of these problems i burnt into onto 4 vcd's. Each VCD finished before an error and the new one started after. In this way no parts were out of sync. But now I'm attempting to do this all again but onto one DVD. If I create 4 mpegs again and join them all up will they be out of sync (I've never tried this before!).
Thanks again.



tenders posted 2003 Sep 02 17:46
lordkinbote :
I tried just saving it out with direct stream copy and, like I thought, when I load the new file into regular VirtualDub, it still gives the VBR warning.


follow the guide(as if you did have bad frames),then do the direct stream copy for both audio and video,then save out as new avi. :fun:



lordkinbote posted 2003 Sep 02 18:31
tenders :


follow the guide(as if you did have bad frames),then do the direct stream copy for both audio and video,then save out as new avi. :fun:


That's what I'm saying. I opened the avi, checked for video freezes, it found no bad frames and there was nothing in the log to correct or delete so the only thing left, according to the guide, is to save the avi out using direct stream copy. I took the NEW avi that was made, loaded it into the regular version of VirtualDub and I still get the VBR warning. Am I overlooking something?



tenders posted 2003 Sep 02 21:37
lordkinbote :
tenders :


follow the guide(as if you did have bad frames),then do the direct stream copy for both audio and video,then save out as new avi. :fun:


That's what I'm saying. I opened the avi, checked for video freezes, it found no bad frames and there was nothing in the log to correct or delete so the only thing left, according to the guide, is to save the avi out using direct stream copy. I took the NEW avi that was made, loaded it into the regular version of VirtualDub and I still get the VBR warning. Am I overlooking something?


strange :?: :?: i have done it this way in the past, and also like you did,check with the regular vdub afterwards,in my case the vbr warning was gone. have you actually tried encoding the file,or are you guessing that it will go out of sync :?: if it is in sync as an avi,try loading the file into tmpg,as is,then encode it and see if this works. :)



lordkinbote posted 2003 Sep 02 21:49
well, I already tried encoding with TMPG first and they became out of sync but that was when I encoded them with wavs I saved out from VirtualDub. That's why I looked here for a possible solution. I didn't try it with getting both the video and audio straight from the avi, but I figured if it did that from a saved out file, it wouldn't do better straight from the avi although, who knows?

Yes, the original avis are in sync.



lordkinbote posted 2003 Sep 03 11:01
strangely enough, just encoding the video and audio straight from the avis kept them in sync. I assumed, as per past experience (from the first two avis in the series among other things) that it was because of the VBR that made it go out of sync so I would always save the wav out first and it would be fine. But, it seems in the later avis of this series, it's better to just encode them normally.


mcamp posted 2003 Oct 16 19:21
Everytime I try to run the "Check Video for Freezes" option, VDub-MP3 freezes and gives me an error.. The error states "VirtualDub has crashed due to a program error."

Has anyone else ever experienced this problem?

Thanks!!!



ZippyP. posted 2003 Oct 16 20:38
Yes, corrupt frames can cause all kinds of problems. If you know where the problem is then you may be able to edit out the bad frames with Vdub.


steve_levell posted 2003 Oct 21 15:10
I have a similar problem with a divx freezing with tmpenc and used vdub mpeg to check the frames but there are no bad frames. I have raised the priority of the Direct Show Multimedia File Reader but that has not helped. Any suggestions please ?


jgandara posted 2003 Dec 17 14:40
I have created a small program to automate this process to remove bad frames. It only runs in windows. It was created using the dot net framework (available from Microsoft).

These is how it works:
+ Enter the name of the video file, the location of the error log
+ It will create all the steps needed for virtualdub to do the cutting, based on the bad frames, it analizes the log file and decides what frames to remove.
+ You can execute the steps, what I'm doing is sending keystrokes to virtualdub to do the editing, so you will ned to leave your computer alone.

If anybody is interested, let me know.

It also let you select a list of files, and you can automate it to select each file, and add it to the job list. Here you can get errors of compatibility, but at least you can select multiple files and do it automatically.

This program is pretty rigid, it works as if you were entering the keystroks, so if an error message show up, it's certain that you won't get the results u want.



cooljoe666 posted 2003 Dec 29 23:32
Anyone following this outdated guide listen here:

This is a very long process. It takes forever to scan the file because it logs almost every damn frame in there. You ened up hacking away too many frames. I have a better solution that works for me every time.

I just load up the avi file in Virtualdub MOD....choose NO for the vbr warning because it alters the file. The choose 'scan errors'. The time it takes is far less than vd mp3 freeze. Once done it will show if there were any bad frames at the bottom of the main screen. If so, go back to the 'scan errors' box and notice 'show bad frames'. Click it. It will list the bad frames, write them down. If there were no bad frames you have 2 options, either believe there were no bad frames OR try the method above. Sometimes virtualdub doesn't see 1 error that was present and that one error can throw off the audio. The best thing to do is, if there were no errors found, then set the audio to FULL PROCESSING and the video to DIRECT STREAM and save the new AVI. Then play the file in a media player and skip to different parts of the move all the way to the end to make sure the audio is in sync. I always do this with every file I create just to make sure. If the audio is off in the middle it will be off all the way to the end.

If virtualdubMOD found errors then look at the first bad frame you wrote down and choose GOTO and put in the first bad frame and click ok. Then click the MARK IN button. Then GOTO then next frame you wrote. Click NEXT KEYFRAME button and then click MARK OUT. Then go up in the menu and choose DELETE. This will wipe out the bad frames as well as the audio with it. Do the same with every bad frame you wrote. Once you are finished then choose FULL PROCESSING audio, and DIRECT STREAM video and save the new avi.
NOTE: Don't close out MOD just yet. Check the new file to make sure there are no sync problems. If there are then delete the new file and go back to MOD to do some more. Sometimes Virtualdub will see an error but will miss a bad frame and list the following frame, FOR EXAMPLE: frame 26987 may be in the list when 26986 may have been bad. This can still cause a problem. What you can do is move(or GOTO) a point alittle ways before each bad frame you wrote and then play the file within MOD(or use the scan buttons) and you can visually spot a problem a frame at a time.

Hope you get it.

I have had to do this to so many crappy encoded avi's but i always end up with a perfectlt encoded SVCD.



tenders posted 2003 Dec 31 09:07
cooljoe666 :
Anyone following this outdated guide listen here:

This is a very long process. It takes forever to scan the file because it logs almost every damn frame in there. You ened up hacking away too many frames. I have a better solution that works for me every time.

I just load up the avi file in Virtualdub MOD....choose NO for the vbr warning because it alters the file. The choose 'scan errors'. The time it takes is far less than vd mp3 freeze. Once done it will show if there were any bad frames at the bottom of the main screen. If so, go back to the 'scan errors' box and notice 'show bad frames'. Click it. It will list the bad frames, write them down. If there were no bad frames you have 2 options, either believe there were no bad frames OR try the method above. Sometimes virtualdub doesn't see 1 error that was present and that one error can throw off the audio. The best thing to do is, if there were no errors found, then set the audio to FULL PROCESSING and the video to DIRECT STREAM and save the new AVI. Then play the file in a media player and skip to different parts of the move all the way to the end to make sure the audio is in sync. I always do this with every file I create just to make sure. If the audio is off in the middle it will be off all the way to the end.

If virtualdubMOD found errors then look at the first bad frame you wrote down and choose GOTO and put in the first bad frame and click ok. Then click the MARK IN button. Then GOTO then next frame you wrote. Click NEXT KEYFRAME button and then click MARK OUT. Then go up in the menu and choose DELETE. This will wipe out the bad frames as well as the audio with it. Do the same with every bad frame you wrote. Once you are finished then choose FULL PROCESSING audio, and DIRECT STREAM video and save the new avi.
NOTE: Don't close out MOD just yet. Check the new file to make sure there are no sync problems. If there are then delete the new file and go back to MOD to do some more. Sometimes Virtualdub will see an error but will miss a bad frame and list the following frame, FOR EXAMPLE: frame 26987 may be in the list when 26986 may have been bad. This can still cause a problem. What you can do is move(or GOTO) a point alittle ways before each bad frame you wrote and then play the file within MOD(or use the scan buttons) and you can visually spot a problem a frame at a time.

Hope you get it.

I have had to do this to so many crappy encoded avi's but i always end up with a perfectlt encoded SVCD.


if you don't like my guide,then why not write one of your own :?: however,this thread is not the place to do it :evil:



bep1291 posted 2004 Feb 28 09:29
Where is the program v-dub MP3 Freeze?
I can only find links to the vanilla non-modified version of V-dub.
Thanks if anyone has it. And what happened to it?
email: kewl_guy@hotmail.com



tenders posted 2004 Mar 02 09:28
bep1291 :
Where is the program v-dub MP3 Freeze?
I can only find links to the vanilla non-modified version of V-dub.
Thanks if anyone has it. And what happened to it?
email: kewl_guy@hotmail.com



you can find it here: http://www.dvdrhelp.com/tools?tool=73#comments



KeathJones posted 2004 Aug 28 18:35
Or here
http://www.movieking.yourhobbies.co.uk/files/index.php?action=file&id=4

where this guide was ripped from

Signature removed.
/ Moderator Cobra



dexyweescot posted 2004 Sep 09 17:50
in this post hasnt it missed the bit about masking the bad frames and also i used this guide down to a t and it still crashed tmpge xpress during encoding. just trying to get my head round this as there are a lot of films available with bad frames more the pity...

:cry:



tenders posted 2004 Sep 11 14:08
dexyweescot :
in this post hasnt it missed the bit about masking the bad frames and also i used this guide down to a t and it still crashed tmpge xpress during encoding. just trying to get my head round this as there are a lot of films available with bad frames more the pity...

:cry:


i have never used this with tmpg xpress. i would recommend trying the regular tmpg or the plus version.



dexyweescot posted 2004 Sep 14 16:47
does it make any difference if u do both scan for unreadable frames and freeze frames in both versions...

im going nuts!!!



mjanspacher posted 2008 Sep 15 21:34
Unfortunately, this method doesn't do SQUAT to FIX the VBR problem - the direct stream output of both video and audio still leave the audio in VBR!

Ah, well - now I know how to get rid of the freeze frames at least - and thanks for that!




Login/Register to our forum to be able to post here.








About   Advertise   Forum Archive   RSS Feeds   Statistics