VideoHelp Forum
+ Reply to Thread
Results 1 to 7 of 7
Thread
  1. I've got a .mpg video that I want to convert to avi (XviD) using AutoGK. Everything is working fine and the output size is good, the only problem is that it doesn't convert the sound to mp3 as I asked in the settings. It only keeps the original audio (AC3). Is it because AC3 isn't supported with this program?

    Thanks for your help!
    Last edited by Looler; 24th Sep 2010 at 23:45.
    Quote Quote  
  2. AC3 is supported. It'll keep the original audio under certain circumstances. Did you go into the Advanced Settings and force it to convert to MP3 audio? Post a log for one that kept the original audio when you didn't want it to.
    Quote Quote  
  3. Originally Posted by manono View Post
    AC3 is supported. It'll keep the original audio under certain circumstances. Did you go into the Advanced Settings and force it to convert to MP3 audio? Post a log for one that kept the original audio when you didn't want it to.
    I selected MP3 on the Advanced settings (Output audio type).

    Here's the log:

    Code:
    [24 sept. 2010 18:49:56] AutoGK 2.55
    [24 sept. 2010 18:49:56] OS: Windows Vista (6.1.7600).2
    [24 sept. 2010 18:49:56] Job started.
    [24 sept. 2010 18:49:56] Input file: C:\Users\Hugo\Desktop\Le moment de vérité S04E02 - HDTV - XviD.mpg
    [24 sept. 2010 18:49:56] Output file: C:\Users\Hugo\Desktop\video\Le moment de vérité S04E02 - HDTV - XviD.avi
    [24 sept. 2010 18:49:56] Output codec: XviD
    [24 sept. 2010 18:49:56] Audio 1: Audio Stream 0 AC3 
    [24 sept. 2010 18:49:56] Subtitles: none
    [24 sept. 2010 18:49:56] Format: AVI
    [24 sept. 2010 18:49:56] Target size: 350Mb
    [24 sept. 2010 18:49:56] Custom resolution settings: maximum width of 720 pixels
    [24 sept. 2010 18:49:56] Audio 1 settings: Original
    [24 sept. 2010 18:49:56] Started encoding.
    [24 sept. 2010 18:49:56] Demuxing and indexing.
    [24 sept. 2010 18:52:23] Processing file: C:\Users\Hugo\Desktop\Le moment de vérité S04E02 - HDTV - XviD.mpg
    [24 sept. 2010 18:52:23] Source resolution: 1920x1080
    [24 sept. 2010 18:52:23] Found NTSC source.
    [24 sept. 2010 18:52:23] Source aspect ratio: 16:9
    [24 sept. 2010 18:52:23] Color correction enabled.
    [24 sept. 2010 18:52:23] Analyzing source.
    [24 sept. 2010 19:02:47] Source has percentage of interlacing in motion areas: 88,67
    [24 sept. 2010 19:02:47] Source has percentage of telecined patterns: 0,50
    [24 sept. 2010 19:02:47] Source has percentage of progressive patterns: 6,20
    [24 sept. 2010 19:02:47] Source has percentage of interlaced patterns: 93,30
    [24 sept. 2010 19:02:47] Source is considered to be interlaced.
    [24 sept. 2010 19:02:47] Output will contain 78800 frames
    [24 sept. 2010 19:02:47] Using VAQ in XviD
    [24 sept. 2010 19:02:47] Audio1 size: 126,205,440 bytes (120.36 Mb)
    [24 sept. 2010 19:02:47] Overhead: 438,272 bytes (0.42 Mb)
    [24 sept. 2010 19:02:48] Video size: 240,357,888 bytes (229.22 Mb)
    [24 sept. 2010 19:02:48] Running compressibility test.
    [24 sept. 2010 19:02:48] Writing the following script to C:\Users\Hugo\Desktop\video\agk_tmp\Le moment de vérité S04E02 - HDTV - XviD_comptest.avs
    ===========================================================
    LoadPlugin("C:\PROGRA~1\AutoGK\DGMPGDec\DGDecode.dll")
    LoadPlugin("C:\PROGRA~1\AutoGK\filters\autocrop.dll")
    LoadPlugin("C:\PROGRA~1\AutoGK\filters\ColorMatrix.dll")
    LoadPlugin("C:\PROGRA~1\AutoGK\filters\RemoveGrainSSE3.dll")
    LoadPlugin("C:\PROGRA~1\AutoGK\filters\leakkerneldeint.dll")
    
    movie = mpeg2source("C:\Users\Hugo\Desktop\video\agk_tmp\Le moment de vérité S04E02 - HDTV - XviD.d2v")
    cropclip = autocrop(movie,mode=0,wmultof=4,hmultof=4,samples=10,aspect=0,threshold=34,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 = 640
    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
    LeakKernelDeInt(movie,order=1,sharp=true)
    autocrop(mode=0,wmultof=4,hmultof=4,samples=10,aspect=new_aspect,threshold=34,samplestartframe=0,leftadd=0,rightadd=0,topadd=0,bottomadd=0)
    LanczosResize(out_width,out_height)
    RemoveGrain(mode=2)
    ColorMatrix("Rec.709->Rec.601",opt=0,hints=false,threads=0)
    SelectRangeEvery(300,15)
    ===========================================================
    [24 sept. 2010 19:11:16] Duration was: 8 minutes 27 seconds
    [24 sept. 2010 19:11:16] Speed was: 7,76 fps.
    [24 sept. 2010 19:11:16] Compressibility percentage is: 31,35
    [24 sept. 2010 19:11:16] Using softer resizer.
    [24 sept. 2010 19:11:16] Chosen resolution is: 480x272 ( AR: 1,76 )
    [24 sept. 2010 19:11:16] Predicted comptest value is: 58,66%
    [24 sept. 2010 19:11:16] Running first pass.
    [24 sept. 2010 19:11:16] Writing the following script to C:\Users\Hugo\Desktop\video\agk_tmp\Le moment de vérité S04E02 - HDTV - XviD_movie.avs
    ===========================================================
    LoadPlugin("C:\PROGRA~1\AutoGK\DGMPGDec\DGDecode.dll")
    LoadPlugin("C:\PROGRA~1\AutoGK\filters\autocrop.dll")
    LoadPlugin("C:\PROGRA~1\AutoGK\filters\ColorMatrix.dll")
    LoadPlugin("C:\PROGRA~1\AutoGK\filters\RemoveGrainSSE3.dll")
    LoadPlugin("C:\PROGRA~1\AutoGK\filters\leakkerneldeint.dll")
    
    movie = mpeg2source("C:\Users\Hugo\Desktop\video\agk_tmp\Le moment de vérité S04E02 - HDTV - XviD.d2v")
    cropclip = autocrop(movie,mode=0,wmultof=4,hmultof=4,samples=10,aspect=0,threshold=34,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 = 480
    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
    LeakKernelDeInt(movie,order=1,sharp=true)
    autocrop(mode=0,wmultof=4,hmultof=4,samples=10,aspect=new_aspect,threshold=34,samplestartframe=0,leftadd=0,rightadd=0,topadd=0,bottomadd=0)
    BicubicResize(out_width,out_height,0,0.5)
    RemoveGrain(mode=2)
    ColorMatrix("Rec.709->Rec.601",opt=0,hints=false,threads=0)
    ===========================================================
    [24 sept. 2010 20:31:45] Duration was: 1 hour, 20 minutes 29 seconds
    [24 sept. 2010 20:31:45] Speed was: 16,32 fps.
    [24 sept. 2010 20:31:45] Expected quality of first pass size: 58,50%
    [24 sept. 2010 20:31:45] Running second pass.
    [24 sept. 2010 22:06:32] Duration was: 1 hour, 34 minutes 46 seconds
    [24 sept. 2010 22:06:32] Speed was: 13,86 fps.
    [24 sept. 2010 22:06:32] Job finished. Total time: 3 hours 16 minutes 35 seconds
    Quote Quote  
  4. [24 sept. 2010 18:49:56] Audio 1 settings: Original
    So, either it made a mistake or you made a mistake. What's the AC3 audio bitrate? I suppose there's a chance it doesn't support AC3 bitrates different from the DVD ones. Is it 640, by chance?

    You could easily convert it yourself to MP3 and mux it in, replacing the AC3 audio. It would save you reencoding it.
    Quote Quote  
  5. Originally Posted by manono View Post
    [24 sept. 2010 18:49:56] Audio 1 settings: Original
    So, either it made a mistake or you made a mistake. What's the AC3 audio bitrate? I suppose there's a chance it doesn't support AC3 bitrates different from the DVD ones. Is it 640, by chance?

    You could easily convert it yourself to MP3 and mux it in, replacing the AC3 audio. It would save you reencoding it.
    The bitrate is actually 384. So I'll have to demux it, convert to MP3, mux it and finally use AutoGK?
    Quote Quote  
  6. No, you demux it, convert it, and then remux it into your AVI, disabling the AC3 in the process. However, if you follow that process I just outlined you won't reach 350MB and the video quality won't be quite as high as it would be if the audio had been converted to MP3 originally.

    Unless there's something wrong with that AC3 audio in that MPG file of yours, I'd suggest running the entire thing through AutoGK again. Make sure to set the MP3 up in the Advanced Settings. Then, keep an eye open for that, "Audio 1 settings: Original. It'll appear almost immediately. If you see it, abort and maybe do the encoding manually if you're capable of that.
    Quote Quote  
  7. I just finished to convert a remuxed file with the MP3 audio, and it worked.

    Thanks for your tip about the early abort (I won't have to waste 3-4 hours anymore) and all your help.
    Quote Quote  



Similar Threads

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