PDA

View Full Version : Muxing problem with VDubMod.


mgargett
13th June 2003, 19:16
I've recently gotten this error on GK 0.28.4 beta, but it also happened with GK 0.28.3 beta

The function SetMode was called on a stream[?] that hasn't been previously initialized with SetSource

And with a quick search it looks like it has something to do with international characters. The only problem is, the file name does not contain any special characters, only words and underscores. It looks like this:

THE_BLUE_DISC Track 1 English DELAY 0ms.ogg
THE_BLUE_DISC_ForceFilm_Movie.avi

Any idea why it doesn't want to mux? Could it be that the directory structure is too long? I've also tried other discs with the same results.

tHe gLouCh
13th June 2003, 20:19
Could you send me the GL log file (especially the last VDM script)? I had the same problem some time ago... I think that's a character problem also...

mgargett
13th June 2003, 23:53
6/13/2003 10:38:40 AM: Job " 1" started.

o DivX5-First Pass: D:\DVD\Projects\THE_FIVE_SENSES_VTS_01_PGC1\THE_FIVE_SENSES_ForceFilm.avs
o DivX5 - Pass 2: D:\DVD\Projects\THE_FIVE_SENSES_VTS_01_PGC1\THE_FIVE_SENSES_ForceFilm.avs
o Mux Audio.
End of Job 1 ( 1).
_______________________________________________________________________________________________________________________

Gordian Knot -
Encoding Job Data:

Type: EncD5_All
Number: 1
Name: 1
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: D:\DVD\Projects\THE_FIVE_SENSES_VTS_01_PGC1\THE_FIVE_SENSES_ForceFilm.avi
AviMovie: D:\DVD\Projects\THE_FIVE_SENSES_VTS_01_PGC1\THE_FIVE_SENSES_ForceFilm_Movie.avi
AviCredits: D:\DVD\Projects\THE_FIVE_SENSES_VTS_01_PGC1\THE_FIVE_SENSES_ForceFilm_Credits.avi
MovieFS: D:\DVD\Projects\THE_FIVE_SENSES_VTS_01_PGC1\THE_FIVE_SENSES_ForceFilm.avs
CreditsFS:
Log : D:\DVD\Projects\THE_FIVE_SENSES_VTS_01_PGC1\THE_FIVE_SENSES_ForceFilm_1.log
Stats: D:\DVD\Projects\THE_FIVE_SENSES_VTS_01_PGC1\THE_FIVE_SENSES_ForceFilm.stats
Ecf : D:\DVD\Projects\THE_FIVE_SENSES_VTS_01_PGC1\THE_FIVE_SENSES_ForceFilm.ecf

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

Calculator:
VideoSize: 636099 kbyte.
Audio1Size: 75580 kbyte.
Audio2Size: 0 kbyte.
Overhead: 7168 kbyte.
AviSize: 718848 kbyte (702 mbyte).
FilesSize: 0 kbyte.
TotalSize: 718848 kbyte (702 mbyte).
Interleaving: 1stream
Bitrate 821 k(=1000)Bits/s
Frames: 152062
FPS: 23.976
Duration: 145:42
Quality: 0.176 bits/(pixel*frame).
CompCheck3 0.000 bits/(pixel*frame).
CompCheck5 0.000 bits/(pixel*frame).
Resolution: 608 x 320

Audio 1:
mode: Just Mux Source File.
sourceFile: D:\DVD\Projects\THE_FIVE_SENSES_VTS_01_PGC1\THE_FIVE_SENSES Track 1 English DELAY 0ms.ogg
wavFile: D:\DVD\Projects\THE_FIVE_SENSES_VTS_01_PGC1\THE_FIVE_SENSES Track 1 English DELAY 0ms.wav
mp3File: D:\DVD\Projects\THE_FIVE_SENSES_VTS_01_PGC1\THE_FIVE_SENSES Track 1 English DELAY 0ms.mp3
azid:
lame:
delay: 0
interval: 1
preload: 500
mux: 1
recalc: 1
deleteWav: 1

