Xvid Encoding Problems

Discussion in 'DivX / XviD' started by sven86, Apr 14, 2006.

  1. sven86

    sven86 Member

    Joined:
    Mar 4, 2005
    Messages:
    2
    Likes Received:
    0
    Trophy Points:
    11
    Hi, I've been using XviD for a long time and had no problems with it, in fact it's the only codec I use to encode my music videos, tv shows, commercials and movies with. However one day when I finished encoding a file, I went to play the file and quality is terrible, there's lots of blocky artifacts, so much that you couldn't really see anybodys face. I also notice that by looking at my XviD status that it wasn't encoding the videos correctly:

    On the first pass the Xvid Status shows only one long blue bar on the far left.

    On the second pass the XviD status shows only one long blue bar on the far right.


    I used Gordian Knot to encode my vidoes. Here's the output for the first pass, if it makes sense to anyone (it sure doesn't to me)

    REGEDIT4

    [HKEY_CURRENT_USER\Software\GNU\XviD]
    "mode"=dword:00000001
    "bitrate"=dword:000002bc
    "desired_size"=dword:0008b290
    "use_2pass_bitrate"=dword:00000000
    "desired_quant"=dword:00000190
    "quant_type"=dword:00000000
    "lum_masking"=dword:00000000
    "interlacing"=dword:00000000
    "tff"=dword:00000000
    "qpel"=dword:00000000
    "gmc"=dword:00000000
    "use_bvop"=dword:00000001
    "max_bframes"=dword:00000002
    "bquant_ratio"=dword:00000096
    "bquant_offset"=dword:00000064
    "packed"=dword:00000001
    "ar_mode"=dword:00000000
    "aspect_ratio"=dword:00000000
    "par_x"=dword:00000001
    "par_y"=dword:00000001
    "ar_x"=dword:00000004
    "ar_y"=dword:00000003
    "num_zones"=dword:00000001
    "rc_reaction_delay_factor"=dword:00000010
    "rc_averaging_period"=dword:00000064
    "rc_buffer"=dword:00000064
    "discard1pass"=dword:00000001
    "full1pass"=dword:00000000
    "keyframe_boost"=dword:0000000a
    "kfreduction"=dword:00000014
    "kfthreshold"=dword:00000001
    "curve_compression_high"=dword:00000000
    "curve_compression_low"=dword:00000000
    "overflow_control_strength"=dword:00000005
    "twopass_max_overflow_improvement"=dword:00000005
    "twopass_max_overflow_degradation"=dword:00000005
    "container_type"=dword:00000001
    "target_size"=dword:000a2800
    "subtitle_size"=dword:00000000
    "hours"=dword:00000001
    "minutes"=dword:0000001e
    "seconds"=dword:00000000
    "fps"=dword:00000002
    "audio_mode"=dword:00000000
    "audio_type"=dword:00000000
    "audio_rate"=dword:00000080
    "audio_size"=dword:00000000
    "motion_search"=dword:00000006
    "vhq_mode"=dword:00000001
    "vhq_bframe"=dword:00000000
    "chromame"=dword:00000001
    "turbo"=dword:00000000
    "max_key_interval"=dword:0000012c
    "frame_drop_ratio"=dword:00000000
    "min_iquant"=dword:00000001
    "max_iquant"=dword:0000001f
    "min_pquant"=dword:00000001
    "max_pquant"=dword:0000001f
    "min_bquant"=dword:00000001
    "max_bquant"=dword:0000001f
    "trellis_quant"=dword:00000001
    "fourcc_used"=dword:00000000
    "debug"=dword:00000000
    "vop_debug"=dword:00000000
    "display_status"=dword:00000001
    "Brightness"=dword:00000000
    "Deblock_Y"=dword:00000000
    "Deblock_UV"=dword:00000000
    "Dering_Y"=dword:00000000
    "Dering_UV"=dword:00000000
    "FilmEffect"=dword:00000000
    "profile"="Simple @ L0"
    "quality"="(User defined)"
    "stats"="C:\\dvd-rip\\another way\\another way - test_1.stats"
    "qmatrix_intra"=hex:08,11,12,13,15,17,19,1b,11,12,13,15,17,19,1b,1c,14,15,16,\
    17,18,1a,1c,1e,15,16,17,18,1a,1c,1e,20,16,17,18,1a,1c,1e,20,23,17,18,1a,1c,\
    1e,20,23,26,19,1a,1c,1e,20,23,26,29,1b,1c,1e,20,23,26,29,2d
    "qmatrix_inter"=hex:10,11,12,13,14,15,16,17,11,12,13,14,15,16,17,18,12,13,14,\
    15,16,17,18,19,13,14,15,16,17,18,1a,1b,14,15,16,17,19,1a,1b,1c,15,16,17,18,\
    1a,1b,1c,1e,16,17,18,1a,1b,1c,1e,1f,17,18,19,1b,1c,1e,1f,21
    "zone0_frame"=dword:00000000
    "zone0_mode"=dword:00000000
    "zone0_weight"=dword:00000064
    "zone0_quant"=dword:000001f4
    "zone0_type"=dword:00000000
    "zone0_greyscale"=dword:00000000
    "zone0_chroma_opt"=dword:00000000
    "zone0_bvop_threshold"=dword:00000000
    "zone0_cartoon_mode"=dword:00000000
    "credits_start"=dword:00000000

    [bold] And here's the second settings [/bold]

    REGEDIT4

    [HKEY_CURRENT_USER\Software\GNU\XviD]
    "mode"=dword:00000002
    "bitrate"=dword:000002bc
    "desired_size"=dword:00002d5f
    "use_2pass_bitrate"=dword:00000000
    "desired_quant"=dword:00000190
    "quant_type"=dword:00000000
    "lum_masking"=dword:00000000
    "interlacing"=dword:00000000
    "tff"=dword:00000000
    "qpel"=dword:00000000
    "gmc"=dword:00000000
    "use_bvop"=dword:00000001
    "max_bframes"=dword:00000002
    "bquant_ratio"=dword:00000096
    "bquant_offset"=dword:00000064
    "packed"=dword:00000001
    "ar_mode"=dword:00000000
    "aspect_ratio"=dword:00000000
    "par_x"=dword:00000001
    "par_y"=dword:00000001
    "ar_x"=dword:00000004
    "ar_y"=dword:00000003
    "num_zones"=dword:00000001
    "rc_reaction_delay_factor"=dword:00000010
    "rc_averaging_period"=dword:00000064
    "rc_buffer"=dword:00000064
    "discard1pass"=dword:00000001
    "full1pass"=dword:00000000
    "keyframe_boost"=dword:0000000a
    "kfreduction"=dword:00000014
    "kfthreshold"=dword:00000001
    "curve_compression_high"=dword:00000000
    "curve_compression_low"=dword:00000000
    "overflow_control_strength"=dword:00000005
    "twopass_max_overflow_improvement"=dword:00000005
    "twopass_max_overflow_degradation"=dword:00000005
    "container_type"=dword:00000001
    "target_size"=dword:000a2800
    "subtitle_size"=dword:00000000
    "hours"=dword:00000001
    "minutes"=dword:0000001e
    "seconds"=dword:00000000
    "fps"=dword:00000002
    "audio_mode"=dword:00000000
    "audio_type"=dword:00000000
    "audio_rate"=dword:00000080
    "audio_size"=dword:00000000
    "motion_search"=dword:00000006
    "vhq_mode"=dword:00000001
    "vhq_bframe"=dword:00000000
    "chromame"=dword:00000001
    "turbo"=dword:00000000
    "max_key_interval"=dword:0000012c
    "frame_drop_ratio"=dword:00000000
    "min_iquant"=dword:00000001
    "max_iquant"=dword:0000001f
    "min_pquant"=dword:00000001
    "max_pquant"=dword:0000001f
    "min_bquant"=dword:00000001
    "max_bquant"=dword:0000001f
    "trellis_quant"=dword:00000001
    "fourcc_used"=dword:00000000
    "debug"=dword:00000000
    "vop_debug"=dword:00000000
    "display_status"=dword:00000001
    "Brightness"=dword:00000000
    "Deblock_Y"=dword:00000000
    "Deblock_UV"=dword:00000000
    "Dering_Y"=dword:00000000
    "Dering_UV"=dword:00000000
    "FilmEffect"=dword:00000000
    "profile"="Simple @ L0"
    "quality"="(User defined)"
    "stats"="C:\\dvd-rip\\another way\\another way - test_1.stats"
    "qmatrix_intra"=hex:08,11,12,13,15,17,19,1b,11,12,13,15,17,19,1b,1c,14,15,16,\
    17,18,1a,1c,1e,15,16,17,18,1a,1c,1e,20,16,17,18,1a,1c,1e,20,23,17,18,1a,1c,\
    1e,20,23,26,19,1a,1c,1e,20,23,26,29,1b,1c,1e,20,23,26,29,2d
    "qmatrix_inter"=hex:10,11,12,13,14,15,16,17,11,12,13,14,15,16,17,18,12,13,14,\
    15,16,17,18,19,13,14,15,16,17,18,1a,1b,14,15,16,17,19,1a,1b,1c,15,16,17,18,\
    1a,1b,1c,1e,16,17,18,1a,1b,1c,1e,1f,17,18,19,1b,1c,1e,1f,21
    "zone0_frame"=dword:00000000
    "zone0_mode"=dword:00000000
    "zone0_weight"=dword:00000064
    "zone0_quant"=dword:000001f4
    "zone0_type"=dword:00000000
    "zone0_greyscale"=dword:00000000
    "zone0_chroma_opt"=dword:00000000
    "zone0_bvop_threshold"=dword:00000000
    "zone0_cartoon_mode"=dword:00000000
    "credits_start"=dword:00000000

    [bold] Here's my gordian knot settings [\bold]

    4/14/2006 11:09:06 PM: Job " 1 - another way - test_1.avi" started.

    o Xvid - First Pass: C:\dvd-rip\another way\another way - test.avs
    o Xvid - Second Pass: C:\dvd-rip\another way\another way - test.avs
    x Mux Audio (disabled).
    End of Job 1 ( 1 - another way - test_1.avi).
    _______________________________________________________________________________________________________________________

    Gordian Knot
    Encoding Job Data:

    Type: EncXvid_All
    Container: Audio-Video Interleave (AVI)
    Number: 1
    Name: 1 - another way - test_1.avi
    Platform: WinXP (5.1.2600).2

    Files:
    VirtualDubModExe: C:\PROGRA~1\GORDIA~1\VirtualDubMod\VirtualDubMod.exe
    NandubExe: C:\PROGRA~1\GORDIA~1\nandub\Nandub.exe
    AviFinal: C:\dvd-rip\another way\another way - test_1.avi
    AviMovie: C:\dvd-rip\another way\another way - test_1_Movie.avi
    AviCredits: C:\dvd-rip\another way\another way - test_1_Credits.avi
    MovieFS: C:\dvd-rip\another way\another way - test.avs
    CreditsFS:
    Log : C:\dvd-rip\another way\another way - test_1.log
    Stats: C:\dvd-rip\another way\another way - test_1.stats
    Ecf : C:\dvd-rip\another way\another way - test_1.ecf

    Options:
    Quality/DRF: 0
    CreditsStart: 0
    UseEcf: 1
    CreditsIVTC: 0
    CreditsAppend: 0
    DeleteInterm.: 0
    EnforceBitrate: 0
    AntiShit: 0

    Calculator:
    VideoSize: 11615 kbyte.
    Audio1Size: 1453 kbyte.
    Audio2Size: 0 kbyte.
    Overhead: 90 kbyte.
    AviSize: 13158 kbyte (12 mbyte).
    FilesSize: 3231 kbyte.
    TotalSize: 16389 kbyte (16 mbyte).
    Interleaving: vbrmp3
    Bitrate: 1024 k(=1000)Bits/s
    Frames: 2323
    FPS: 25.000
    Duration: 01:33
    Quality: 0.263 bits/(pixel*frame).
    CompCheck3: 0.000 bits/(pixel*frame).
    CompCheck5: 0.000 bits/(pixel*frame).
    Resolution: 512 x 304

    Audio 1:
    none.

    Audio 2:
    none.

    11:09:06 PM: Audio 1, calc: 1453 kb
    11:09:06 PM: Audio 1, disabled, no recalc. - you probably want to add this track later.

    Adding this script to C:\PROGRA~1\GORDIA~1\VirtualDubMod\LastJob.vcf :

    // $job "XviD First Pass"
    // $input "C:\dvd-rip\another way\another way - test.avs"
    // $output "C:\dvd-rip\another way\another way - test_1.avi"
    // $state 0
    // $start_time 0 0
    // $end_time 0 0
    // $script

    VirtualDub.Open("C:\\dvd-rip\\another way\\another way - test.avs",0,0);
    VirtualDub.video.SetDepth(24,24);
    VirtualDub.video.SetMode(1);
    VirtualDub.video.SetFrameRate(0,1);
    VirtualDub.video.SetIVTC(0,0,-1,0);
    VirtualDub.video.SetRange(0,0);
    VirtualDub.video.SetCompression(0x64697678,0,10000,0);
    VirtualDub.video.SetCompData(3532,"AQAAALwCAACQsggAQzpcZHZkLXJpcFxhbm90aGVyIHdheVxhbm90aGVyIHdheSAtIHRlc3RfMS5zdGF0cwBvAHQAaABlAHIAIAB3AGEAeQAgAC0AIAB0AGUAcwB0AF8AMQAuAHMAdABhAHQAcwAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAkAEAAFNpbXBsZSBAIEwwACAAQAAgAEwAMAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAChVc2VyIGRlZmluZWQpAABmAGkAbgBlAGQAKQAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAA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AAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAABAAAABkAAAAZAAAAAEAAAAKAAAAAQAAABQAAAAAAAAAAAAAAAUAAAAFAAAABQAAAAAoCgAAAAAAAQAAAAEAAAAeAAAAAAAAAAIAAAAAAAAAAAAAAIAAAAAAAAAAAAAAAAYAAAABAAAAAAAAAAEAAAAAAAAALAEAAAAAAAABAAAAHwAAAAEAAAAfAAAAAQAAAB8AAAABAAAAAAAAAAAAAAAAAAAAAAAAAAEAAAAAAAAAzwAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAA==");
    VirtualDub.video.filters.Clear();
    VirtualDub.subset.Delete();
    VirtualDub.SaveAVI("C:\\dvd-rip\\another way\\another way - test_1.avi");
    VirtualDub.Close();

    // $endjob
    //
    //--------------------------------------------------
    // $done

    11:09:07 PM: Started Xvid - First Pass: C:\dvd-rip\another way\another way - test.avs
    11:09:45 PM: Finished Xvid - First Pass: Duration: 38 seconds.
    11:09:45 PM: Trying to open Log-file.
    11:09:45 PM: Success: Log-file open.
    11:09:45 PM: Encoded: 2323 Frames.
    11:09:45 PM: Speed: 60.732 Frames per Second.
    11:09:45 PM: New target size = 11615 Kb

    Adding this script to C:\PROGRA~1\GORDIA~1\VirtualDubMod\LastJob.vcf :

    // $job "XviD Second Pass"
    // $input "C:\dvd-rip\another way\another way - test.avs"
    // $output "C:\dvd-rip\another way\another way - test_1.avi"
    // $state 0
    // $start_time 0 0
    // $end_time 0 0
    // $script

    VirtualDub.Open("C:\\dvd-rip\\another way\\another way - test.avs",0,0);
    VirtualDub.video.SetDepth(24,24);
    VirtualDub.video.SetMode(1);
    VirtualDub.video.SetFrameRate(0,1);
    VirtualDub.video.SetIVTC(0,0,-1,0);
    VirtualDub.video.SetRange(0,0);
    VirtualDub.video.SetCompression(0x64697678,0,10000,0);
    VirtualDub.video.SetCompData(3532,"AgAAALwCAABfLQAAQzpcZHZkLXJpcFxhbm90aGVyIHdheVxhbm90aGVyIHdheSAtIHRlc3RfMS5zdGF0cwBvAHQAaABlAHIAIAB3AGEAeQAgAC0AIAB0AGUAcwB0AF8AMQAuAHMAdABhAHQAcwAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAkAEAAFNpbXBsZSBAIEwwACAAQAAgAEwAMAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAA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    VirtualDub.subset.Delete();
    VirtualDub.SaveAVI("C:\\dvd-rip\\another way\\another way - test_1.avi");
    VirtualDub.Close();

    // $endjob
    //
    //--------------------------------------------------
    // $done

    11:09:45 PM: Started Xvid - Second Pass: C:\dvd-rip\another way\another way - test.avs
    11:10:30 PM: Finished Xvid - Second Pass: Duration: 45 seconds.
    11:10:30 PM: Speed: 51.073 Frames per Second.

    11:10:30 PM: Done.
    11:10:30 PM: Movie = C:\dvd-rip\another way\another way - test_1.avi
    Total Encoding Time: 1 minute, 23 seconds.
    4/14/2006 11:10:30 PM: Job " 1 - another way - test_1.avi" finished.


    This is all the info that I have. Hopefully someone on this forum can help me fix this problem, I've had this for a few months and I tried everything. This is basically my last resort.
     
  2. QuoCtm

    QuoCtm Member

    Joined:
    Dec 12, 2005
    Messages:
    11
    Likes Received:
    0
    Trophy Points:
    11
    DONT USE multi passes when encode

    just use first pass hen get the stats for it
    then use second pass ....
     

Share This Page