Log in

View Full Version : Problems splitting a 1400 Mb avi file and repeated audio track (1st)


marteaga
14th February 2004, 22:20
Hi, I have AutoGK 0.90b, (VirtualDubMod 1.5.4.1). I have two problems.

When I choose to make a 2CD avi file. The file length of single avi is ok, but the other two avi's AutoGK make are bigger that 700 Mb.

Original avi file: 1432822 Kb
After splitting: CD1 -> 838232 kb
CD2 -> 865330 kb

And the most important!!!! Original avi file has two audio tracks, english and spanish, but after splitting, each avi file has two tracks, only now they are english only.

This is AutoGK_log (first part), thanks for any help.

[14/02/2004 15:22:29] Input dir: D:\DVD\Rips\west
[14/02/2004 15:22:29] Output file: D:\DVD\Projects\west\westsidystory.avi
[14/02/2004 15:22:29] Audio: English
[14/02/2004 15:22:29] Audio2: Espaņol
[14/02/2004 15:22:29] Subtitles: Espaņol : Wi
[14/02/2004 15:22:29] Codec: XviD
[14/02/2004 15:22:29] Target size: 1400Mb
[14/02/2004 15:22:29] Started encoding.
[14/02/2004 15:22:29] Demuxing and indexing.
[14/02/2004 15:30:50] Analyzing source.
[14/02/2004 15:30:50] Writing the following script to D:\DVD\Projects\west\gk_tmp\lastjob.vcf
===========================================================
VirtualDub.Open("D:\\DVD\\Projects\\west\\gk_tmp\\_.avs",0,0);
VirtualDub.RemoveInputStreams();
VirtualDub.video.SetDepth(24,24);
VirtualDub.video.SetMode(0);
VirtualDub.video.SetFrameRate(0,1);
VirtualDub.video.SetIVTC(0,0,-1,0);
VirtualDub.video.SetCompression();
VirtualDub.video.filters.Clear();
VirtualDub.subset.Delete();
VirtualDub.SaveAVI("D:\\DVD\\Projects\\west\\gk_tmp\\_.avi");
===========================================================
[14/02/2004 15:43:07] Source has percentage of interlacing in motion areas: 0,01
[14/02/2004 15:43:07] Source is considered to be progressive.
[14/02/2004 15:43:11] Found 218387 frames
[14/02/2004 15:43:11] Indexing subtitles.
[14/02/2004 15:43:11] Writing the following script to D:\DVD\Projects\west\gk_tmp\vobsub.params
===========================================================
D:\DVD\Rips\west\VTS_01_0.ifo
D:\DVD\Projects\west\gk_tmp\westsidystory
1
0
4 cc
CLOSE
===========================================================
[14/02/2004 15:46:55] Compressing subtitles.
[14/02/2004 15:47:09] Audio size: 489,190,912 bytes (466.53 Mb)
[14/02/2004 15:47:09] Audio 2 size: 209,653,248 bytes (199.94 Mb)
[14/02/2004 15:47:09] Overhead: 5,186,816 bytes (4.95 Mb)
[14/02/2004 15:47:09] Subtitles size: 987,293 bytes (0.94 Mb)
[14/02/2004 15:47:09] Video size: 762,988,131 bytes (727.64 Mb)
[14/02/2004 15:47:09] Running compressibility test.
[14/02/2004 15:47:09] Writing the following script to D:\DVD\Projects\west\gk_tmp\westsidystory_comptest.avs
===========================================================
LoadPlugin("C:\ARCHIV~1\AutoGK\filters\mpeg2dec3dg.dll")
LoadPlugin("C:\ARCHIV~1\AutoGK\filters\autocrop.dll")
LoadPlugin("C:\ARCHIV~1\AutoGK\filters\undot.dll")

function getOrder(clip c) {
order = GetParity(c) ? 1 : 0
return order }

