Gknot with divx5 results in Blocks, Corrupt

Collapse
X
 
  • Time
  • Show
Clear All
new posts
  • jdcraz
    Junior Member
    Junior Member
    • Dec 2002
    • 24

    Gknot with divx5 results in Blocks, Corrupt

    Hey Guys:

    New Divx Encoder;

    Im following the guides to the letter for Gknot with Divx5 pro, but my movies turn out corrupted - BIG random blocks around the top, really strange - also it doesnt look like the frames are advancing properly. The picture otherwise is clear and sharp with good color, and the audio is perfect and looks to be synced. I have followed doom's guide for Gknot and the one here on this site with no luck. I cant find anyone else having this problem on the forum. Please Help! If you have a solution, you can page me with yahoo - jdcrazier. or jd_hof@hotmail.com

    Gknot log : note - this a 1 second clip because i tried a full movie once, then did very short clips with different settings, but there was absolutely no change.

    12/2/2002 11:25:38 PM: Job "Default" started.

    o Transcode AC3 -> MP3: D:\DVD\analyse this\at_quick AC3 T03 2_0ch 192Kbps DELAY -133ms.ac3
    o DivX5-First Pass: D:\DVD\analyse this\at_quick.avs
    o DivX5-Second Pass: D:\DVD\analyse this\at_quick.avs
    o Mux Audio.
    End of Job 2 (Default).
    __________________________________________________ __________________________________________________ ___________________

    Gordian Knot 0.26.0.6
    Encoding Job Data:

    Type: EncD5_Both
    Number: 2
    Name: Default
    Platform: WinXP (5.1.2600).2

    Files:
    VirtualDubExe: C:\PROGRA~1\Divx\GORDIA~1\virtualdub\Virtualdub.ex e
    NandubExe: C:\PROGRA~1\Divx\GORDIA~1\nandub\Nandub.exe
    AviFinal: D:\DVD\analyse this\at_quick_1.avi
    AviMovie: D:\DVD\analyse this\at_quick_1_Movie.avi
    AviCredits: D:\DVD\analyse this\at_quick_1_Credits.avi
    MovieFS: D:\DVD\analyse this\at_quick.avs
    CreditsFS:
    Log : D:\DVD\analyse this\at_quick_1.log
    Stats: D:\DVD\analyse this\at_quick_1.stats
    Ecf : D:\DVD\analyse this\at_quick_1.ecf

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

    Calculator:
    VideoSize: 716712 kbyte.
    Audio1Size: 78 kbyte.
    Audio2Size: 0 kbyte.
    Overhead: 9 kbyte.
    AviSize: 716800 kbyte (700 mbyte).
    FilesSize: 0 kbyte.
    TotalSize: 716800 kbyte (700 mbyte).
    Interleaving: vbrmp3
    Bitrate: 1366704 k(=1000)Bits/s
    Frames: 103
    FPS: 23.976
    Duration: 0:0:4
    Quality: 253.032 bits/(pixel*frame).
    CompCheck3: 0.000 bits/(pixel*frame).
    CompCheck5: 0.000 bits/(pixel*frame).
    DivX5BiDirect: 1
    DivX5GMC: 1
    DivX5QuartPel: 0
    DivX5PsyVis: 0
    Resolution: 640 x 352

    Audio 1:
    mode: ac3 -> mp3
    sourceFile: D:\DVD\analyse this\at_quick AC3 T03 2_0ch 192Kbps DELAY -133ms.ac3
    wavFile: D:\DVD\analyse this\at_quick AC3 T03 2_0ch 192Kbps DELAY -133ms.wav
    mp3File: D:\DVD\analyse this\at_quick AC3 T03 2_0ch 192Kbps DELAY -133ms.mp3
    azid: "-c normal"
    lame: "-h --abr 128"
    delay: -133
    interval: 2
    preload: 500
    mux: 1
    recalc: 1
    deleteWav: 1

    Audio 2:
    none.


    11:25:38 PM: Started Transcoding Audio.

    11:25:38 PM: Using BeSweet to transcode D:\DVD\analyse this\at_quick AC3 T03 2_0ch 192Kbps DELAY -133ms.ac3
    Commandline: C:\PROGRA~1\Divx\GORDIA~1\besweet.exe -core( -input "D:\DVD\analyse this\at_quick AC3 T03 2_0ch 192Kbps DELAY -133ms.ac3" -output "D:\DVD\analyse this\at_quick AC3 T03 2_0ch 192Kbps DELAY -133ms.mp3" -logfile "D:\DVD\analyse this\at_quick AC3 T03 2_0ch 192Kbps DELAY -133ms.log" ) -ota( -G max ) -azid( -c normal ) -lame( -h --abr 128 --scale 1 ) -profile( Gordian Knot 0.26 )
    11:25:39 PM: Finished. Duration: 1 second.

    11:25:39 PM: Audio Done.
    11:25:39 PM: MP3-File-Size is 64 kb.
    11:25:39 PM: Audio 1, determined: 64 kb
    11:25:39 PM: Audio 1, calc: 78 kb
    11:25:39 PM: New Bitrate for Movie = 1366730 k(=1000)Bits/s

    Adding this script to C:\PROGRA~1\Divx\GORDIA~1\virtualdub\VirtualDub.jo bs:

    // $job "DivX4 First Pass"
    // $input "D:\DVD\analyse this\at_quick.avs"
    // $output "D:\DVD\analyse this\at_quick_1_Movie.avi"
    // $state 0
    // $start_time 0 0
    // $end_time 0 0
    // $script

    VirtualDub.Open("D:\\DVD\\analyse this\\at_quick.avs",0,0);
    VirtualDub.audio.SetSource(0);
    VirtualDub.audio.SetMode(0);
    VirtualDub.audio.SetInterleave(1,0,0,0,0);
    VirtualDub.audio.SetClipMode(1,1);
    VirtualDub.audio.SetConversion(0,0,0,0,0);
    VirtualDub.audio.SetVolume();
    VirtualDub.audio.SetCompression();
    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(0x78766964,0,10000 ,0);
    VirtualDub.video.SetCompData(362,"GAEAABCldlHQBwAA CgAAABQAAAAsAQAADAAAAAIAAAAFAAAAAgAAAJABAAAAAAAAAA AAAB4AAABkAAAAAAAAAAAAAAABAAAAAAAAAAAAAAAAAAAAAAAA AAAgAAAyAAAAAAAAAAAQAACamZmZmZnJP5qZmZmZmck/QAAAAAEAAACAAAAAAAAAAAAAAAAAAAAAAAAAAIACAADgAQAAAA AAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAOA/AAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAABAAAAAQ AAAAEAAAABAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAABAAAAAAAA AAEAAAD/////BAAAAEQ6XERWRFxhbmFseXNlIHRoaXNcYXRfcXVpY2tfMS5sb2 cAYzpcdGVzdC5kaXZ4AEQ6XERWRFxhbmFseXNlIHRoaXNcYXRf cXVpY2tfMS5tdgBt");
    VirtualDub.video.filters.Clear();
    VirtualDub.subset.Delete();
    VirtualDub.SaveAVI("D:\\DVD\\analyse this\\at_quick_1_Movie.avi");
    VirtualDub.Close();

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

    11:25:39 PM: Started DivX5-First Pass: D:\DVD\analyse this\at_quick.avs
    11:25:54 PM: Finished DivX5-First Pass. Duration: 14 seconds.
    11:25:54 PM: Trying to open Log-file.
    11:25:54 PM: Success: Log-file open.
    11:25:54 PM: Encoded: 101 Frames.
    11:25:54 PM: Speed: 7.163 Frames per Second.

    Adding this script to C:\PROGRA~1\Divx\GORDIA~1\virtualdub\VirtualDub.jo bs:

    // $job "DivX4 Second Pass"
    // $input "D:\DVD\analyse this\at_quick.avs"
    // $output "D:\DVD\analyse this\at_quick_1_Movie.avi"
    // $state 0
    // $start_time 0 0
    // $end_time 0 0
    // $script

    VirtualDub.Open("D:\\DVD\\analyse this\\at_quick.avs",0,0);
    VirtualDub.audio.SetSource(0);
    VirtualDub.audio.SetMode(0);
    VirtualDub.audio.SetInterleave(1,0,0,0,0);
    VirtualDub.audio.SetClipMode(1,1);
    VirtualDub.audio.SetConversion(0,0,0,0,0);
    VirtualDub.audio.SetVolume();
    VirtualDub.audio.SetCompression();
    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(0x78766964,0,10000 ,0);
    VirtualDub.video.SetCompData(362,"GAEAABCldlHQBwAA CgAAABQAAAAsAQAADAAAAAIAAAAFAAAAAwAAAJABAAAAAAAAAA AAAB4AAABkAAAAAAAAAAAAAAABAAAAAAAAAAAAAAAAAAAAAAAA AAAgAAAyAAAAAAAAAAAQAACamZmZmZnJP5qZmZmZmck/QAAAAAEAAACAAAAAAAAAAAAAAAAAAAAAAAAAAIACAADgAQAAAA AAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAOA/AAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAABAAAAAQ AAAAEAAAABAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAABAAAAAAAA AAEAAAD/////BAAAAEQ6XERWRFxhbmFseXNlIHRoaXNcYXRfcXVpY2tfMS5sb2 cAYzpcdGVzdC5kaXZ4AEQ6XERWRFxhbmFseXNlIHRoaXNcYXRf cXVpY2tfMS5tdgBt");
    VirtualDub.video.filters.Clear();
    VirtualDub.subset.Delete();
    VirtualDub.SaveAVI("D:\\DVD\\analyse this\\at_quick_1_Movie.avi");
    VirtualDub.Close();

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

    11:25:54 PM: Started DivX5-Second Pass: D:\DVD\analyse this\at_quick.avs
    11:26:07 PM: Finished DivX5-Second Pass. Duration: 13 seconds.
    11:26:07 PM: Speed: 7.734 Frames per Second.

    Adding this script to C:\PROGRA~1\Divx\GORDIA~1\nandub\VirtualDub.jobs:

    // $job "DivX3 Append"
    // $input "D:\DVD\analyse this\at_quick_1_Movie.avi"
    // $output "D:\DVD\analyse this\at_quick_1.avi"
    // $state 0
    // $start_time 0 0
    // $end_time 0 0
    // $script

    VirtualDub.Open("D:\\DVD\\analyse this\\at_quick_1_Movie.avi",0,0);
    VirtualDub.audio.SetSource("D:\\DVD\\analyse this\\at_quick AC3 T03 2_0ch 192Kbps DELAY -133ms.mp3");
    VirtualDub.audio.SetMode(0);
    VirtualDub.audio.SetInterleave(1,500,2,0,-133);
    VirtualDub.audio.SetClipMode(1,1);
    VirtualDub.audio.SetConversion(0,0,0,0,0);
    VirtualDub.audio.SetVolume();
    VirtualDub.audio.SetCompression();
    VirtualDub.audio2.SetSource(0);
    VirtualDub.audio2.SetMode(0);
    VirtualDub.audio2.SetInterleave(1,0,0,0,0);
    VirtualDub.audio2.SetClipMode(1,1);
    VirtualDub.audio2.SetConversion(0,0,0,0,0);
    VirtualDub.audio2.SetVolume();
    VirtualDub.audio2.SetCompression();
    VirtualDub.video.SetDepth(24,24);
    VirtualDub.video.SetMode(0);
    VirtualDub.video.SetFrameRate(0,1);
    VirtualDub.video.SetIVTC(0,0,-1,0);
    VirtualDub.video.SetRange(0,0);
    VirtualDub.video.SetCompression();
    VirtualDub.video.filters.Clear();
    VirtualDub.subset.Delete();
    VirtualDub.SaveAVI("D:\\DVD\\analyse this\\at_quick_1.avi");
    VirtualDub.Close();

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

    11:26:07 PM: Started Appending Credits and Muxing Audio.: D:\DVD\analyse this\at_quick_1_Movie.avi
    11:26:09 PM: Finished Appending Credits and Muxing Audio.. Duration: 1 second.

    11:26:09 PM: Done.
    11:26:09 PM: Movie = D:\DVD\analyse this\at_quick_1.avi
    Total Encoding Time: 30 seconds.
    12/2/2002 11:26:09 PM: Job "Default" finished.
    __________________________________________________ __________________________________________________ ___________________
  • jdcraz
    Junior Member
    Junior Member
    • Dec 2002
    • 24

    #2
    I cant post a screenshot, but i can email or yahoo it if it will help.

    Comment

    • khp
      The Other
      • Nov 2001
      • 2161

      #3
      I would suspect this to be a problem with the source.

      How does the clip look in the preview window in GKnot ?. And could you try loading the avs file created by gknot, into virtualdub and check how that looks like.
      Donate your idle CPU time for something usefull.
      http://folding.stanford.edu/

      Comment

      • jdcraz
        Junior Member
        Junior Member
        • Dec 2002
        • 24

        #4
        Thanks for the post khp.

        DVD2AVI shows a perfect picture, as does virtualdub.
        What else could be wrong? One thing: when i loaded the avs file with virtualdub, it shows the whole frame, and then about 15% of the start of the frame appended to the end. Is this normal?

        Comment

        • khp
          The Other
          • Nov 2001
          • 2161

          #5
          Originally posted by jdcraz
          Thanks for the post khp.

          DVD2AVI shows a perfect picture, as does virtualdub.
          Originally posted by jdcraz

          and then about 15% of the start of the frame appended to the end. Is this normal?
          These statements appear to contradict each other. And I don't quite under stand what you mean by the start and end of the frame (top, bottom or left right ?).
          Anyway I would suspect that this is caused by whatever deinterlace filter you are using. You might be able to fix this by upgrading to GKnot version 0.26.1.

          As for your blocking problems, could you try loading the avs file into virtualdub, and configure a quality based divx5 encoding. (select video->compression->divx5->configure and set bitrate mode to 1-pass quality based encoding, move the slider to 100%, and save as avi). And compare the result with the GKnot encode.
          Donate your idle CPU time for something usefull.
          http://folding.stanford.edu/

          Comment

          • jdcraz
            Junior Member
            Junior Member
            • Dec 2002
            • 24

            #6
            Hi khp;

            What i mean is Virtualdub shows a perfect quality picture when loading (no blocking or other sh*t) BUT there is part of the same (or maybe next) frame showing to the right (as if you were looking at an actual filmstrip with the frames in sequence).

            Ok i did a quality based Divx5 encoding with vdub and saved as avi - no change - exactly same result.

            BTW my Gordian Knot is updated with 0.26.1.

            Comment

            • jdcraz
              Junior Member
              Junior Member
              • Dec 2002
              • 24

              #7
              One other thing:

              The encoded avi does NOT have the partial frame - aspect ratio is correct - its just corrupted. In virtualdub, if the picture was encoded like i described with part of another frame showing, it would be waaaaay to wide to be normal aspect ratio. So maybe its combining the one frame and part of the next one??

              Comment

              • khp
                The Other
                • Nov 2001
                • 2161

                #8
                Originally posted by jdcraz

                What i mean is Virtualdub shows a perfect quality picture when loading (no blocking or other sh*t) BUT there is part of the same (or maybe next) frame showing to the right (as if you were looking at an actual filmstrip with the frames in sequence).
                I have to admit that I dont have a clue what might cause that, could you try posting the avs file.

                Originally posted by jdcraz

                Ok i did a quality based Divx5 encoding with vdub and saved as avi - no change - exactly same result.
                Could you try doing it again, but before you set the bitrate mode to 1-pass quality based encoding, go to the general parameters tab an press reset codec defaults.
                Donate your idle CPU time for something usefull.
                http://folding.stanford.edu/

                Comment

                • jdcraz
                  Junior Member
                  Junior Member
                  • Dec 2002
                  • 24

                  #9
                  Ok i tried resetting to defaults:

                  Ok the blocking is not as bad - only across the top. But the frames now arent advancing. Im looking at a still frame all the way though - although it is much better quality now. Before, i reset to defaults the frames seemed to be advancing.


                  Hmm how do i post the avs? Can i email it to you?

                  Comment

                  • jdcraz
                    Junior Member
                    Junior Member
                    • Dec 2002
                    • 24

                    #10
                    did you mean the avs log?

                    #
                    # Created with Gordian Knot
                    #
                    # http://thewef.nav.to
                    #
                    # PLUGINS
                    # get them from http://users.win.be/dividee
                    LoadPlugin("C:\PROGRA~1\Divx\GORDIA~1\mpeg2dec.dll ")
                    #LoadPlugin("C:\PROGRA~1\Divx\GORDIA~1\decomb.dll" )
                    #LoadPlugin("C:\PROGRA~1\Divx\GORDIA~1\InverseTele cine.dll")
                    #LoadPlugin("C:\PROGRA~1\Divx\GORDIA~1\Avisynth_Sp atial.dll")
                    #LoadPlugin("C:\PROGRA~1\Divx\GORDIA~1\GreedyHMA.d ll")
                    #LoadPlugin("C:\WINDOWS\System32\vobsub.dll")
                    #LoadPlugin("C:\PROGRA~1\Divx\GORDIA~1\SimpleResiz e.dll")
                    #
                    # SOURCE
                    mpeg2source("D:\DVD\analyse this\at_quick.d2v")
                    #
                    # TRIM
                    #trim(startframe,endframe)
                    #
                    # IVTC
                    #Telecide()
                    #Decimate(cycle=5)
                    # or use
                    #InverseTelecine(40,10,15)
                    #GreedyHMA(1,0,4,0,0,0,0,0)
                    #
                    # DEINTERLACING
                    #FieldDeinterlace()
                    # or use
                    #VerticalReduceBy2
                    # or maybe
                    #GreedyHMA(1,0,0,0,0,0,0,0)
                    #
                    # CROPPING
                    crop(0,0,717,478)
                    #
                    # SUBTITLES
                    #VobSub("FileName")
                    #
                    # RESIZING
                    BicubicResize(640,352,0,0.5)
                    #
                    # DENOISING: choose one combination (or none)
                    # 1) little noise (fast)
                    #TemporalSmoother(2,1)
                    #
                    # 2) medium noise (slow)
                    #SpatialSoftenMMX(1,4,6,false,false,4,4,6,8)
                    #TemporalSmoother(2)
                    #
                    # 3) heavy noise (very slow, you have been warned)
                    #SpatialSoftenMMX(2,4,6,false,false,4,4,6,8)
                    #TemporalSmoother(3)
                    #SpatialSoftenMMX(1,4,6,false,false,4,4,6,8)
                    #
                    # BORDERS
                    #AddBorders(left,top,right,bottom)
                    #
                    # COMPRESSIBILITY CHECK
                    # !!!!Snip Size now has to be 14 for use in GKnot!
                    #SelectRangeEvery(280,14)
                    #
                    # FOOL CCEnc
                    #ResampleAudio(44100)

                    Comment

                    • khp
                      The Other
                      • Nov 2001
                      • 2161

                      #11
                      Originally posted by jdcraz
                      Ok the blocking is not as bad - only across the top. But the frames now arent advancing. Im looking at a still frame all the way though - although it is much better quality now. Before, i reset to defaults the frames seemed to be advancing.
                      This also happens when you, load the encoded avi file into virtualdub ? or when using the divx player that comes with the codec ?

                      Originally posted by jdcraz

                      did you mean the avs log?
                      yup, that is the file. But it's not a log, it's a script that defines how the source video stream should be processed before being passed to the divx codec.

                      The file indicates that you have told GKnot to process an NTSC source at 23.976 fps without preforming IVTC. Which means that you should have selected ForceFilm in DVD2AVI.
                      Did you select ForceFilm in DVD2AVI ?, and does the vob file come from an NTSC DVD ?
                      Donate your idle CPU time for something usefull.
                      http://folding.stanford.edu/

                      Comment

                      • jdcraz
                        Junior Member
                        Junior Member
                        • Dec 2002
                        • 24

                        #12
                        Yes the encoded file always is the same corrupted, in Divx player, media player, AND virtualdub.

                        Ok....yes i have selected force film. I also tried with 'none'. With field operation set to 'none' DVD2AVI tells during preview that the movie is 16:9 29.97FPS FILM Progressive. Colorspace is set to YUV. YUV > rgb is set to 'PC scale'.

                        I have tried this with two different dvd's "enemy at the gates" and "analyze this". It was the same with both. I completely encoded enemy at the gates without checking, so it was ruined all the way (13 hrs
                        )


                        what am i doing wrong?

                        Comment

                        • khp
                          The Other
                          • Nov 2001
                          • 2161

                          #13
                          I can find nothing wrong, with anything you have done.

                          I'am beginning to think that something must be seriously wrong with your system.

                          You might try using Divx3.11 instead. Other than that I don't think I can be of much more help.

                          Sorry

                          /khp
                          Donate your idle CPU time for something usefull.
                          http://folding.stanford.edu/

                          Comment

                          • jdcraz
                            Junior Member
                            Junior Member
                            • Dec 2002
                            • 24

                            #14
                            Does the video card have anything to do with the encoding? I do have corrupt pixels on my desktop sometimes - i have overclocked my video card in the past

                            Comment

                            • khp
                              The Other
                              • Nov 2001
                              • 2161

                              #15
                              Originally posted by jdcraz
                              Does the video card have anything to do with the encoding?
                              No the video data does not pass through the video card durring encoding.

                              Originally posted by jdcraz

                              I do have corrupt pixels on my desktop sometimes
                              This might just as well be caused by the cpu.
                              Overclocked AMD processors have been know to produce errors like this durring jpg decompression.
                              I have seen this happen myself, with 750mhz duron overclocked to 1ghz. Which also produced some rather strange effects durring divx encoding.
                              Last edited by khp; 4 Dec 2002, 06:27 PM.
                              Donate your idle CPU time for something usefull.
                              http://folding.stanford.edu/

                              Comment

                              Working...