PDA

View Full Version : Audio get out of sync with sound in 0.89


thedech
23rd January 2004, 20:20
HI, I've juste encoded Aliens, Alien 3 and Alien Resurrection with AutoGK 0.89 and all thoses films have a very small, but noticable, problem with audio that comes before the video.

I have done something wrong, or is it due to AutoGK ?

len0x
24th January 2004, 01:00
for a start please :logfile:

thedech
24th January 2004, 11:58
[22/01/2004 18:56:33] Input dir: J:\ALIENS_DISC_1\VIDEO_TS
[22/01/2004 18:56:33] Output file: J:\ALIENS_DISC_1\Aliens.Director's.Cut.-.English.-.External.French.Subtitiles.avi
[22/01/2004 18:56:33] Audio: English
[22/01/2004 18:56:33] Subtitles: Français : Wi
[22/01/2004 18:56:33] Codec: XviD
[22/01/2004 18:56:33] Target size: 1400Mb
[22/01/2004 18:56:33] Custom audio settings: AC3
[22/01/2004 18:56:33] Started encoding.
[22/01/2004 18:56:33] Demuxing and indexing.
[22/01/2004 19:02:11] Analyzing source.
[22/01/2004 19:02:11] Writing the following script to J:\ALIENS_DISC_1\gk_tmp\lastjob.vcf
===========================================================
VirtualDub.Open("J:\\ALIENS_DISC_1\\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("J:\\ALIENS_DISC_1\\gk_tmp\\_.avi");
===========================================================
[22/01/2004 19:15:21] Source has percentage of interlacing in motion areas: 0,00
[22/01/2004 19:15:21] Source is considered to be progressive.
[22/01/2004 19:15:22] Found 222147 frames
[22/01/2004 19:15:22] Indexing subtitles.
[22/01/2004 19:15:22] Writing the following script to J:\ALIENS_DISC_1\gk_tmp\vobsub.params
===========================================================
J:\ALIENS_DISC_1\VIDEO_TS\VTS_01_0.ifo
J:\ALIENS_DISC_1\gk_tmp\Aliens.Director's.Cut.-.English.-.External.French.Subtitiles
1
0
2 cc
CLOSE
===========================================================
[22/01/2004 19:19:16] Compressing subtitles.
[22/01/2004 19:19:21] Audio size: 497,579,264 bytes (474.53 Mb)
[22/01/2004 19:19:21] Overhead: 2,637,952 bytes (2.52 Mb)
[22/01/2004 19:19:21] Subtitles size: 588,301 bytes (0.56 Mb)
[22/01/2004 19:19:21] Video size: 967,200,883 bytes (922.39 Mb)
[22/01/2004 19:19:21] Running compressibility test.
[22/01/2004 19:19:21] Writing the following script to J:\ALIENS_DISC_1\gk_tmp\Aliens.Director's.Cut.-.English.-.External.French.Subtitiles_comptest.avs
===========================================================
LoadPlugin("C:\PROGRA~1\AutoGK\filters\mpeg2dec3dg.dll")
LoadPlugin("C:\PROGRA~1\AutoGK\filters\autocrop.dll")
LoadPlugin("C:\PROGRA~1\AutoGK\filters\undot.dll")

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

movie = mpeg2source("J:\ALIENS_DISC_1\gk_tmp\Aliens.Director's.Cut.-.English.-.External.French.Subtitiles.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)
===========================================================
[22/01/2004 19:19:22] Writing the following script to J:\ALIENS_DISC_1\gk_tmp\lastjob.vcf
===========================================================
VirtualDub.Open("J:\\ALIENS_DISC_1\\gk_tmp\\Aliens.Director's.Cut.-.English.-.External.French.Subtitiles_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(/* skipped */);
VirtualDub.video.filters.Clear();
VirtualDub.subset.Delete();
VirtualDub.SaveAVI("J:\\ALIENS_DISC_1\\gk_tmp\\Aliens.Director's.Cut.-.English.-.External.French.Subtitiles_comptest.avi");
===========================================================
[22/01/2004 19:38:33] Duration was: 19 minutes 11 seconds
[22/01/2004 19:38:33] Speed was: 9,65 fps.
[22/01/2004 19:38:34] Compressibility percentage is: 29,54
[22/01/2004 19:38:34] Using softer matrix.
[22/01/2004 19:38:34] Using softer resizer.
[22/01/2004 19:38:34] Chosen resolution is: 480x272 ( AR: 1,76 )
[22/01/2004 19:38:34] Predicted comptest value is: 61,17
[22/01/2004 19:38:34] Running first pass.
[22/01/2004 19:38:34] Writing the following script to J:\ALIENS_DISC_1\gk_tmp\Aliens.Director's.Cut.-.English.-.External.French.Subtitiles_movie.avs
===========================================================
LoadPlugin("C:\PROGRA~1\AutoGK\filters\mpeg2dec3dg.dll")
LoadPlugin("C:\PROGRA~1\AutoGK\filters\autocrop.dll")
LoadPlugin("C:\PROGRA~1\AutoGK\filters\undot.dll")

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

movie = mpeg2source("J:\ALIENS_DISC_1\gk_tmp\Aliens.Director's.Cut.-.English.-.External.French.Subtitiles.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)
===========================================================
[22/01/2004 19:38:34] Writing the following script to J:\ALIENS_DISC_1\gk_tmp\lastjob.vcf
===========================================================
VirtualDub.Open("J:\\ALIENS_DISC_1\\gk_tmp\\Aliens.Director's.Cut.-.English.-.External.French.Subtitiles_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(/* skipped */);
VirtualDub.video.filters.Clear();
VirtualDub.subset.Delete();
VirtualDub.SaveAVI("J:\\ALIENS_DISC_1\\Aliens.Director's.Cut.-.English.-.External.French.Subtitiles.avi");

thedech
24th January 2004, 12:00
===========================================================
[22/01/2004 22:39:07] Duration was: 3 hours 0 minutes 32 seconds
[22/01/2004 22:39:07] Speed was: 20,51 fps.
[22/01/2004 22:39:09] Expected quality of first pass size: 63,93
[22/01/2004 22:39:09] Running second pass.
[22/01/2004 22:39:10] Writing the following script to J:\ALIENS_DISC_1\gk_tmp\lastjob.vcf
===========================================================
VirtualDub.Open("J:\\ALIENS_DISC_1\\gk_tmp\\Aliens.Director's.Cut.-.English.-.External.French.Subtitiles_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(/* skipped */);
VirtualDub.video.filters.Clear();
VirtualDub.subset.Delete();
VirtualDub.RemoveInputStreams();
VirtualDub.stream[0].SetSource("J:\\ALIENS_DISC_1\\gk_tmp\\ALIENS.DIRECTOR'S.CUT.-.ENGLISH.-.EXTERNAL.FRENCH.SUBTITILES AC3 T01 3_2ch 448Kbps DELAY -15ms.ac3",0x00000203,0);
VirtualDub.stream[0].SetMode(0);
VirtualDub.stream[0].SetInterleave(1,500,2,0,-15);
VirtualDub.stream[0].SetClipMode(1,1);
VirtualDub.stream[0].SetConversion(0,0,0,0,0);
VirtualDub.stream[0].SetVolume();
VirtualDub.stream[0].SetCompression();
VirtualDub.SaveAVI("J:\\ALIENS_DISC_1\\Aliens.Director's.Cut.-.English.-.External.French.Subtitiles.avi");
===========================================================
[23/01/2004 01:51:28] Duration was: 3 hours 12 minutes 18 seconds
[23/01/2004 01:51:28] Speed was: 19,25 fps.
[23/01/2004 01:51:28] Writing the following script to J:\ALIENS_DISC_1\gk_tmp\lastjob.vcf
===========================================================
VirtualDub.Open("J:\\ALIENS_DISC_1\\Aliens.Director's.Cut.-.English.-.External.French.Subtitiles.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.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(0,114117);
VirtualDub.SaveAVI("J:\\ALIENS_DISC_1\\Aliens.Director's.Cut.-.English.-.External.French.Subtitiles.CD1.avi");
===========================================================
[23/01/2004 01:51:28] Splitting video into: J:\ALIENS_DISC_1\Aliens.Director's.Cut.-.English.-.External.French.Subtitiles.CD1.avi
[23/01/2004 01:54:01] Splitting and compressing subtitles.
[23/01/2004 01:54:03] Writing the following script to J:\ALIENS_DISC_1\gk_tmp\lastjob.vcf
===========================================================
VirtualDub.Open("J:\\ALIENS_DISC_1\\Aliens.Director's.Cut.-.English.-.External.French.Subtitiles.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.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(114117,108029);
VirtualDub.SaveAVI("J:\\ALIENS_DISC_1\\Aliens.Director's.Cut.-.English.-.External.French.Subtitiles.CD2.avi");
===========================================================
[23/01/2004 01:54:03] Splitting video into: J:\ALIENS_DISC_1\Aliens.Director's.Cut.-.English.-.External.French.Subtitiles.CD2.avi
[23/01/2004 01:55:34] Splitting and compressing subtitles.
[23/01/2004 01:55:35] Job finished.

len0x
25th January 2004, 16:33
is sound out of synch in both split and whole AVIs ?

thedech
25th January 2004, 16:52
Yes they are all out of sync...:(

len0x
25th January 2004, 17:34
I assume you're using latest DVDDecrypter/AutoGK ?

Epyx
25th January 2004, 19:19
Hi,

i have also Problems with this movies !!! But i don't use (Auto)GKnot...
(Alien works fine but the other three didn't - all from the Quadrologie Box)

I tried DVD-Decrypter in
IFO Mode and ripped only one PGC
and File Mode (all Files) - removed the (seamless) branching with ifoedit to keep only one PGC.

Demuxed AC3 with DVD2AVIdg, DVD2AVI, vStrip and VobEdit (always the same)

Currently I test with Aliens ("original Version")

At the begin the Film is sync.. but after a while it's async. (German Version)
Alien3 (DC) and Alien Resurrection (SE) was out of sync too, but i don't remember if the sound was to late or to early...

That is the first time this happend to me.. :(
Is there a way to get a sync AC3 Stream ?!?

Epyx

thedech
25th January 2004, 19:56
Interresting, I will look in this direction.

Thanks

thedech
29th January 2004, 17:58
You may be right, It might comes from the movie. The few tests I have done with other films have shown no problems.

If one day I understand how ifoedit works I will try again with a "clean" stream (without seamless branch).

blackpudding
29th January 2004, 18:41
Hi,

I too am having problems with AutoGK and audio sync. I ripped Red Dwarf 2 series in IFO from the DVD and when run through AutoGK the audio slowly goes out of sync until after 2 hours it is a couple of seconds out (whole and split avi's). The ripped IFO plays fine with PowerDVD but I've now tried 3 different versions of AutoGK and with all the audio sync is out. Finally I decided to tried a Bjork DVD which I converted fine with DVD2SVCD in the past and with AutoGK the audio sync is out.

Any ideas welcome? I really love the GUI of AutoGK and want to use it as my default xvid convertor but I can't understand where I'm going wrong? I did a fresh install and no difference (latest version of dvddecrypter and AutoGK).

Cheers
BP