VideoHelp Forum

Try DVDFab and copy Ultra HD Blu-rays and DVDs! Or rip iTunes movies and music! Download free trial !
+ Reply to Thread
Results 1 to 7 of 7
Thread
  1. I'm trying to load a TGA sequence with this script.

    a = ImageSource("F:\SteamLibrary\steamapps\common\Coun ter-Strike Source\cstrike\tap0000.tga", 0, 300, 300)
    b = ImageSource("F:\SteamLibrary\steamapps\common\Coun ter-Strike Source\cstrike\tap0000.tga", 301, 600, 300)
    c = ImageSource("F:\SteamLibrary\steamapps\common\Coun ter-Strike Source\cstrike\tap0000.tga", 601, 900, 300)

    video = (a + b + c).ConvertToYV12().AssumeFPS(300)
    bV = video.MVAnalyse(isb=true, truemotion=true)
    fV = video.MVAnalyse(isb=false, truemotion=true)

    video = video.MVFlowBlur(bV, fV, blur=200).TemporalSoften(1, 255, 255, 50, 2)

    Here's the output, any ideas?

    Image
    [Attachment 54795 - Click to enlarge]
    Quote Quote  
  2. You need to fix your ImageSource syntax, otherwise it won't load an image sequence

    "%04d" because 4 digits
    Code:
    tap%04d.tga
    Check if each line works

    Certain recent versions of avisynth+ have issues with "implied last"

    Start with

    Return a
    Quote Quote  
  3. Originally Posted by poisondeathray View Post
    You need to fix your ImageSource syntax, otherwise it won't load an image sequence

    "%04d" because 4 digits
    Code:
    tap%04d.tga
    Check if each line works

    Certain recent versions of avisynth+ have issues with "implied last"

    Start with

    Return a
    Fixed the syntax but it remains the same.
    Quote Quote  
  4. try
    Code:
    return Video
    Are they numbered like this ?
    tap0000.tga
    tap0001.tga
    tap0002.tga
    .
    .

    Is your path correct? There is a space in "Coun ter"


    Does this line only return a video ? Without the space

    Code:
    ImageSource("F:\SteamLibrary\steamapps\common\Counter-Strike Source\cstrike\tap0000.tga", 0, 300, 300)
    Quote Quote  
  5. Originally Posted by poisondeathray View Post
    try
    Code:
    return Video
    Are they numbered like this ?
    tap0000.tga
    tap0001.tga
    tap0002.tga
    .
    .

    Is your path correct? There is a space in "Coun ter"


    Does this line only return a video ? Without the space

    Code:
    ImageSource("F:\SteamLibrary\steamapps\common\Counter-Strike Source\cstrike\tap0000.tga", 0, 300, 300)
    "return Video" worked but when I try to open the script in vdubmod, I get this.

    Image
    [Attachment 54796 - Click to enlarge]
    Quote Quote  
  6. Try vdub2 . Use the matching version x86 or x64 , the same as your avisynth install
    Quote Quote  
  7. Why are you splitting a,b,c ? Loading them separately ? Does it go from 0 to 900 ?

    It also looks like you're using old version of mvtools ; not mvtools2

    This is what it should look like with mvtools2
    Code:
    ImageSource("F:\SteamLibrary\steamapps\common\Counter-Strike Source\cstrike\tap%04d.tga", 0, 900, 300)
    ConvertToYV12(matrix="rec709")
    super = MSuper()
    backward_vectors = MAnalyse(super, isb = true)
    forward_vectors = MAnalyse(super, isb = false)
    MFlowBlur(super, backward_vectors, forward_vectors, blur=200)
    TemporalSoften(1, 255, 255, 50, 2)
    Quote Quote  



Similar Threads