VideoHelp Forum




+ Reply to Thread
Results 1 to 12 of 12
  1. does anyone know why I get the following error when using avisynth with CCE 2.67

    "unrecognized exception! (G:\decoys.avs, line4)"

    with the following script

    LoadPlugin("C:\windows\system32\mpeg2dec.dll")
    LoadPlugin("C:\windows\system32\decomblegacy.dll")
    avisource("K:\X.requests\decoys.ac3.cd2.avi")
    BicubicResize(704,300,0.0,0.0)
    AddBorders(0,90,0,90)
    ResampleAudio(44100)

    when i remove the resize line, it works. there's just some movies it wont work (cd1 of this one worked btw). how do I find out why it wont take the BicubicResize line with certain movies? how do I fix it?

    tx
    Quote Quote  
  2. Originally Posted by hypersucker
    BicubicResize(704,300,0.0,0.0)
    BicubicResize(clip, int target_width, int target_height, float "b", float "c")

    I've never seen float "c" as zero, is it allowed?

    Does "BicubicResize(704,300,0,0.5)" work?
    Quote Quote  
  3. nah, doesnt work either. as said, it works with 0 on most files. just on some i get a total frame count of 240 when adding the script to CCE. tx 4 the try tou
    Quote Quote  
  4. Member
    Join Date
    Jun 2002
    Location
    United States
    Search Comp PM
    a target width of 300 is not allowed in CCE. It must be a standard dvd target height. Try 480 or 240.
    Quote Quote  
  5. Member FulciLives's Avatar
    Join Date
    May 2003
    Location
    Pittsburgh, PA in the USA
    Search Comp PM
    Originally Posted by hypersucker
    does anyone know why I get the following error when using avisynth with CCE 2.67

    "unrecognized exception! (G:\decoys.avs, line4)"

    with the following script

    LoadPlugin("C:\windows\system32\mpeg2dec.dll")
    LoadPlugin("C:\windows\system32\decomblegacy.dll")
    avisource("K:\X.requests\decoys.ac3.cd2.avi")
    BicubicResize(704,300,0.0,0.0)
    AddBorders(0,90,0,90)
    ResampleAudio(44100)

    when i remove the resize line, it works. there's just some movies it wont work (cd1 of this one worked btw). how do I find out why it wont take the BicubicResize line with certain movies? how do I fix it?

    tx
    Load the AviSynth AVS script into VirtualDubMod and it will tell you exactly what line of the script is causing the problem.

    I never use BicubicResize myself so I really don't know but your formating there might be off.

    I usually use LanczosResize which would look like this:

    LanczosResize(704,300)

    Also I don't think you need the resample line there as that was a "bug fix" for an older version of CCE to make it work correctly with AviSynth.

    - John "FulciLives" Coleman

    P.S.
    Why do you have the LoadPlugin for decomb yet you do not "call upon" any decomb feature?
    "The eyes are the first thing that you have to destroy ... because they have seen too many bad things" - Lucio Fulci
    EXPLORE THE FILMS OF LUCIO FULCI - THE MAESTRO OF GORE
    Quote Quote  
  6. decomblegacy.dll is an indicator that he's using AviSynth 2.0.

    I can't seem to find the AviSynth 2.0 manual right now but was LanczosResize() an available function of AviSynth 2.0?

    And just how does using AviSynth 2.0 impact the line;
    BicubicResize(704,300,0.0,0.0)

    Is the AviSynth 2.0 Manual posted somewhere?
    Quote Quote  
  7. tx to you all so far. upgraded to avisynth 2.5, removed some parts of the script, looks like this now;

    LoadPlugin("C:\windows\system32\MPEG2Dec3dg.dll")
    avisource("K:\X.requests\mm-decoys.xvid.avi")
    BicubicResize(704,300,0.0,0.0)
    AddBorders(0,90,0,90)

    now i get another error. AVIsource: could not decompress frame 0

    the script works on other movies, again. like this one:

    LoadPlugin("C:\windows\system32\MPEG2Dec3dg.dll")
    avisource("K:\X.requests\fico-fot-xvid.avi")
    BicubicResize(480,260,0.0,0.0)
    AddBorders(0,158,0,158)

    they're both xvid's and seem to use the same codec as far as I can tell. Virtualdub tells me the vids are okay, just that it cant decode all frames of the one not being accepted by CCE too.
    WMP or any other player on my system play the troubling movie though.

    any more ideas?
    Quote Quote  
  8. btw, the movies that dont work check out in virtualdub as totally corrupt. meaning every single frame shows as a frame freeze. they are okay when played in any software.
    Quote Quote  
  9. Originally Posted by hypersucker
    tx to you all so far. upgraded to avisynth 2.5, removed some parts of the script, looks like this now;

    LoadPlugin("C:\windows\system32\MPEG2Dec3dg.dll")
    avisource("K:\X.requests\mm-decoys.xvid.avi")
    BicubicResize(704,300,0.0,0.0)
    AddBorders(0,90,0,90)

    now i get another error. AVIsource: could not decompress frame 0

    the script works on other movies, again. like this one:

    LoadPlugin("C:\windows\system32\MPEG2Dec3dg.dll")
    avisource("K:\X.requests\fico-fot-xvid.avi")
    BicubicResize(480,260,0.0,0.0)
    AddBorders(0,158,0,158)

    they're both xvid's and seem to use the same codec as far as I can tell. Virtualdub tells me the vids are okay, just that it cant decode all frames of the one not being accepted by CCE too.
    WMP or any other player on my system play the troubling movie though.

    any more ideas?
    Just wondering, how come your loading "MPEGDec3dg.dll" if your trying to read a Xvid-AVI? Isn't "MPEGDec3.dll" a MPEG-2 reader?

    If your loading an MPEG-2 plugin into memory unnecessarily, could it be interfereing with the XviD decoder? (occupying the same space in memory)

    The name, "MPEGDec3dg.dll" is also unfamiliar to me. The DLL in my DGMPGDec package is named "DGDecode.dll", while the plugin "MPEGDec3.dll" doesn't have a "dg" on the end of it. Did you type this script from memory, or is this the very same?
    Quote Quote  
  10. not too sure but I guess its not this filter that causes the problem. btw, check here

    http://www.avisynth.org/warpenterprises/

    as said, it used to work before and still works on about 16 out of 20 movies. since i can play the other 4 without problems in WMP, VLC, PowerDVD and so on, I assume they're okay too.

    when checking them in Vdub though, it says that every single frame is corrupt and i cant get a preview or go from key frame to key frame.

    I guess I have a codec problem somewhere.
    Quote Quote  
  11. Do you have any DivX dist loaded on your system? (or anything else capable of decoding XviD)

    You could always try changing the FourCC code of your source file to something else.
    Quote Quote  
  12. i will try that. cant be it though, it uses the exact same fourcc code as the ones working. and since there are some working (xvids and divx's), it cant be the codec thing either. it must be something something else for those files. I used tmpgenc to re-enc them (works when using directshow). still would love to know what it is.
    Quote Quote  



Similar Threads

Visit our sponsor! Try DVDFab and backup Blu-rays!