Scripting

This forum is for questions and discussion of all the aspects of handling and cleaning up your footage with Avisynth.
Locked
User avatar
Vax
Sexy black guy
Joined: Sat Oct 11, 2008 11:14 am
Status: Chayin
Location: New York
Org Profile

Post by Vax » Sun Oct 19, 2008 8:34 pm

Autraya wrote:avisource("C:\yourblargfolder\yourblargfile.avi")
#deint = TDeint(mode=2, mtnmode=3, blim=100)
#TFM(pp=0, cthresh=4, clip2=deint)
#TDecimate()
#AssumeFPS(24)
#LanczosResize(640,352)
#ConvertToRGB32()
Still no luck.

User avatar
Vax
Sexy black guy
Joined: Sat Oct 11, 2008 11:14 am
Status: Chayin
Location: New York
Org Profile

Post by Vax » Sun Oct 19, 2008 8:35 pm

Sorry for that double post

User avatar
Kariudo
Twilight prince
Joined: Fri Jul 15, 2005 11:08 pm
Status: 1924 bots banned and counting!
Location: Los taquitos unidos
Contact:
Org Profile

Post by Kariudo » Sun Oct 19, 2008 9:03 pm

back from my google-fu meditation

it sounds like your avi file doesn't have a header, and avirepair pops up a lot for this problem.

you'll need an avi file with at least as many frames as your non-working avi file
get gspot, it'l give you all the information you need.

then, make a new avs script with the following line

Code: Select all

blankclip(length=2400,width=720,height=480,fps=24)
replace length with the number of frames gspot tells you
width and height with the width and height gspot tells you
fps with the Frames/s that gspot tells you

all that information is in the right part of the gspot window (just keep looking til you find it)

open that script in vdubmod, and save as. You can then use that "blank" avi file to give your non-working avi file a good header
Image
Image

User avatar
Vax
Sexy black guy
Joined: Sat Oct 11, 2008 11:14 am
Status: Chayin
Location: New York
Org Profile

Post by Vax » Sun Nov 02, 2008 11:58 am

Kariudo wrote:you'll need an avi file with at least as many frames as your non-working avi file
get gspot, it'l give you all the information you need.
Explain more?

User avatar
Kariudo
Twilight prince
Joined: Fri Jul 15, 2005 11:08 pm
Status: 1924 bots banned and counting!
Location: Los taquitos unidos
Contact:
Org Profile

Post by Kariudo » Sun Nov 02, 2008 2:46 pm

there's not much more to explain

-your avi file isn't working
-the solution to your problem means that you need a good avi file with the same footage properties as your bad one
-gspot tells you your footage properties
Image
Image

User avatar
Vax
Sexy black guy
Joined: Sat Oct 11, 2008 11:14 am
Status: Chayin
Location: New York
Org Profile

Post by Vax » Sun Nov 02, 2008 2:50 pm

Kariudo wrote:there's not much more to explain

-your avi file isn't working
-the solution to your problem means that you need a good avi file with the same footage properties as your bad one
-gspot tells you your footage properties
What I dont get is If I have an Avi file that isnt working how can I have a good one?

User avatar
Kariudo
Twilight prince
Joined: Fri Jul 15, 2005 11:08 pm
Status: 1924 bots banned and counting!
Location: Los taquitos unidos
Contact:
Org Profile

Post by Kariudo » Sun Nov 02, 2008 3:15 pm

Kariudo wrote: then, make a new avs script with the following line

Code: Select all

blankclip(length=2400,width=720,height=480,fps=24)
replace length with the number of frames gspot tells you
width and height with the width and height gspot tells you
fps with the Frames/s that gspot tells you

all that information is in the right part of the gspot window (just keep looking til you find it)

open that script in vdubmod, and save as. You can then use that "blank" avi file to give your non-working avi file a good header
^that's how
you are using avisynth to create a blank clip, and vdubmod to save it as an avi file (which you can then use in that program that fixes avi files, hence you've just created a 'good' avi file)
Image
Image

User avatar
Vax
Sexy black guy
Joined: Sat Oct 11, 2008 11:14 am
Status: Chayin
Location: New York
Org Profile

Post by Vax » Sun Nov 02, 2008 3:58 pm

Kariudo wrote:
Kariudo wrote: then, make a new avs script with the following line

Code: Select all

blankclip(length=2400,width=720,height=480,fps=24)
replace length with the number of frames gspot tells you
width and height with the width and height gspot tells you
fps with the Frames/s that gspot tells you

all that information is in the right part of the gspot window (just keep looking til you find it)

open that script in vdubmod, and save as. You can then use that "blank" avi file to give your non-working avi file a good header
^that's how
you are using avisynth to create a blank clip, and vdubmod to save it as an avi file (which you can then use in that program that fixes avi files, hence you've just created a 'good' avi file)
:lol: Its all making sense now

Locked

Return to “AviSynth Help”