Log in

View Full Version : Gordian works, but can't do compressibility test?


valnar
10th January 2003, 12:01
I've managed to get Gordian Knot working, made a couple DiVX movies and all that works well. However, I can't seem to do any compressibility checks. It "finishes" in 1 second and doesn't return any results.

Is there anything special I need to setup for this to work?

Robert

valnar
10th January 2003, 12:17
Here is my log with the problem:



1/10/2003 6:18:34 AM: Job "Movie 1" started.


Gordian Knot 0.27.0.13
Encoding Job Data:

Type: EncD5_First
Number: 393558
Name: Movie 1
Platform: Win2000 (5.0.2195).2

Files:
VirtualDubExe: C:\Program Files\GordianKnot\VirtualDub\VirtualDub.exe
NandubExe: C:\PROGRA~1\GORDIA~1\nandub\Nandub.exe
AviFinal: C:\PROGRA~1\GORDIA~1\_.avi
AviMovie: C:\PROGRA~1\GORDIA~1\__Movie.avi
AviCredits: C:\PROGRA~1\GORDIA~1\__Credits.avi
MovieFS: C:\PROGRA~1\GORDIA~1\LastCompCheck.avs
CreditsFS: F:\TEMP\VTS__03_P01_1_Credits.avs
Log : _5_perc_D5_ivtc_NeutralBicubic_512x368.log
Stats:
Ecf :
This is a Compressibility Check:
DivX5BiDirect: 1
DivX5GMC: 1
DivX5QuartPel: 0
DivX5PsyVis: 0
Resolution: 512 x 368


Adding this script to C:\Program Files\GordianKnot\VirtualDub\VirtualDub.jobs:

// $job "DivX4 First Pass"
// $input "C:\PROGRA~1\GORDIA~1\LastCompCheck.avs"
// $output "C:\PROGRA~1\GORDIA~1\_.avi"
// $state 0
// $start_time 0 0
// $end_time 0 0
// $script