movie = mpeg2source("D:\DVD\Projects\west\gk_tmp\westsidystory.d2v")
cropclip = autocrop(movie,mode=0,wmultof=4,hmultof=4,samples=10,aspect=0,threshold=35)
c_width = width(cropclip)
c_height = round(height(cropclip) / 1.45868945868946)
input_par = float(c_width)/float(c_height)
fixed_aspect = input_par > 1.4 ? 1.45868945868946 : 1.42222222222222
c_height = round(height(cropclip) / fixed_aspect)
input_par = float(c_width)/float(c_height)
out_width = 704
out_height = round(float(out_width) / input_par)
hmod = out_height - (floor(out_height / 16 ) * 16)
out_height = (hmod > 4) ? (out_height + (16 - hmod)) : (out_height - hmod)
new_aspect = (float(out_width) / float(out_height)) / fixed_aspect
autocrop(movie,mode=0,wmultof=4,hmultof=4,samples=10,aspect=new_aspect,threshold=35)
Undot()
LanczosResize(out_width,out_height)
SelectRangeEvery(300,15)
===========================================================
[14/02/2004 15:47:10] Writing the following script to D:\DVD\Projects\west\gk_tmp\lastjob.vcf
===========================================================
VirtualDub.Open("D:\\DVD\\Projects\\west\\gk_tmp\\westsidystory_comptest.avs",0,0);
VirtualDub.video.SetMode(1);
VirtualDub.video.SetFrameRate(0,1);
VirtualDub.video.SetIVTC(0,0,-1,0);
VirtualDub.video.SetRange(0,0);
VirtualDub.video.SetCompression(0x64697678,0,10000,0);
VirtualDub.video.SetCompData(1208,"AQAAANAkEACSXgsARDpcRFZEXFByb2plY3RzXHdlc3RcZ2tfdG1wXHdlc3RzaWR5c3RvcnlfY29kZWMubG9nAHAAXAB3AGUAcwB0AHMAaQBkAHkAcwB0AG8AcgB5AF8AYwBvAGQAZQBjAC4AbABvAGcAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAABkAAAABQAAABAAAABkAAAAZAAAAAYAAAACAAAAAAAAAAEAAAD6AAAAAQAAAAAAAAAAAAAAAAAAAAAAAAABAAAAAAAAAAEAAACWAAAAZAAAAAAAAAAAAAAAAQAAAAAAAAAAAAAAAgAAAAIAAAACAAAAAgAAAAgQEBAREhUYEBAQEBETFhkQEBESFBYZHRAQEhUYGx8kEREUGB4jKS8SExYbIyw2QRUWGR8pNkZYGBkdJC9BWHMSEhISExUXGxISEhITFRgdEhITFBYYHCASEhQYGx4jKBMTFhshJy41FRUYHicyPUkXGBwjLj1PYhsdICg1SWKBAAAAAAoAAAAUAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAABAAAAMgAAAAEAAAAyAAAAAQAAAGQAAADIAAAAMgAAAAAk9AA8AAAAPAAAAPoAAAAAAAAAAAAAAFxoaW50ZmlsZS5tdmgAbABlAC4AbQB2AGgAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAX0dLLnN0YXRzAHQAYQB0AHMAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAABQAAAAUAAAAFAAAABAnAAAQJwAAAAAAAAEAAAAAAAAAAAAAAAAAAAD3AAAAAAAAAAAAAAA=");
VirtualDub.video.filters.Clear();
VirtualDub.subset.Delete();
VirtualDub.SaveAVI("D:\\DVD\\Projects\\west\\gk_tmp\\westsidystory_comptest.avi");
===========================================================
[14/02/2004 16:01:54] Duration was: 14 minutes 43 seconds
[14/02/2004 16:01:54] Speed was: 12,36 fps.
[14/02/2004 16:01:57] Compressibility percentage is: 29,28
[14/02/2004 16:01:57] Using softer matrix.
[14/02/2004 16:01:57] Using softer resizer.
[14/02/2004 16:01:57] Chosen resolution is: 480x224 ( AR: 2,14 )
[14/02/2004 16:01:57] Predicted comptest value is: 61,35
[14/02/2004 16:01:57] Running first pass.
[14/02/2004 16:01:57] Writing the following script to D:\DVD\Projects\west\gk_tmp\westsidystory_movie.avs
===========================================================
LoadPlugin("C:\ARCHIV~1\AutoGK\filters\mpeg2dec3dg.dll")
LoadPlugin("C:\ARCHIV~1\AutoGK\filters\autocrop.dll")
LoadPlugin("C:\ARCHIV~1\AutoGK\filters\undot.dll")

function getOrder(clip c) {
order = GetParity(c) ? 1 : 0
return order }

movie = mpeg2source("D:\DVD\Projects\west\gk_tmp\westsidystory.d2v")
cropclip = autocrop(movie,mode=0,wmultof=4,hmultof=4,samples=10,aspect=0,threshold=35)
c_width = width(cropclip)
c_height = round(height(cropclip) / 1.45868945868946)
input_par = float(c_width)/float(c_height)
fixed_aspect = input_par > 1.4 ? 1.45868945868946 : 1.42222222222222
c_height = round(height(cropclip) / fixed_aspect)
input_par = float(c_width)/float(c_height)
out_width = 480
out_height = round(float(out_width) / input_par)
hmod = out_height - (floor(out_height / 16 ) * 16)
out_height = (hmod > 4) ? (out_height + (16 - hmod)) : (out_height - hmod)
new_aspect = (float(out_width) / float(out_height)) / fixed_aspect
autocrop(movie,mode=0,wmultof=4,hmultof=4,samples=10,aspect=new_aspect,threshold=35)
Undot()
BicubicResize(out_width,out_height,0,0.5)
===========================================================
[14/02/2004 16:01:58] Writing the following script to D:\DVD\Projects\west\gk_tmp\lastjob.vcf
===========================================================
VirtualDub.Open("D:\\DVD\\Projects\\west\\gk_tmp\\westsidystory_movie.avs",0,0);
VirtualDub.video.SetMode(1);
VirtualDub.video.SetFrameRate(0,1);
VirtualDub.video.SetIVTC(0,0,-1,0);
VirtualDub.video.SetRange(0,0);
VirtualDub.video.SetCompression(0x64697678,0,10000,0);
VirtualDub.video.SetCompData(1208,"AwAAANAkEACSXgsARDpcRFZEXFByb2plY3RzXHdlc3RcZ2tfdG1wXHdlc3RzaWR5c3RvcnlfY29kZWMubG9nAHAAXAB3AGUAcwB0AHMAaQBkAHkAcwB0AG8AcgB5AF8AYwBvAGQAZQBjAC4AbABvAGcAAAA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AAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAABQAAAAUAAAAFAAAABAnAAAQJwAAAAAAAAEAAAAAAAAAAAAAAAAAAAD3AAAAAAAAAAAAAAA=");
VirtualDub.video.filters.Clear();
VirtualDub.subset.Delete();
VirtualDub.SaveAVI("D:\\DVD\\Projects\\west\\westsidystory.avi");
===========================================================
[14/02/2004 18:21:21] Duration was: 2 hours 19 minutes 22 seconds
[14/02/2004 18:21:21] Speed was: 26,11 fps.
[14/02/2004 18:21:22] Expected quality of first pass size: 67,25
[14/02/2004 18:21:22] Running second pass.
[14/02/2004 18:21:22] Writing the following script to D:\DVD\Projects\west\gk_tmp\lastjob.vcf

