VideoHelp Forum




+ Reply to Thread
Results 1 to 10 of 10
  1. Member
    Join Date
    Mar 2002
    Location
    Manchester, UK
    Search Comp PM
    Whenever I do a multi-pass encode using CCE (2.64 & 2.66) frameserving with AviSynth (v2.0.7), the process freezes, usually on the 2nd or 3rd pass.

    I'm taking a standard FitCD script like the following

    Code:
    # -= AviSynth script by FitCD v1.1.2 =- 
    #LoadPlugin("D:\PathOf\AnyPlugin.dll") 
    AviSource("C:\TEMP\test1.avi") 
    BicubicResize(480,288,0,0.6,10,0,620,272) 
    AddBorders(0,96,0,96) 
    #Trim(0,3646).FadeOut(150)
    It's not specific to one AVI - it's happened with the 3 or 4 that I've tried.

    If I use VirtualDub to resize/frameserve, the encode usually works? Just a little slow

    I've got the Nimo Codec pack (including DivX anti-freeze) installed.

    Anyone got any ideas please?
    Quote Quote  
  2. Member
    Join Date
    Sep 2002
    Location
    Australia
    Search Comp PM
    Make sure that you have 'Create new File' selected under the 'Video Information File' setting.

    If a VAF file with the same name as your video file exists it will try to encode from information in this file - which can be wrong and cause it to freeze.

    Better yet, delete all 'VAF' files before you start the encode.

    (Note: I tried your script - it works OK on a test AVI).
    Quote Quote  
  3. In addition to the above suggestion, also make sure the AVI contains audio, as CCE will almost always freeze on the 2nd pass if there is no audio.

    If so, you can add ReSampleAudio(44100) to the end of the script and then tell CCE not to encode sound.
    Quote Quote  
  4. Member
    Join Date
    May 2002
    Location
    Rainy City, England
    Search Comp PM
    My experience is that the audio is not a concern. I have used 2.64 and 2.66 encoding with and without audio, without experiencing any crashes.

    Did you run the registry file to to point to your plugins? (mpeg2dec.dll).
    Quote Quote  
  5. Member
    Join Date
    Mar 2002
    Location
    Manchester, UK
    Search Comp PM
    Thanks for the replies fellas.

    I'll check them out;

    I'm not sure what state the reg is in - I've installed and uninstalled AVISynth several times, so I'll try redoing that. Do you always need the MPEG2DEC.DLL plugin or is that only used when your source is MPEG?

    I know I've definitely had one try with no sound fail (I put ",false" on the end of the AVISource command), but the others have had sound.
    Quote Quote  
  6. Member
    Join Date
    May 2002
    Location
    Rainy City, England
    Search Comp PM
    So far as I know, you need MPEG2DEC.DLL . With an earlier version of FitCD you had to edit the .ini file to point to it. eg

    LoadPlugin("d:\video\gordian\gordianknot\mpeg2dec. dll")
    AviSource("H:\DivX\Lantana\video25.avi")
    BicubicResize(448,350,1/3,1/3,26,0,556,272)
    #TemporalSmoother(2,2)
    AddBorders(16,113,16,113)
    #Trim(0,173944).FadeOut(150)
    #ConvertToRGB24 # For TMPGEnc or VFAPI
    #ResampleAudio(44100) # CCE 2.5 'crashfix' for Athlons
    #== If you want this 'fix' permanently, edit the INI-file:
    #== Under [AVSscript] set CCEcrashfix=1


    Notice in your version that this is not done by editing the .ini, but by running the registration file.

    But maybe this is a red herring.
    Quote Quote  
  7. Member
    Join Date
    Mar 2002
    Location
    chicago
    Search Comp PM
    Originally Posted by banjazzer
    So far as I know, you need MPEG2DEC.DLL . With an earlier version of FitCD you had to edit the .ini file to point to it. eg
    mpeg2dec.dll is not necessary--I've encoded dozens of movies without loading it. mr. grumpy--what OS are you running? maybe check this post:
    http://www.vcdhelp.com/forum/viewtopic.php?t=92268
    what are you askin' me for...
    I'm an idiot!
    Quote Quote  
  8. Member
    Join Date
    Mar 2002
    Location
    Manchester, UK
    Search Comp PM
    WinXP Pro SP1.

    I had a look at that post, but couldn't see any pointers???

    He got his problem resolved by using AVISynth.
    Quote Quote  
  9. Member
    Join Date
    Mar 2002
    Location
    chicago
    Search Comp PM
    Originally Posted by Mr Grumpy
    WinXP Pro SP1.
    He got his problem resolved by using AVISynth.
    --your first post gives an avisynth script, so I assume you're using avisyth

    I agree with Nelson:
    Originally Posted by Nelson37
    In addition to the above suggestion, also make sure the AVI contains audio, as CCE will almost always freeze on the 2nd pass if there is no audio.
    If so, you can add ReSampleAudio(44100) to the end of the script and then tell CCE not to encode sound
    try adding the resampleaudio(44100) to your script, and make sure to uncheck the audio option in CCE--encode audio separately.
    other than that...
    what are you askin' me for...
    I'm an idiot!
    Quote Quote  
  10. Member
    Join Date
    Mar 2002
    Location
    Manchester, UK
    Search Comp PM
    I realised that DVD2SVCD has successfully used avisynth, so I tried doing it manually, in the same way DVD2SVCD does.

    It adds a

    Code:
    ConvertToYUY2()
    into the script and also uses VFAPI. So I added this to my script.

    I also added the

    Code:
    ResampleAudio(44100) # also a CCE 2.5 'crashfix' for Athlons
    for good measure and processed it using VFAPIConv.

    I've now done 2 different AVI's successfully - hope this isn't just a coincidence - and I'm not sure which part of the above 3 changes fixed it, but if it's working I think I'll keep using it

    Cheers for the help m8s.
    Quote Quote  



Similar Threads

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