12-10-2002, 04:48 PM
|
Free Member
|
|
Join Date: May 2002
Posts: 174
Thanks: 0
Thanked 0 Times in 0 Posts
|
|
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.
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?
__________________
Thanks!
reman
|
Someday, 12:01 PM
|
|
Site Staff / Ad Manager
|
|
Join Date: Dec 2002
Posts: 42
Thanks: ∞
Thanked 42 Times in 42 Posts
|
|
|
12-10-2002, 04:54 PM
|
Free Member
|
|
Join Date: Apr 2002
Location: Puerto Rico, USA
Posts: 13,537
Thanks: 0
Thanked 0 Times in 0 Posts
|
|
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
|
12-10-2002, 05:03 PM
|
Free Member
|
|
Join Date: May 2002
Posts: 174
Thanks: 0
Thanked 0 Times in 0 Posts
|
|
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.
Strange thing is that avi2mpg2_vfw will convert it and does not see the error. It loaded only the Video portion.
__________________
Thanks!
reman
|
12-10-2002, 09:01 PM
|
Free Member
|
|
Join Date: Jul 2002
Posts: 1,224
Thanks: 0
Thanked 0 Times in 0 Posts
|
|
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
|
12-10-2002, 09:35 PM
|
Free Member
|
|
Join Date: May 2002
Posts: 174
Thanks: 0
Thanked 0 Times in 0 Posts
|
|
First, THANKS! I will give that a try! BTW is there a AVS script glossary around?
Quote:
Originally Posted by black prince
# ------ Resize ------
BilinearResize(528,480)
TemporalSmoother(1,2)
AddBorders(0,0,0,0)-black prince
|
I have the following and was wondering if I still would use the TemporalSmoother line?
Quote:
BilinearResize(336,160,0,0,576,304)
#TemporalSmoother(2,2)
AddBorders(8,40,8,40)
|
Can the WAV file be an MP2 file?
__________________
Thanks!
reman
|
12-10-2002, 10:48 PM
|
Free Member
|
|
Join Date: May 2002
Posts: 174
Thanks: 0
Thanked 0 Times in 0 Posts
|
|
Okay, I found the following:
Quote:
FreezeFrame(clip, int first_frame, int last_frame, int source_frame)
The FreezeFrame filter replaces all the frames between first-frame and last-frame with a copy of source-frame. The sound track is not modified. This is useful for covering up glitches in a video in cases where you have a similar glitch-free frame available.
|
How do I use it to replace the 7 bad frames ?
__________________
Thanks!
reman
|
12-11-2002, 12:22 AM
|
Free Member
|
|
Join Date: Jul 2002
Posts: 1,224
Thanks: 0
Thanked 0 Times in 0 Posts
|
|
|
12-11-2002, 12:24 AM
|
Free Member
|
|
Join Date: Nov 2002
Location: West Australia
Posts: 272
Thanks: 0
Thanked 0 Times in 0 Posts
|
|
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.
|
12-11-2002, 04:07 PM
|
Free Member
|
|
Join Date: May 2002
Posts: 174
Thanks: 0
Thanked 0 Times in 0 Posts
|
|
Thank you to everyone for their input!
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!
SIDE NOTE: the finished output file is the whole video BUT NO audio.
__________________
Thanks!
reman
|
All times are GMT -5. The time now is 08:09 AM — vBulletin © Jelsoft Enterprises Ltd
|