Bad frames how to cut out and keep audio in sync
Hello All!
I have a DivX that has 7 bad frames about 75% into the video. Frames 81452-81458. Normally, I would delete them and finish up. HOWEVER, this DivX has VBR audio. :evil: I normally save the VBR audio out as a wav and then convert it to an MP2 with BeSweet. How do I handle this? Is it possible to duplicate frames on either side and REPLACE the bad frames? IE take frames 81449-81451 and replace 81452/53/54 then take 81459-62 and replace 81455/56/57/58? 8O :? :( 8O |
There is a program called "AntiFreeze" that helps when there are bad frames on a AVI. Don't know if that would help. Here's the link: http://www.tac.ee/~prr/videoutils/
-kwag |
I will try that out. I did try AVIDeFreeze and I must say I do not understand how it works.
FOLLOWUP: I tried the DivX thing and it did nothing for VDub... still have that -100 bad frame(s) error. :cry: Strange thing is that avi2mpg2_vfw will convert it and does not see the error. It loaded only the Video portion. :cry: |
Hi Reman,
Here's an avs script that may help you: LoadPlugin("E:\DVD Backup\MPEG2DEC2.dll") # video=avi2source("D:\Temp\avseq01.avi") audio=WAVSource("D:\Temp\avseq01.wav") # part1=trim(AudioDub(video,audio),0,81452) part2=trim(AudioDub(video,audio),81458,0) # clip1=part1+part2 # # ------ Resize ------ BilinearResize(528,480) TemporalSmoother(1,2) AddBorders(0,0,0,0) Extract the wav file with VirtualDub using uncompressed option. This script should remove the bad frames and keep the audio in sync with video. With Tmpgenc check advanced --> source range to see if the frames have been removed. :) -black prince |
First, THANKS! I will give that a try! BTW is there a AVS script glossary around?
Quote:
Quote:
|
Okay, I found the following:
Quote:
|
|
Hey Reman,
If I'm not mistaken "Nandub" handles vbr audio you can get it here it is a modifaction to Virtualdub so if you are familiar with vdub you wont have a problem with this. |
Thank you to everyone for their input! :D
I did solve the problem by getting AVIDefreezer to work. It "fixes" the bad frames by making them readable. However, the bad data problem is still in the frame as an area that has no detail. It can be 1 little block in the frame or large areas. So, if you got a DivX that needs a few frames fixed...AVIDefreezer does work! :lol: 8) :lol: SIDE NOTE: the finished output file is the whole video BUT NO audio. |
Site design, images and content © 2002-2024 The Digital FAQ, www.digitalFAQ.com
Forum Software by vBulletin · Copyright © 2024 Jelsoft Enterprises Ltd.