VirtualDub.Open("C:\\PROGRA~1\\GORDIA~1\\LastCompCheck.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(378,"GAEAAACgjADQBwAACgAAABQAAAAsAQAAAgAAAAIAAAAFAAAAAgAAAJABAAAAAAAAAAAAAB4AAABkAAAAAAAAAAAAAAABAAAAAAAAAAAAAAAAAAAAAAAAAAAgAAAyAAAAAAAAAAAQAACamZmZmZnJP5qZmZmZmck/QAAAAAEAAACAAAAAAAAAAAAAAAAAAAAAAAAAAIACAADgAQAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAOA/AAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAABAAAAAQAAAAEAAAABAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAABAAAAAAAAAAEAAAD/////BAAAAF81X3BlcmNfRDVfaXZ0Y19OZXV0cmFsQmljdWJpY181MTJ4MzY4LmxvZwBjOlx0ZXN0LmRpdngAXzVfcGVyY19ENV9pdnRjX05ldXRyYWxCaWN1YmljXzUxMngzNjgubXYAbQ==");
VirtualDub.video.filters.Clear();
VirtualDub.subset.Delete();
VirtualDub.SaveAVI("C:\\PROGRA~1\\GORDIA~1\\_.avi");
VirtualDub.Close();

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

6:18:34 AM: Started DivX5-First Pass: C:\PROGRA~1\GORDIA~1\LastCompCheck.avs
6:18:35 AM: Finished DivX5-First Pass. Duration: 1 second.
6:18:35 AM: Trying to open Log-file.
6:18:35 AM: Error: Could not open _5_perc_D5_ivtc_NeutralBicubic_512x368.log
6:18:35 AM: Error: Could not count encoded Frames.
6:18:35 AM: Speed: 0.000 Frames per Second.

6:18:35 AM: Done.
6:18:35 AM: Log File = _5_perc_D5_ivtc_NeutralBicubic_512x368.log
Total Encoding Time: 1 second.
1/10/2003 6:18:35 AM: Job "Movie 1" finished.
_______________________________________________________________________________________________________________________

N_F
10th January 2003, 12:24
"C:\PROGRA~1\GORDIA~1\LastCompCheck.avs" is probably still there, could you try opening that with VirtualDub?

valnar
10th January 2003, 14:11
Originally posted by N_F
"C:\PROGRA~1\GORDIA~1\LastCompCheck.avs" is probably still there, could you try opening that with VirtualDub?

OK. When I do that, it says:

Avisynth open failure:
MPEG2Source: couldn't open file
(C:\Program Files\GordianKnot\LastCompCheck.avs, line 17)

So I went to line 16 & 17 and it reads:
# SOURCE
mpeg2source("F:TEMP\VTS__03_P01_1.d2v")

This is my DVD2AVI file that was created. It exists, so I don't know what it couldn't open it. Now, I used DoitFast4U to rip all my PGC titles and create the .d2v file for me. Doing it by hand would take longer. Could that be the problem?

Edit:
Doing the compression in the final phase of Gordian Knot and running DivX compression works fine. I get my end result AVI file. So why would the compressibility check phase fail?

N_F
10th January 2003, 15:23
That does seem strange... have you opened the .avs file you used for the real encoding and compared the lines? Are they exactly the same?

valnar
10th January 2003, 15:45
Interesting. It must be my .d2v file.

Instead of using DoitFast4U, I ripped the VOB manually with DVD Decrypter and created the .d2v file by running DVD2AVI interactively. When I load that up in Gordian Knot and do a compressibility test, it works fine!

There is something about the automagic generation of .d2v files with DoitFast4U that messes up Gordian Knot.

Robert

manono
10th January 2003, 16:19
Hi-

It probably uses a different DVD2AVI than GKnot. You could try and replace the one it uses with the one in GKnot if possible (Ver. 1.76).

valnar
10th January 2003, 16:24
Originally posted by manono
Hi-

It probably uses a different DVD2AVI than GKnot. You could try and replace the one it uses with the one in GKnot if possible (Ver. 1.76).
Same version. Both are the DVD2SVCD version 1.76. It's the only two executable DVD2AVI.EXE files I have. I've written Eyes-Only to see if he has any insight.

Aloha brah. I'm an ex-native haole transplanted to Ohio. I sure do miss the "da kine" weather over there. :D :D

-Robert

Eyes`Only
10th January 2003, 17:13
Hmm.. not familiar with GordianKnot (or DiVX), but I'll attempt to help solve this issue. It kind of sounds like the real issue could be in the demuxing of the .m2v, not DVD2AVI. You said you achieved success by creating a .d2v from a .vob right? That's not what DoItFast4U! does. It uses the demuxed .m2vs to create .d2vs.

I don't know how familiar you are with the CLI DVD2AVI 1.76, but here's the switches DoItFast4U! performs:

switches.Format("-FO=%d -CS=2 -IF=[%s] -OF=[%s_1] -exit", force, inputfilename,fileroot);

force = 0 or 1 depending on forcefilm
-CS=2 is standard, forcing ColorSpace selection of YUV 4:2:2.
The other two just tell it the .m2v to get and the destination filename.

I can't see how this could mess something up? Try running this in your command-line. An example using your previous conversation would be...

DVD2AVICLI.exe -FO=0 -CS=2 -IF[VTS__03_P01_1.m2v] -OF[VTS__03_P01_1] -exit.

Does the .d2v that above line generates work?

valnar
10th January 2003, 18:26
OK, that seems to be the problem. Gordian Knot won't accept a .d2v file from a demuxed .m2v file for the compressibility check. Thanks.

That bites for me though. Now I'll have to sit in front of my computer and do all the ripping, extract, renaming by hand. I'm doing TV episode discs where there are multiple PGC's (a single episode) per VTS set. Is there a way to have DVD Decrypter stream process more than one PGC at a time?

Or better yet, Eyes... any chance of modifying DoitFast4U?

Robert

Edit:
Never mind. I don't think there is a way to change DIF4U to make Gordian Knot accept those "audioless" .d2v files correctly. I guess it would be an issue with GK or DiVX 5??

Eyes`Only
10th January 2003, 19:01
I guess I could have an option to demux .vobs along with .m2vs, if you think that would work. I never thought of using my program for non-dvdr but if you think the DiVX community may adopt my program I'm not entirely opposed to it :)

Could take some work though. Email me and let's get ya added to my beta testers group if you want to work on this.

valnar
10th January 2003, 19:24
Actually, I want the video demuxed from the audio, just the way you have it. It works fine, but I can't do a compressibility test (as its called) to do a pre-examination before the actual DivX job gets added. It's not that important, but is a nice check.

When doing an .AVI file the way I like it, I use the audioless .m2v file, compress to DivX 5 (.AVI format) and mux in the AC3 file after. So basically, I need all the preprocessed files just the way DoitFast4U makes them. I just wish Gordian Knot (or perhaps VirtualDub/AVISynth as it is) would accept the file without audio.

If there are other experts who have followed this thread and wish to chime in, please do so!

Robert

Eyes`Only
10th January 2003, 19:27
Oh OK, so you can bypass that check? That's good then, looks like my program will still work for you. I'll add this situation to my FAQ page on my website, for others to see.

valnar
10th January 2003, 19:43
Originally posted by Eyes`Only
Oh OK, so you can bypass that check? That's good then, looks like my program will still work for you.
Works great for me on the DivX stuff. Now I just need to figure out how to use it for DVD's.... uh... its intended purpose!

I'm still doing DVD-5's with Ifoedit and Rempeg2. I don't have time to figure out Scenarist, CCE, extracting chapters, reauthoring... :(

-Robert

Eyes`Only
10th January 2003, 20:24
Using DoItFast4U! makes it easy. The guide's on my site :)