Audio 2:
none.

10:38:40 AM: Audio 1, determined: 75580 kb
10:38:40 AM: Audio 1, calc: 75580 kb
10:38:40 AM: New Bitrate for Movie = 821 k(=1000)Bits/s

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

// $job "DivX5-First Pass"
// $input "D:\DVD\Projects\THE_FIVE_SENSES_VTS_01_PGC1\THE_FIVE_SENSES_ForceFilm.avs"
// $output "D:\DVD\Projects\THE_FIVE_SENSES_VTS_01_PGC1\THE_FIVE_SENSES_ForceFilm_Movie.avi"
// $state 0
// $start_time 0 0
// $end_time 0 0
// $script

VirtualDub.Open("D:\\DVD\\Projects\\THE_FIVE_SENSES_VTS_01_PGC1\\THE_FIVE_SENSES_ForceFilm.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(0x78766964,0,10000,0);
VirtualDub.video.filters.Clear();
VirtualDub.subset.Delete();
VirtualDub.SaveAVI("D:\\DVD\\Projects\\THE_FIVE_SENSES_VTS_01_PGC1\\THE_FIVE_SENSES_ForceFilm_Movie.avi");
VirtualDub.Close();

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

10:38:40 AM: Started DivX5-First Pass: D:\DVD\Projects\THE_FIVE_SENSES_VTS_01_PGC1\THE_FIVE_SENSES_ForceFilm.avs
11:45:21 AM: Finished DivX5-First Pass: Duration: 1 hour, 6 minutes, 41 seconds.
11:45:21 AM: Trying to open Log-file.
11:45:21 AM: Success: Log-file open.
11:45:21 AM: Encoded: 152062 Frames.
11:45:21 AM: Speed: 38.006 Frames per Second.

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

// $job "DivX5-Second Pass"
// $input "D:\DVD\Projects\THE_FIVE_SENSES_VTS_01_PGC1\THE_FIVE_SENSES_ForceFilm.avs"
// $output "D:\DVD\Projects\THE_FIVE_SENSES_VTS_01_PGC1\THE_FIVE_SENSES_ForceFilm_Movie.avi"
// $state 0
// $start_time 0 0
// $end_time 0 0
// $script

VirtualDub.Open("D:\\DVD\\Projects\\THE_FIVE_SENSES_VTS_01_PGC1\\THE_FIVE_SENSES_ForceFilm.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(0x78766964,0,10000,0);
VirtualDub.video.filters.Clear();
VirtualDub.subset.Delete();
VirtualDub.SaveAVI("D:\\DVD\\Projects\\THE_FIVE_SENSES_VTS_01_PGC1\\THE_FIVE_SENSES_ForceFilm_Movie.avi");
VirtualDub.Close();

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

11:45:21 AM: Started DivX5 - Pass: 2: D:\DVD\Projects\THE_FIVE_SENSES_VTS_01_PGC1\THE_FIVE_SENSES_ForceFilm.avs
12:51:03 PM: Finished DivX5 - Pass: 2: Duration: 1 hour, 5 minutes, 41 seconds.
12:51:03 PM: Speed: 38.578 Frames per Second.

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

// $job "DivX5 Append"
// $input "D:\DVD\Projects\THE_FIVE_SENSES_VTS_01_PGC1\THE_FIVE_SENSES_ForceFilm_Movie.avi"
// $output "D:\DVD\Projects\THE_FIVE_SENSES_VTS_01_PGC1\THE_FIVE_SENSES_ForceFilm.avi"
// $state 0
// $start_time 0 0
// $end_time 0 0
// $script

VirtualDub.Open("D:\\DVD\\Projects\\THE_FIVE_SENSES_VTS_01_PGC1\\THE_FIVE_SENSES_ForceFilm_Movie.avi",0,0);
VirtualDub.RemoveInputStreams();
VirtualDub.stream[0].SetSource("D:\\DVD\\Projects\\THE_FIVE_SENSES_VTS_01_PGC1\\THE_FIVE_SENSES Track 1 English DELAY 0ms.ogg",0x00000203,0);
VirtualDub.stream[0].SetMode(0);
VirtualDub.stream[0].SetInterleave(1,500,1,0,0);
VirtualDub.stream[0].SetClipMode(1,1);
VirtualDub.stream[0].SetConversion(0,0,0,0,0);
VirtualDub.stream[0].SetVolume();
VirtualDub.stream[0].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\\Projects\\THE_FIVE_SENSES_VTS_01_PGC1\\THE_FIVE_SENSES_ForceFilm.avi");
VirtualDub.Close();

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

12:51:03 PM: Started Muxing Audio.: D:\DVD\Projects\THE_FIVE_SENSES_VTS_01_PGC1\THE_FIVE_SENSES_ForceFilm_Movie.avi
1:19:11 PM: Finished Muxing Audio.: Duration: 28 minutes, 7 seconds.

1:19:11 PM: Done.
1:19:11 PM: Movie = D:\DVD\Projects\THE_FIVE_SENSES_VTS_01_PGC1\THE_FIVE_SENSES_ForceFilm.avi
Total Encoding Time: 2 hours, 40 minutes, 30 seconds.
6/13/2003 1:19:11 PM: Job " 1" finished.
_______________________________________________________________________________________________________________________

tHe gLouCh
14th June 2003, 00:14
VirtualDub.stream[0].SetSource("D:\\DVD\\Projects\\THE_FIVE_SENSES_VTS_01_PGC1\\THE_FIVE_SENSES Track 1 English DELAY 0ms.ogg",0x00000203,0);
I think you cannot have a file with SPACE characters.

To verify (but I am pretty sure), just copy the script below to a text file, rename it "Test.vcf", run VDM, then "File", "Load processing settings", choose the vcf file... If you obtain the same error then I am right.
How did you get a filename with space ?

VirtualDub.Open("D:\\DVD\\Projects\\THE_FIVE_SENSES_VTS_01_PGC1\\THE_FIVE_SENSES_ForceFilm_Movie.avi",0,0);
VirtualDub.RemoveInputStreams();
VirtualDub.stream[0].SetSource("D:\\DVD\\Projects\\THE_FIVE_SENSES_VTS_01_PGC1\\THE_FIVE_SENSES Track 1 English DELAY 0ms.ogg",0x00000203,0);
.
.
.
VirtualDub.subset.Delete();
VirtualDub.SaveAVI("D:\\DVD\\Projects\\THE_FIVE_SENSES_VTS_01_PGC1\\THE_FIVE_SENSES_ForceFilm.avi");
VirtualDub.Close();

Complete script in your post...

mgargett
14th June 2003, 01:59
I copied the script and sure enough, the same problem occurs immediatley. Could it have something to do with OGG? I could try to reencode it with MP3 and see what happens.

Also, I tried renaming the audio to just THE_FIVE_SENSES.ogg and it still won't work, so it's not the spaces thing.

I made that audio file using Robot4Rip, with the default settings. I dunno why it's not working now.

Any other ideas?

N_F
14th June 2003, 04:36
Since when does GK mux ogg's? Did I miss it?

tHe gLouCh
14th June 2003, 08:34
Well, I haven't notice it was an ogg file, because I am testing an OGM beta version of GKnot. With ogg audio you must save the final file as an OGM. It cannot be done in GK for now so modify your script (in vcf file) to (last lines):
...
VirtualDub.SaveOGM("D:\\DVD\\Projects\\THE_FIVE_SENSES_VTS_01_PGC1\\THE_FIVE_SENSES_ForceFilm.avi");
VirtualDub.Close();

PS: but maybe the problem with SPACE character is the same...