VideoHelp Forum
+ Reply to Thread
Results 1 to 2 of 2
Thread
  1. Member
    Join Date
    Jan 2009
    Location
    United States
    Search Comp PM
    I'm getting a setmode error when trying to combine an avi movie with a subtitle file. I'm using Auto Gordian Knot 2.53b. I have both divx and xvid codecs installed. I've tried both. Maybe it has something to do with the audio bitrate or the predefined size limit of 2gb?

    Below is the log.. please advise!

    [1/27/2009 9:48:27 PM] AutoGK 2.53b
    [1/27/2009 9:48:27 PM] OS: WinXP (5.1.2600).2
    [1/27/2009 9:48:27 PM] Job started.
    [1/27/2009 9:48:27 PM] Input file: C:\Documents and Settings\Joseph Admin\Desktop\movie.avi
    [1/27/2009 9:48:27 PM] Input codec: XviD
    [1/27/2009 9:48:27 PM] Source duration: 2h 42mn 25s 110ms
    [1/27/2009 9:48:27 PM] Output file: C:\Documents and Settings\Joseph Admin\Desktop\movie_agk.avi
    [1/27/2009 9:48:27 PM] Output codec: XviD
    [1/27/2009 9:48:27 PM] Audio 1: 448 Kbps AC3 6ch
    [1/27/2009 9:48:27 PM] Subtitles: from external file: C:\Documents and Settings\Joseph Admin\Desktop\movie.srt
    [1/27/2009 9:48:27 PM] Format: AVI
    [1/27/2009 9:48:27 PM] Target size: 2040Mb
    [1/27/2009 9:48:27 PM] Audio 1 settings: Auto
    [1/27/2009 9:48:27 PM] Started encoding.
    [1/27/2009 9:48:27 PM] Source resolution: 688x288
    [1/27/2009 9:48:27 PM] Source fps: 23.976
    [1/27/2009 9:48:27 PM] Output will contain 233649 frames
    [1/27/2009 9:48:27 PM] Demuxing audio.
    [1/27/2009 9:50:49 PM] Preparing subtitles.
    [1/27/2009 9:50:49 PM] Using VAQ in XviD
    [1/27/2009 9:50:49 PM] Audio1 size: 545,714,399 bytes (520.43 Mb)
    [1/27/2009 9:50:49 PM] Overhead: 1,624,192 bytes (1.55 Mb)
    [1/27/2009 9:50:49 PM] Video size: 1,591,756,449 bytes (1518.02 Mb)
    [1/27/2009 9:50:49 PM] Running compressibility test.
    [1/27/2009 9:50:49 PM] Writing the following script to C:\Documents and Settings\Joseph Admin\Desktop\agk_tmp\movie_agk_comptest.avs
    ================================================== =========
    LoadPlugin("C:\PROGRA~1\AutoGK\DGMPGDec\DGDecode.dll")
    LoadPlugin("C:\PROGRA~1\AutoGK\filters\autocrop.dl l")
    LoadPlugin("C:\PROGRA~1\AutoGK\filters\vsfilter.dll")
    LoadPlugin("C:\PROGRA~1\AutoGK\filters\RemoveGrain .dll")

    movie = DirectShowSource("C:\Documents and Settings\Joseph Admin\Desktop\movie.avi",23.976).KillAudio()
    movie = isRGB(movie) ? ConvertToYV12(movie) : movie
    movie = isYUY2(movie) ? ConvertToYV12(movie) : movie
    cropclip = autocrop(movie,mode=0,wmultof=4,hmultof=4,samples= 10,aspect=0,threshold=0,samplestartframe=0,leftadd =0,rightadd=0,topadd=0,bottomadd=0)
    fixed_aspect = 1
    c_width = width(cropclip)
    c_height = round(height(cropclip) / fixed_aspect)
    input_par = float(c_width)/float(c_height)
    input_par = (input_par > 1.4) || (input_par < 1.25) ? input_par : (4.0/3.0)
    out_width = 688
    out_height = round(float(out_width) / input_par)
    hmod = out_height - (floor(out_height / 16 ) * 16)
    out_height = (hmod > 4) ? (out_height + (16 - hmod)) : (out_height - hmod)
    new_aspect = (float(out_width) / float(out_height)) / fixed_aspect
    autocrop(movie,mode=0,wmultof=4,hmultof=4,samples= 10,aspect=new_aspect,threshold=0,samplestartframe= 0,leftadd=0,rightadd=0,topadd=0,bottomadd=0)
    LanczosResize(out_width,out_height)
    TextSub("C:\Documents and Settings\Joseph Admin\Desktop\movie.srt")
    SelectRangeEvery(300,15)
    ================================================== =========
    [1/27/2009 10:01:04 PM] Duration was: 10 minutes 15 seconds
    [1/27/2009 10:01:04 PM] Speed was: 18.99 fps.
    [1/27/2009 10:01:04 PM] Compressibility percentage is: 79.66
    [1/27/2009 10:01:04 PM] Chosen resolution is: 688x288 ( AR: 2.39 )
    [1/27/2009 10:01:04 PM] Predicted comptest value is: 79.66%
    [1/27/2009 10:01:04 PM] Running first pass.
    [1/27/2009 10:01:04 PM] Writing the following script to C:\Documents and Settings\Joseph Admin\Desktop\agk_tmp\movie_agk_movie.avs
    ================================================== =========
    LoadPlugin("C:\PROGRA~1\AutoGK\DGMPGDec\DGDecode.d ll")
    LoadPlugin("C:\PROGRA~1\AutoGK\filters\autocrop.dl l")
    LoadPlugin("C:\PROGRA~1\AutoGK\filters\vsfilter.dl l")
    LoadPlugin("C:\PROGRA~1\AutoGK\filters\RemoveGrain .dll")

    movie = DirectShowSource("C:\Documents and Settings\Joseph Admin\Desktop\movie.avi",23.976).KillAudio()
    movie = isRGB(movie) ? ConvertToYV12(movie) : movie
    movie = isYUY2(movie) ? ConvertToYV12(movie) : movie
    cropclip = autocrop(movie,mode=0,wmultof=4,hmultof=4,samples= 10,aspect=0,threshold=0,samplestartframe=0,leftadd =0,rightadd=0,topadd=0,bottomadd=0)
    fixed_aspect = 1
    c_width = width(cropclip)
    c_height = round(height(cropclip) / fixed_aspect)
    input_par = float(c_width)/float(c_height)
    input_par = (input_par > 1.4) || (input_par < 1.25) ? input_par : (4.0/3.0)
    out_width = 688
    out_height = round(float(out_width) / input_par)
    hmod = out_height - (floor(out_height / 16 ) * 16)
    out_height = (hmod > 4) ? (out_height + (16 - hmod)) : (out_height - hmod)
    new_aspect = (float(out_width) / float(out_height)) / fixed_aspect
    autocrop(movie,mode=0,wmultof=4,hmultof=4,samples= 10,aspect=new_aspect,threshold=0,samplestartframe= 0,leftadd=0,rightadd=0,topadd=0,bottomadd=0)
    LanczosResize(out_width,out_height)
    TextSub("C:\Documents and Settings\Joseph Admin\Desktop\movie.srt")
    ================================================== =========
    [1/27/2009 11:23:39 PM] Duration was: 1 hour, 22 minutes 34 seconds
    [1/27/2009 11:23:39 PM] Speed was: 47.16 fps.
    [1/27/2009 11:23:39 PM] Expected quality of first pass size: 77.96%
    [1/27/2009 11:23:39 PM] Running second pass.
    [1/28/2009 6:13:32 AM] Duration was: 6 hours 49 minutes 52 seconds
    [1/28/2009 6:13:32 AM] Speed was: 9.50 fps.
    [1/28/2009 6:13:32 AM] Job finished. Total time: 8 hours 25 minutes 4 seconds
    Quote Quote  
  2. I'm a MEGA Super Moderator Baldrick's Avatar
    Join Date
    Aug 2000
    Location
    Sweden
    Search Comp PM
    where is the error? It looks like that worked fine .
    Quote Quote  



Similar Threads

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