Log in

View Full Version : GK 0.28 muxing 2 audiostreams bug?


total_chris
29th April 2003, 19:02
Hi

I tried to do a encoding with GK 0.28 final and let GK mux 2 AC3 steams at the end.

I ended up with a avi file that contained only one ac3 stream.
I verified this result with graphedit and Vdub.

A look at the gknot logfile showed:

VirtualDub.Open("C:\\Film\\VIDEO_TS\\h_Movie.avi",0,0);
VirtualDub.Append("C:\\Film\\VIDEO_TS\\h_Credits.avi");
VirtualDub.audio.SetSource("C:\\Film\\VIDEO_TS\\sound1.ac3");
VirtualDub.audio.SetMode(0);
VirtualDub.audio.SetInterleave(1,160,4,0,-80);
VirtualDub.audio.SetClipMode(1,1);
VirtualDub.audio.SetConversion(0,0,0,0,0);
VirtualDub.audio.SetVolume();
VirtualDub.audio.SetCompression();
VirtualDub.audio.SetSource("C:\\Film\\VIDEO_TS\\sound1.ac3");
VirtualDub.audio2.SetMode(0);
VirtualDub.audio2.SetInterleave(1,160,4,0,-80);
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("C:\\Film\\VIDEO_TS\\h.avi");
VirtualDub.Close();

in my point of view there are two mistakes in the line marked.
the source should be "....sound2.ac3" as I specified in the Gknot audio2 tab.
And it should say "VirtualDub.audio2...."

Does this have to do with the fact,that i was doing a 3 CD encoding, which should end up with a file > 2GB?

But this should be no prob. as I use Win XP

Thankyou for any advice

P.S. Sorry for double post. Forum did not react. Please delete first post

Jing
30th April 2003, 13:28
I can confirm the same bug. It's not related to file size since mine is a 2 CD job. Here's my log file:

VirtualDub.Open("E:\\Edward Scissorhands\\edward_Movie.avi",0,0);
VirtualDub.audio.SetSource("E:\\Edward Scissorhands\\edward AC3 T01 3_1ch 448Kbps DELAY -695ms.mp3",1);
VirtualDub.audio.SetMode(0);
VirtualDub.audio.SetInterleave(1,500,2,0,-695);
VirtualDub.audio.SetClipMode(1,1);
VirtualDub.audio.SetConversion(0,0,0,0,0);
VirtualDub.audio.SetVolume();
VirtualDub.audio.SetCompression();
VirtualDub.audio.SetSource("E:\\Edward Scissorhands\\edward AC3 T04 2_0ch 96Kbps DELAY -535ms.mp3",1);
VirtualDub.audio2.SetMode(0);
VirtualDub.audio2.SetInterleave(1,500,2,0,-535);
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("E:\\Edward Scissorhands\\edward.avi");
VirtualDub.Close();

Looks like we should submit a bug report at SF.

Suiryc
1st May 2003, 16:01
btw the new versions of VirtualDubMod don't use anymore the audio2 fields.
We kept the audio one for compatibility with VirtualDub, otherwise streams are now accessed thanks to stream[0], stream[1], ... (to use instead of audio or audio2).

total_chris
2nd May 2003, 16:23
Does this mean, that the missing argument ...audio2... is not responsible for the fact that only one audiostream is finally muxed?

I definetly end up with only one audio steam in the avi, although I specified two stream to mux with GK 0.28

Suiryc
2nd May 2003, 19:50
New version = 1.5.1.1a
IIRC GKnot uses the previous version (1.4.x) which use audio2. You are right about the bug in the generated job file, since the audio2.SetSource became audio.SetSource this means that no second audio stream is set, only the source of the first one is updated.

I just wanted to tell that in the new version such a job file won't work (that is if there are audio2. lines).

J4xxx
17th May 2003, 15:32
I still have a bug muxing 2 streams in the new version: VDubmod muxes both streams, but just the first is playable. If i switch to the second stream, audio is screwed up and video plays fast fwd!
If i try to mux it manually with Nandub (with temporarily created non-sound-avi and both mp3s) it's the same effect!

Anyone else with this problem or a suggestion for me?

greetz!

part of log with mux script:
// $job "DivX5 Append"
// $input "E:\barabbas\barabba_Movie.avi"
// $output "E:\barabbas\barabba.avi"
// $state 0
// $start_time 0 0
// $end_time 0 0
// $script

VirtualDub.Open("E:\\barabbas\\barabba_Movie.avi",0,0);
VirtualDub.RemoveInputStreams();
VirtualDub.stream[0].SetSource("E:\\barabbas\\barabba AC3 T03 3_1ch 448Kbps DELAY 0ms.mp3",0x00000202,1);
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.stream[1].SetSource("E:\\barabbas\\barabba AC3 T01 3_1ch 448Kbps DELAY 0ms.mp3",0x00000202,1);
VirtualDub.stream[1].SetMode(0);
VirtualDub.stream[1].SetInterleave(1,500,1,0,0);
VirtualDub.stream[1].SetClipMode(1,1);
VirtualDub.stream[1].SetConversion(0,0,0,0,0);
VirtualDub.stream[1].SetVolume();
VirtualDub.stream[1].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("E:\\barabbas\\barabba.avi");
VirtualDub.Close();

len0x
19th May 2003, 14:59
It's a known problem...
Did your final avi was supposed to be > 2Gb ?

J4xxx
19th May 2003, 15:51
no, it should be a 2CD-Rip so it was about 1.4GB!
Whats the reason for this? If its already known it shall be a pc-and os-unspecific problem i think...

len0x
19th May 2003, 15:53
it can be playback problem....

Well the problem I mentioned is VDubMod internal problem. I have no control over muxing process in GK...