Problems with encoding NTSC using Gordian Knot 0.21

Collapse
X
 
  • Time
  • Show
Clear All
new posts
  • SioniK
    Junior Member
    Junior Member
    • Jan 2003
    • 11

    Problems with encoding NTSC using Gordian Knot 0.21

    I was following a guide on converting DVD material to Divx, but the stuff involving NTSC video type has me stumped. The guide says to run an IVTC conversion on the DVD2AVI project file using the program TMPGEnc. However, the TMPGEnc project file is incompatible with Gordian Knot. I've tried converting to a VFAPI-AVI file, but that doesn't work as well. Anyone have any ideas how to get around this?
  • Enchanter
    Old member
    • Feb 2002
    • 5417

    #2
    GordianKnot has its own built-in IVTC feature, which you can activate by opening the D2V file in GK and pressing the "Save & Encode" button. Select Inverse Telecine, rather than Deinterlacer.

    Comment

    • SioniK
      Junior Member
      Junior Member
      • Jan 2003
      • 11

      #3
      Thx a lot. Wow, that was ridiculously fast. Do you sit here and hit refresh all day or something?

      Comment

      • UncasMS
        Super Moderator
        • Nov 2001
        • 9047

        #4
        consider updating gk to 027 btw for divx5 support or better audio settings compared to 021.

        Comment

        • SioniK
          Junior Member
          Junior Member
          • Jan 2003
          • 11

          #5
          Now my problems are getting stranger. When I tried encoding the file, i got this:

          6:47:28 PM: Finished DivX5-Second Pass. Duration: 0 seconds.
          6:47:27 PM: Started DivX5-Second Pass: D:\Ripped stuff\test.avs

          6:47:27 PM: Now encoding at 3135 k(=1000)Bits/s
          6:47:27 PM: ERROR: Correction impossible
          6:47:27 PM: Original Bitrate = 3135 k(=1000)Bits/s
          6:47:27 PM: Correcting Bitrate...
          6:47:27 PM: WARNING: Difference: 3035
          6:47:27 PM: WARNING: Counted: 0
          6:47:27 PM: WARNING: Settings: 3035
          6:47:27 PM: WARNING: Number of counted frames differs from settings!
          6:47:27 PM: Speed: 0.000 Frames per Second.
          6:47:27 PM: Error: Could not count encoded Frames.
          6:47:27 PM: Error: Could not open D:\Ripped stuff\test.log
          6:47:27 PM: Trying to open Log-file
          6:47:27 PM: Finished DivX5-First Pass. Duration: 1 second.
          6:47:26 PM: Started DivX5-First Pass: D:\Ripped stuff\test.avs

          I'm absolutely lost as to what to do about this.

          Comment

          • UncasMS
            Super Moderator
            • Nov 2001
            • 9047

            #6
            post the entire log file pls

            i guess there must be more to it than what you posted.

            a new installation of divx5 might help btw

            Comment

            • SioniK
              Junior Member
              Junior Member
              • Jan 2003
              • 11

              #7
              Is there a way to view the log file other than the encoding window? You can't c/p the text through that window, and it's a real pain to type it all out.

              Comment

              • UncasMS
                Super Moderator
                • Nov 2001
                • 9047

                #8
                it is a plain text file in your folder with a name like xyz_GKnot.log

                Comment

                • SioniK
                  Junior Member
                  Junior Member
                  • Jan 2003
                  • 11

                  #9
                  Couldn't find the old log, but i tried encoding again under the exact same conditions:

                  1/2/03 7:53:05 PM: Job "HimikoOP" started.

                  o Transcode AC3 -> MP3: D:\Ripped stuff\himikoOP AC3 T01 2_0ch 192Kbps DELAY -109ms.ac3
                  o DivX5-First Pass: D:\Ripped stuff\test.avs
                  o DivX5-Second Pass: D:\Ripped stuff\test.avs
                  o Mux Audio.
                  End of Job 1 (HimikoOP).
                  __________________________________________________ __________________________________________________ ___________________

                  Gordian Knot 0.26.1.8
                  Encoding Job Data:

                  Type: EncD5_Both
                  Number: 1
                  Name: HimikoOP
                  Platform: Win98 (4.10.67766222).1

                  Files:
                  VirtualDubExe: C:\PROGRA~1\UTILIT~1\VIDEOE~1\GORDIA~1\virtualdub\ Virtualdub.exe
                  NandubExe: C:\PROGRA~1\UTILIT~1\VIDEOE~1\GORDIA~1\nandub\Nand ub.exe
                  AviFinal: D:\Ripped stuff\test.avi
                  AviMovie: D:\Ripped stuff\test_Movie.avi
                  AviCredits: D:\Ripped stuff\test_Credits.avi
                  MovieFS: D:\Ripped stuff\test.avs
                  CreditsFS:
                  Log : D:\Ripped stuff\test.log
                  Stats: D:\Ripped stuff\test.stats
                  Ecf : D:\Ripped stuff\test.ecf

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

                  Calculator:
                  VideoSize: 38793 kbyte.
                  Audio1Size: 1972 kbyte.
                  Audio2Size: 0 kbyte.
                  Overhead: 194 kbyte.
                  AviSize: 40960 kbyte (40 mbyte).
                  FilesSize: 0 kbyte.
                  TotalSize: 40960 kbyte (40 mbyte).
                  Interleaving: vbrmp3
                  Bitrate: 3139 k(=1000)Bits/s
                  Frames: 3035
                  FPS: 29.970
                  Duration: 0:1:41
                  Quality: 0.341 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 480

                  Audio 1:
                  mode: ac3 -> mp3
                  sourceFile: D:\Ripped stuff\himikoOP AC3 T01 2_0ch 192Kbps DELAY -109ms.ac3
                  wavFile: D:\Ripped stuff\himikoOP AC3 T01 2_0ch 192Kbps DELAY -109ms.wav
                  mp3File: D:\Ripped stuff\himikoOP AC3 T01 2_0ch 192Kbps DELAY -109ms.mp3
                  azid: "-L -3db -c normal"
                  lame: "--alt-preset 160"
                  delay: -109
                  interval: 2
                  preload: 500
                  mux: 1
                  recalc: 1
                  deleteWav: 1

                  Audio 2:
                  none.


                  7:53:05 PM: Started Transcoding Audio.

                  7:53:05 PM: Using BeSweet to transcode D:\Ripped stuff\himikoOP AC3 T01 2_0ch 192Kbps DELAY -109ms.ac3
                  Commandline: C:\PROGRA~1\UTILIT~1\VIDEOE~1\GORDIA~1\besweet.exe -core( -input "D:\Ripped stuff\himikoOP AC3 T01 2_0ch 192Kbps DELAY -109ms.ac3" -output "D:\Ripped stuff\himikoOP AC3 T01 2_0ch 192Kbps DELAY -109ms.mp3" -logfile "D:\Ripped stuff\himikoOP AC3 T01 2_0ch 192Kbps DELAY -109ms.log" ) -ota( -G max ) -azid( -L -3db -c normal ) -lame( --alt-preset 160 --scale 1 ) -profile( Gordian Knot 0.26 )
                  7:54:36 PM: Finished. Duration: 1 minute, 30 seconds.

                  7:54:36 PM: Audio Done.
                  7:54:36 PM: MP3-File-Size is 2010 kb.
                  7:54:36 PM: Audio 1, determined: 2010 kb
                  7:54:36 PM: Audio 1, calc: 1972 kb
                  7:54:36 PM: New Bitrate for Movie = 3135 k(=1000)Bits/s

                  Adding this script to C:\PROGRA~1\UTILIT~1\VIDEOE~1\GORDIA~1\virtualdub\ VirtualDub.jobs:

                  // $job "DivX4 First Pass"
                  // $input "D:\Ripped stuff\test.avs"
                  // $output "D:\Ripped stuff\test_Movie.avi"
                  // $state 0
                  // $start_time 0 0
                  // $end_time 0 0
                  // $script

                  VirtualDub.Open("D:\\Ripped stuff\\test.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(342,"GAEAABjWLwDQBwAA CgAAABQAAAAsAQAADAAAAAIAAAAFAAAAAgAAAJABAAAAAAAAAA AAAB4AAABkAAAAAAAAAAAAAAABAAAAAAAAAAAAAAAAAAAAAAAA AAAgAAAyAAAAAAAAAAAQAACamZmZmZnJP5qZmZmZmck/QAAAAAEAAACAAAAAAAAAAAAAAAAAAAAAAAAAAIACAADgAQAAAA AAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAOA/AAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAABAAAAAQ AAAAEAAAABAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAABAAAAAAAA AAEAAAD/////BAAAAEQ6XFJpcHBlZCBzdHVmZlx0ZXN0LmxvZwBjOlx0ZXN0Lm RpdngARDpcUmlwcGVkIHN0dWZmXHRlc3QubXYAbQ==");
                  VirtualDub.video.filters.Clear();
                  VirtualDub.subset.Delete();
                  VirtualDub.SaveAVI("D:\\Ripped stuff\\test_Movie.avi");
                  VirtualDub.Close();

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

                  7:54:36 PM: Started DivX5-First Pass: D:\Ripped stuff\test.avs
                  7:54:36 PM: Finished DivX5-First Pass. Duration: 0 seconds.
                  7:54:36 PM: Trying to open Log-file.
                  7:54:36 PM: Error: Could not open D:\Ripped stuff\test.log
                  7:54:36 PM: Error: Could not count encoded Frames.
                  7:54:36 PM: Speed: 0.000 Frames per Second.
                  7:54:36 PM: WARNING: Number of counted frames differs from settings!
                  7:54:36 PM: WARNING: Settings: 3035
                  7:54:36 PM: WARNING: Counted: 0
                  7:54:36 PM: WARNING: Difference: 3035
                  7:54:36 PM: Correcting Bitrate...
                  7:54:36 PM: Original Bitrate = 3135 k(=1000)Bits/s
                  7:54:36 PM: ERROR: Correction impossible.
                  7:54:36 PM: Now encoding at 3135 k(=1000)Bits/s

                  Adding this script to C:\PROGRA~1\UTILIT~1\VIDEOE~1\GORDIA~1\virtualdub\ VirtualDub.jobs:

                  // $job "DivX4 Second Pass"
                  // $input "D:\Ripped stuff\test.avs"
                  // $output "D:\Ripped stuff\test_Movie.avi"
                  // $state 0
                  // $start_time 0 0
                  // $end_time 0 0
                  // $script

                  VirtualDub.Open("D:\\Ripped stuff\\test.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(342,"GAEAABjWLwDQBwAA CgAAABQAAAAsAQAADAAAAAIAAAAFAAAAAwAAAJABAAAAAAAAAA AAAB4AAABkAAAAAAAAAAAAAAABAAAAAAAAAAAAAAAAAAAAAAAA AAAgAAAyAAAAAAAAAAAQAACamZmZmZnJP5qZmZmZmck/QAAAAAEAAACAAAAAAAAAAAAAAAAAAAAAAAAAAIACAADgAQAAAA AAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAOA/AAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAABAAAAAQ AAAAEAAAABAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAABAAAAAAAA AAEAAAD/////BAAAAEQ6XFJpcHBlZCBzdHVmZlx0ZXN0LmxvZwBjOlx0ZXN0Lm RpdngARDpcUmlwcGVkIHN0dWZmXHRlc3QubXYAbQ==");
                  VirtualDub.video.filters.Clear();
                  VirtualDub.subset.Delete();
                  VirtualDub.SaveAVI("D:\\Ripped stuff\\test_Movie.avi");
                  VirtualDub.Close();

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

                  7:54:36 PM: Started DivX5-Second Pass: D:\Ripped stuff\test.avs
                  7:54:37 PM: Finished DivX5-Second Pass. Duration: 0 seconds.
                  7:54:37 PM: Speed: 0.000 Frames per Second.

                  Adding this script to C:\PROGRA~1\UTILIT~1\VIDEOE~1\GORDIA~1\nandub\Virt ualDub.jobs:

                  // $job "DivX3 Append"
                  // $input "D:\Ripped stuff\test_Movie.avi"
                  // $output "D:\Ripped stuff\test.avi"
                  // $state 0
                  // $start_time 0 0
                  // $end_time 0 0
                  // $script

                  VirtualDub.Open("D:\\Ripped stuff\\test_Movie.avi",0,0);
                  VirtualDub.audio.SetSource("D:\\Ripped stuff\\himikoOP AC3 T01 2_0ch 192Kbps DELAY -109ms.mp3");
                  VirtualDub.audio.SetMode(0);
                  VirtualDub.audio.SetInterleave(1,500,2,0,-109);
                  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:\\Ripped stuff\\test.avi");
                  VirtualDub.Close();

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

                  7:54:37 PM: Started Appending Credits and Muxing Audio.: D:\Ripped stuff\test_Movie.avi
                  7:54:38 PM: Finished Appending Credits and Muxing Audio.. Duration: 0 seconds.

                  7:54:38 PM: Done.
                  7:54:38 PM: Movie = D:\Ripped stuff\test.avi
                  Total Encoding Time: 1 minute, 33 seconds.
                  1/2/03 7:54:38 PM: Job "HimikoOP" finished.
                  __________________________________________________ __________________________________________________ ___________________

                  Comment

                  • khp
                    The Other
                    • Nov 2001
                    • 2161

                    #10
                    Could you try loading the file "D:\Ripped stuff\test.avs" into virtualdub, select video->compression, select the Divx5 codec, click configure and set 'Variable bitrate mode' to '2-pass first pass', click Ok,OK. And save as a avi file.

                    I don't think you will succede with the above, but when you get an error message, tell us exactly what it says, and where you got it.
                    Donate your idle CPU time for something usefull.
                    http://folding.stanford.edu/

                    Comment

                    • SioniK
                      Junior Member
                      Junior Member
                      • Jan 2003
                      • 11

                      #11
                      Vdub is unable to determine the filetype of "test.avs".

                      Comment

                      • khp
                        The Other
                        • Nov 2001
                        • 2161

                        #12
                        That would indicate that avisynth is not properly installed, you can get it from www.doom9.net , but to be on the safe side you might want to get the "Gordian Knot System pack" which includes avisynth.
                        Donate your idle CPU time for something usefull.
                        http://folding.stanford.edu/

                        Comment

                        • SioniK
                          Junior Member
                          Junior Member
                          • Jan 2003
                          • 11

                          #13
                          The encoding process went smoothly, only when i playback the resulting AVI file, it's just a black screen.

                          Comment

                          • khp
                            The Other
                            • Nov 2001
                            • 2161

                            #14
                            Originally posted by SioniK
                            The encoding process went smoothly, only when i playback the resulting AVI file, it's just a black screen.
                            Was this from doing the first pass as I described above, or from doing both passes from within GordianKnot ?.

                            The first pass is not supposed to produce any output.
                            Donate your idle CPU time for something usefull.
                            http://folding.stanford.edu/

                            Comment

                            • SioniK
                              Junior Member
                              Junior Member
                              • Jan 2003
                              • 11

                              #15
                              That was from using your method on setting the codec to first pass.

                              Comment

                              Working...