How to increase video sample size with AutoGK/VirtualDubMod/Xvid?

Collapse
X
 
  • Time
  • Show
Clear All
new posts
  • luigi
    Junior Member
    Junior Member
    • Sep 2005
    • 10

    How to increase video sample size with AutoGK/VirtualDubMod/Xvid?

    trying to convert mov to avi and into xvid

    but after converting , movie clip becomes pixelated..

    comparing with other files that i downloaded , i found that the video sample size is 24bit while my converted is 12bit

    is that any step i gone wrong??? pls help me O'mighty wizards

    Hereby are my log:

    [6/17/2006 2:05:53 AM] AutoGK 2.27
    [6/17/2006 2:05:53 AM] OS: WinXP (5.1.2600).2
    [6/17/2006 2:05:53 AM] Job started.
    [6/17/2006 2:05:53 AM] Input file: J:\Trial\the_pink_panther-tlr2_h720p.avi
    [6/17/2006 2:05:53 AM] Input codec: cvid
    [6/17/2006 2:05:53 AM] Source duration: 2mn 4s 164ms
    [6/17/2006 2:05:53 AM] Output file: J:\Trial\the_pink_panther-tlr2_h720p_agk.avi
    [6/17/2006 2:05:53 AM] Output codec: XviD
    [6/17/2006 2:05:53 AM] Audio 1: 1536 Kbps PCM 2ch
    [6/17/2006 2:05:53 AM] Subtitles: none
    [6/17/2006 2:05:53 AM] Format: .AVI
    [6/17/2006 2:05:53 AM] Target quality: 100%
    [6/17/2006 2:05:53 AM] Started encoding.
    [6/17/2006 2:05:53 AM] Source resolution: 1280x688
    [6/17/2006 2:05:53 AM] Source fps: 23.976
    [6/17/2006 2:05:53 AM] Output will contain 2977 frames
    [6/17/2006 2:05:53 AM] Demuxing audio.
    [6/17/2006 2:06:00 AM] Normalizing audio.
    [6/17/2006 2:06:02 AM] Encoding audio.
    [6/17/2006 2:06:18 AM] Running single pass encoding.
    [6/17/2006 2:06:18 AM] Writing the following script to J:\Trial\agk_tmp\the_pink_panther-tlr2_h720p_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\RemoveGrain SSE2.dll")

    movie = DirectShowSource("J:\Trial\the_pink_panther-tlr2_h720p.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 = 1280
    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)
    ================================================== =========
    [6/17/2006 2:13:50 AM] Duration was: 7 minutes 31 seconds
    [6/17/2006 2:13:50 AM] Speed was: 6.59 fps.
    [6/17/2006 2:13:50 AM] Job finished. Total time: 7 minutes 56 seconds
  • anonymez
    Super Moderator
    • Mar 2004
    • 5525

    #2
    i found that the video sample size is 24bit while my converted is 12bit
    that means nothing other than no colourspace conversions were done during the encoding process. no difference in quality.

    i don't use AutoGK so i'm not completely sure about the cause of the pixellation but i'm guessing it's been resized to a lower res and insufficient bitrate. you might like to give 2 pass encoding a shot, avoid cropping & resizing
    "What were the things in Gremlins called?" - Karl Pilkington

    Comment

    • luigi
      Junior Member
      Junior Member
      • Sep 2005
      • 10

      #3
      Originally Posted by anonymez
      that means nothing other than no colourspace conversions were done during the encoding process. no difference in quality.

      i don't use AutoGK so i'm not completely sure about the cause of the pixellation but i'm guessing it's been resized to a lower res and insufficient bitrate. you might like to give 2 pass encoding a shot, avoid cropping & resizing
      Nope, res remain the same except the video sample size is 12bit.. changing my xvid encoder to 2pass now and there's tons of confirgurations ahhhh... headache

      Comment

      • anonymez
        Super Moderator
        • Mar 2004
        • 5525

        #4
        changing my xvid encoder to 2pass now and there's tons of confirgurations
        don't ever expect high quality encodes with CBR at reasonable bitrates. go two pass, this should get you started http://forum.digital-digest.com/showthread.php?t=60613
        Last edited by anonymez; 17 Jun 2006, 12:48 PM.
        "What were the things in Gremlins called?" - Karl Pilkington

        Comment

        • celtic_druid
          Digital Video Expert
          Digital Video Expert
          • Dec 2005
          • 514

          #5
          24bit is worse than 12bit. XviD always uses YV12 which is 12bit. 24bit means that it was converted to RGB24 during the encode. Unless the source was RGB, this is a bad thing since converting from YUV to RGB and back is not a lossless process.

          Looks like a qt movie trailer which means AVC which is also (in this case) YV12.

          XviD at 1 pass Q2 which I guess is what AutoGK does at 100% quality should be fine, better than 2 pass.

          Comment

          Working...