marteaga
14th February 2004, 22:25
And here it's second part of my AutoGK_log

===========================================================
VirtualDub.Open("D:\\DVD\\Projects\\west\\westsidystory.avi",0,0);
VirtualDub.RemoveInputStreams();
VirtualDub.stream[0].SetSource(0x73647561,0,0);
VirtualDub.stream[0].SetMode(0);
VirtualDub.stream[0].SetInterleave(1,500,2,0,0);
VirtualDub.stream[1].SetSource(0x73647561,0,0);
VirtualDub.stream[1].SetMode(0);
VirtualDub.stream[1].SetInterleave(1,500,2,0,0);
VirtualDub.video.SetDepth(24,24);
VirtualDub.video.SetMode(0);
VirtualDub.video.SetFrameRate(0,1);
VirtualDub.video.SetIVTC(0,0,-1,0);
VirtualDub.video.SetCompression();
VirtualDub.video.filters.Clear();
VirtualDub.subset.Clear();
VirtualDub.subset.AddRange(98415,119611);
VirtualDub.SaveAVI("D:\\DVD\\Projects\\west\\westsidystory.cd2.avi");
===========================================================
[14/02/2004 20:41:42] Splitting video into: D:\DVD\Projects\west\westsidystory.cd2.avi
[14/02/2004 20:43:23] Splitting and compressing subtitles.
[14/02/2004 20:43:29] Job finished.

Steffi
9th March 2004, 20:24
same problem here, with Version 1.0, Filesize is ok, but audio got doubled, in my case, I got two times english audio instead of 1xGerman and 1xEnglish.

Its weird, cause the whole avi (the one before getting split up) file is made with the correct audio languages, only after being split up into two parts, the languages are the same.

anyone got same problem here?

manono
10th March 2004, 01:30
Hi-

I'm assuming that you want the first main audio track as AC3, and then the second one becomes MP3. Is that right? So, try something for me. Open the unsplit .avi in VDubMod and then go Streams->Streams List, and you'll see the 2 audio tracks, and the top one should be AC3, and the bottom one should be MP3.

Now open one of the split .avi's in VDubMod and do the same thing. If both are now AC3, then that would explain the oversize, marteaga. And you should probably upgrade to 1.0. But that doesn't explain why you wound up with 2 of the same audio tracks in the first place. Until len0x gets back and can explain or fix this, I'm afraid you'll have to split the unsplit file yourself, since you both say that it has the correct audio streams. If you need directions on how to do that, then just ask. It'll be a good learning experience. I know; you're using AutoGK to avoid having to learn these things. :)

Steffi
10th March 2004, 07:26
thx for your answer, but u got me wrong:

after the split, i get 2 same audio streams, with the same language, not english and german, but english and english :-)

manono
10th March 2004, 10:58
Hi-

Maybe I did, and maybe I didn't. You said that before the split, you had 2 languages, and after the split you had one language twice, is that right?

So I was saying that until the problem is fixed by len0x, you'll have to go back and split it yourself. By doing that, you'll keep both languages.

marteaga
12th March 2004, 02:37
Hi Manono,
you are right, after the split, the oversize is because there are two AC3 streams with the english language, I mean, the main audio track.

The whole avi has two streams, one AC3 whith the english track and another one mp3 with the spanish track, and like you suggest I split it by myself until len0x can fix it.

len0x
12th March 2004, 11:00
Originally posted by marteaga
VirtualDub.stream[1].SetSource(0x73647561,0,0);


that is a faulty line, index of a stream should be 1. will be fixed.

marteaga
12th March 2004, 22:38
Thanks for your fast reply, good work len0x!