Log in

View Full Version : Two AutoGK questions - DivX logo and Audio out-of-sync


emma
2nd May 2004, 18:19
1. AutoGK leaves DivX logo on Xvid.avi file
I encode using AutoGK 1.0, and after noticing that my last Xvid encode left a DivX logo on the .avi, I uninstalled the DivX codec from the computer I'm using for encodes. So basically I've only got Xvid and AC3 installed on that computer. And still I get a little DivX logo on all my .avis...? *scratching my head* Dragging the file into Gspot, it clearly states it's a Xvid .avi and I label the file accordingly also, but it does look kinda silly with that logo at the beginning... :P

What do I look for, and how do I remove it? Very grateful for any suggestions! Using a win-98 machine for the encodes.


2. Audio out of sync using double-sided DVDs
I have noticed that I get severe out-of-sync audio whenever encoding from a rip of a double-sided DVD or second "movie continues on next" DVD. First side/DVD encodes excellent, and flip-side/second DVD is horribly out of sync. I use DVDecrypt when ripping the DVDs. Is there any setting in it I should change when ripping the flip-side (or second "to be continued") DVD?



Pardon me if these questions should have been somewhere else, perhaps not so much the newbie this forum is intended for, but sure as hell no specialist by any means. Just wasn't sure which forum would be best suited, so feel free to move it to it's appropriate place if needed... :o

killingspree
2nd May 2004, 19:34
Originally posted by emma
1. AutoGK leaves DivX logo on Xvid.avi file

What do I look for, and how do I remove it? Very grateful for any suggestions! Using a win-98 machine for the encodes.

Well actually, this is the divx encoding filter that leaves it there. so autogk does't have anything to do with it. you can switch off the logo by going to divx > divx (pro) > config and on the 'quality settings' tab you can check 'disable logo' which should stop the divx codec from displaying this truly a little annoying logo!


2. Audio out of sync using double-sided DVDs
Is there any setting in it I should change when ripping the flip-side (or second "to be continued") DVD?

well this isn't such an easy to answer question. fact is, that just merging the two disks (sides) to one project and then encoding them as one instance can lead to quite a lot of complications. sync being the most obvious one. the easiest solution would be to just encode each half of the movie on one cd, so as if they were two seperate movies!

if you don't want to do it this way, here's some interesting threads that deal with the same problem:
http://forum.doom9.org/showthread.php?s=&threadid=56652&highlight=special+extended+audio+sync
http://forum.doom9.org/showthread.php?s=&threadid=30181&highlight=dual+sided+audio+sync


Pardon me if these questions should have been somewhere else, perhaps not so much the newbie this forum is intended for, but sure as hell no specialist by any means. Just wasn't sure which forum would be best suited, so feel free to move it to it's appropriate place if needed... :o
no,no those questions fit here alright! :)
cheers
steVe
PS: the search button can work miracles sometime ;)

emma
2nd May 2004, 19:52
Originally posted by killingspree

Well actually, this is the divx encoding filter that leaves it there. so autogk does't have anything to do with it. you can switch off the logo by going to divx > divx (pro) > config and on the 'quality settings' tab you can check 'disable logo' which should stop the divx codec from displaying this truly a little annoying logo!

Thanks! I didn't mean to imply that autogk did this, wouldn't make sense at all if it did, lol! Seeing how I already uninstalled DivX it's a bit of a conundrum though. Will try to see whatever remains there are from the previous install of DivX and follow your advice!

Originally posted by killingspree

well this isn't such an easy to answer question. fact is, that just merging the two disks (sides) to one project and then encoding them as one instance can lead to quite a lot of complications. sync being the most obvious one. the easiest solution would be to just encode each half of the movie on one cd, so as if they were two seperate movies!

if you don't want to do it this way, here's some interesting threads that deal with the same problem:
http://forum.doom9.org/showthread.php?s=&threadid=56652&highlight=special+extended+audio+sync
http://forum.doom9.org/showthread.php?s=&threadid=30181&highlight=dual+sided+audio+sync
[/B]

Thanks for the links, I'm already making them into separate instances but still get the audio delay. I'll read through the threads, pardon for not finding them after doing my initial searches. :o

emma
2nd May 2004, 20:06
Oh dear me, read through those threads, and I'm afraid that they were like greek to me. :(

Lemme explain my problem better. For instance, I have a double-sided DVD of Bladerunner. One side contains the fullscreen version, the second side the widescreen version. Ripping and encoding the widescreen version gives me out-of-sync audio. When opening the .avi up in virtual-dub to correct it, I get a black screen with a text stating: "Warning: Nothing to output BFrame decoder lag"

It's not about merging dvd's, but it's ripping a flip-side or a continued DVD as an entity of it's own.

I have done this with several other rips, and ALWAYS the flip-side, even though decrypted separately as well as encoded separately, it gives me this problem. Being somewhat "un-educated", and well quite frankly, not really interested, in fiddling to no end with my rips, lol, I would just like to find a way where it doesn't happen at all, if you see what I mean. Bringing the .avi into other editing proggies once the encoding process is done, is just not fun! LOL! Guess I want too much... :P

killingspree
2nd May 2004, 20:13
Originally posted by emma
Thanks! I didn't mean to imply that autogk did this, wouldn't make sense at all if it did, lol! Seeing how I already uninstalled DivX it's a bit of a conundrum though. Will try to see whatever remains there are from the previous install of DivX and follow your advice!


i know that, but perhaps this wasn't the only instance of divx you had installed. anyway, iirc only divx 5.x places this logo, so older versions shouldn't bother you - at least not for that reason!


Thanks for the links, I'm already making them into separate instances but still get the audio delay. I'll read through the threads, pardon for not finding them after doing my initial searches. :o
that's ok :)

ahm... but wait a second, when do you get the audio delay exactly? (at what part of the process, AND at what part in the movie?)

steVe

killingspree
2nd May 2004, 20:19
oh... got a second reply while i was typing there :)

sorry, missunderstood your second question there a little bit i guess :/

When opening the .avi up in virtual-dub to correct it, I get a black screen with a text stating: "Warning: Nothing to output BFrame decoder lag"
this is a known xvid problem... honestly i do not know if it is still happening in RC3, but if you're not using this latest version you might want to try to update. it should not have any effect on your audio sync though...

so anyway, to get this right: you got a flip sided DVD with a movie on one side that encodes ok, but the same movie with a different ar (say 4:3 - but actually don't matter) on the other side. if you encode the second movie seperately in exactly the same way you did it with the other side, you have audio sync problems?!

cheers
steVe

emma
2nd May 2004, 20:23
//edit: Yes, that's exactly it. Same dvd fine on one side, out of sync on the flip-side. //

hahaha, we must have made the posts simultaneously... The post above yours explains a bit more of my problem.

When? Well, it's out-of-sync in a consistant way from get go. Usually I only need to set the interleave option in virtual dub differently, and I get a perfect sync through-out the entire file to fix this (a long a tiresome fiddle-process). I'm not sure WHEN the problem occurs, in my mind it would make sense that DVDecrypt needs to be looked at settings-wise, when using a flip-side/continued disk, but of course my mind is not the most reliable thing around... :P Don't think it's in the encoding process though.

About the DivX logo thingie, no remains of DivX anywhere on the computer, just did a search, so I simply reinstalled it, and checked the "disable" box, lol! *keeping my fingers crossed* I'm really riddled with PC gremlins, most likely because I don't know enough, but that computer I cleaned up from codecs a few weeks ago, as in COMPLETELY erasing EVERYTHING the disk and installing just the two codecs, divx and xvid that I use for my encodes, and autogk alongside with dvdecrypt, to make sure I wouldn't get any probs. *duh* Probably just a matter of not knowing what to look for.

edit// Oh and thank you so much for taking the time and trouble to go through my confusing explanations. I really should try to get da lingo down, one of these days. //

killingspree
2nd May 2004, 20:48
Originally posted by emma
//edit: Yes, that's exactly it. Same dvd fine on one side, out of sync on the flip-side. //

hahaha, we must have made the posts simultaneously... The post above yours explains a bit more of my problem.

but you only encode one side at a time...

true we have been posting simultaniously for quite some time now :P


When? Well, it's out-of-sync in a consistant way from get go. Usually I only need to set the interleave option in virtual dub differently, and I get a perfect sync through-out the entire file to fix this (a long a tiresome fiddle-process). I'm not sure WHEN the problem occurs, in my mind it would make sense that DVDecrypt needs to be looked at settings-wise, when using a flip-side/continued disk, but of course my mind is not the most reliable thing around... :P Don't think it's in the encoding process though.

can you pls post your autoGK settings aswell as a your logfile :logfile: , slowly but surely you're getting me a little confused ;)


About the DivX logo thingie, ...

so it's gone now ?!

steVe

emma
2nd May 2004, 21:14
I haven't had time to encode anything since that last post, but I'll let you know next time I start one up! :D

Yes, I rip one side, and encode it. Just a normal ripping/encoding process.

The out-of-sync problem ONLY occurs when using the flip-side or a "continued" DVD.

Settings in autoGK: Xvid, AC3, 2 cd's 1400 megs, and that's pretty much it. The full .avi file that it makes before splitting it into two, is also out of sync, btw.

As far as posting logfiles, I'm not sure what it is you want to see. I've got a stream-info file, made by dvdecrypt (I think), and a tmp-folder with lots of stuff in it, this from my latest attempt made of another movie, Once upon a time in America (labeled "movietitle" below). The rest of them I've discharded.

The file contents of the tmp-folder is:
_.avi
_.avs
frames.log
interlace.log
lastjob.vcf
movietitle_AC3T013_2ch384Kbps Delay -74ms.ac
movietitle.d2v
movietitle_codec.log
movietitle_comptest.avi
movietitle_comptest.avs
movietitle_movie.avs

Any of these you want to see?
____________________________________

Here's the stream info from decrypt:

0x20 - Subtitle - English - [SubPicture 01: Wide/Letterbox] / LBA: 3823 / PTS: 00:00:06.053 / Delay: 5925ms
0x21 - Subtitle - Français - [SubPicture 02: Wide/Letterbox] / LBA: 3822 / PTS: 00:00:06.053 / Delay: 5925ms
0x22 - Subtitle - Arabic - [SubPicture 03: Wide/Letterbox] / LBA: 3821 / PTS: 00:00:06.053 / Delay: 5925ms
0x23 - Subtitle - Nederlands - [SubPicture 04: Wide/Letterbox] / LBA: 3856 / PTS: 00:00:06.133 / Delay: 6005ms
0x24 - Subtitle - English / Normal Captions - [SubPicture 05: Wide/Letterbox] / LBA: 3820 / PTS: 00:00:06.053 / Delay: 5925ms
0x80 - Audio - AC3 / 6ch / 48kHz / DRC / English / LBA: 1775 / PTS: 00:00:00.053 / Delay: -74ms
0x81 - Audio - AC3 / 6ch / 48kHz / DRC / Français / LBA: 1774 / PTS: 00:00:00.053 / Delay: -74ms
0x82 - Audio - AC3 / 2ch / 48kHz / DRC / English - Director's Comments / LBA: 1776 / PTS: 00:00:00.053 / Delay: -74ms
0xE0 - Video - MPEG-2 / 720x576 (PAL) / 16:9 / Letterboxed / LBA: 1 / PTS: 00:00:00.128 / Delay: 0ms

Thanks again!

emma
2nd May 2004, 21:24
*duh* Just found out that the DivX logo is displayed on my other computer by the DivX bundle there when playing the file, not put into the rip permanently... Go figure! Was wondering how on earth it could end up on the file without any existing codecs on the pc I encode on. Looks like I gotta find out why my other computer plays the file using DivX. Guess it's time to uninstall it, lol!

killingspree
2nd May 2004, 21:31
good... :) well nno need to have divx installed for playback only. imho ffdshow (and xvid for better xvid playback - there's aparently some problem with ffdshow playing xvid files) is more than sufficient!!

oh and about the log files, nope those were not the ones i was talking about... i am looking for the one that holds the data which is displayed in the log window in the lower left corner of autogk!!

cheers
steVe

emma
2nd May 2004, 21:33
Ah, those logs are long gone, of course. Would have to make a new rip in order to get hold of those. Unless they are saved elsewhere on the computer?

killingspree
2nd May 2004, 21:43
no, sorry they're not saved anywhere else...
perhaps if you have time to, do a new rip overnight and post the log next morning...

but befor that, i'll ask a few guys to take a look at this thread and see if they've got any ideas ;)

cheers
steVe

emma
2nd May 2004, 21:58
Thanks Steve. Please don't think me an ingrate, but it'd take 24 hours to go through the encoding again, just to reach the same kind of problem files... hmmm... think I'll wait and see if I'm desperate enough tomorrow to start it up AGAIN, lol!

Again, I'm really appreciating this!

killingspree
2nd May 2004, 22:05
Originally posted by emma
Thanks Steve. Please don't think me an ingrate, but it'd take 24 hours to go through the encoding again, just to reach the same kind of problem files...
no problem, perhaps we can figure the problem out some other way!!

steVe

manono
2nd May 2004, 23:35
Hi-

I know you said you don't want to mess with them after they've come out of AutoGK. You just want it to work. But think of it as paying back the developer for all the work he's done in handing you this great and easy to use tool. And your testing may help out the next person. Try this:

Take one of the split movies with the audio problem and open it in VDubMod (ignore that B-Frame lag message-it's normal). Set Video to Direct Stream Copy. Then go Streams->Stream List and you'll see the AC3 audio. Right-click on it and hit Interleaving. Then set Preload to 96 ms. Set Interleave Audio to 96 ms (NOT Frames). If there's a delay (listed in the audio file name) set that also. Then OK your way out of there. Then go File->Save As... and give it a different name. Wait a minute or two. Then play the new version and let us know if the problem is gone or not.

And by the way, I wouldn't recommend the DivX player, or WMP 8 or 9. Get yourself a real player, like BSPlayer, Media Player Classic or the Zoom Player. I find the BSPlayer quite easy to use. You can find them here:

http://www.doom9.org/software.htm#players

Thanks much.

emma
3rd May 2004, 05:33
Ah, yeah, that information probably has drowned in all the stuff that I've written. I've had to use v-dub and alter the interleave settings each time I've ripped/encoded a b-side DVD or continued DVD. It's not having to do that each time that is what I'd like to find out. Autogk gives me GREAT encodes, I'm always marvelled by the results, and normally I don't have to do a thing, when finished.

And not to be snotty or anything, ;) if the rip/encode is good and the proper codecs are installed, ANY player should do the job playing the file, no? Anyways, I use the Core mediaplayer, BS-player and sometimes even Windows Media Player, so I guess I'm doing all things you suggested already, lol! :D

Does this mean I'm alone in having the flip-side/following DVD problem, then? Oh, and another thing, I've tried with two different computers, different DVD-drives, and gotten the same problem on both of them.

manono
3rd May 2004, 06:14
Hi-

Well then, I sure wasn't much help, was I? :)

To answer your question, no, I've never heard of a problem with doing the second side of a DVD where the first side is Full Screen and the 2nd side is Wide Screen. It's certainly strange, and I guess you're lucky there aren't too many of those. And within a few years, with any luck, Pan And Scan movies should be a thing of the past.

emma
3rd May 2004, 06:19
Just my luck having had three separate rips with this prob... Once Upon a Time in America, that I mentioned above, Dr Zhivago and Bladerunner. *kicking myself for going for those titles* :D

killingspree
3rd May 2004, 07:08
well i've only done one kind of this disk. It was Deamon, R2, German and both sides ripped and encoded perfectly...

hmm anyway, thanks Tom (manono) for taking a look at this... :)

steVe

emma
3rd May 2004, 07:39
Oh yeah, thanks, pardon me for being so rude... Totally engulfed in this little mystery, I'm afraid!

I've now begun ripping the second cd again, to see what happens. Who said this was easy...? ;)

emma
3rd May 2004, 18:05
Right, so I did a second rip/encode of it, using another computer than the first time and consequently another dvdrive. It's out of sync again.

Here's the log from autogk:

[2004-05-03 11:28:56] Input dir: C:\Documents and Settings\xxx\xxx \RIPPNINGAR
[2004-05-03 11:28:56] Output file: C:\Documents and Settings\xxx\xxx\xxx\Once_upon_a_time_disc2.avi
[2004-05-03 11:28:56] Audio: English
[2004-05-03 11:28:56] Subtitles: none
[2004-05-03 11:28:56] Codec: XviD
[2004-05-03 11:28:56] Target size: 1400Mb
[2004-05-03 11:28:56] Custom resolution settings: fixed width of 672 pixels
[2004-05-03 11:28:56] Custom audio settings: AC3
[2004-05-03 11:28:56] Started encoding.
[2004-05-03 11:28:56] Demuxing and indexing.
[2004-05-03 11:37:39] Analyzing source.
[2004-05-03 11:46:56] Source is considered to be progressive.
[2004-05-03 11:46:56] Found 156972 frames
[2004-05-03 11:46:56] Audio size: 301,320,192 bytes (287.36 Mb)
[2004-05-03 11:46:56] Overhead: 1,864,064 bytes (1.78 Mb)
[2004-05-03 11:46:56] Video size: 1,164,822,144 bytes (1110.86 Mb)
[2004-05-03 11:46:56] Running compressibility test.
[2004-05-03 11:58:22] Duration was: 11 minutes 25 seconds
[2004-05-03 11:58:22] Speed was: 11,44 fps.
[2004-05-03 11:58:22] Compressibility percentage is: 62,10
[2004-05-03 11:58:22] Using softer matrix.
[2004-05-03 11:58:22] Chosen resolution is: 672x368 ( AR: 1,83 )
[2004-05-03 11:58:22] Predicted comptest value is: 72,63
[2004-05-03 11:58:22] Running first pass.
[2004-05-03 15:09:49] Duration was: 3 hours 11 minutes 26 seconds
[2004-05-03 15:09:49] Speed was: 13,67 fps.
[2004-05-03 15:09:50] Expected quality of first pass size: 66,79
[2004-05-03 15:09:50] Running second pass.
[2004-05-03 18:56:01] Duration was: 3 hours 46 minutes 11 seconds
[2004-05-03 18:56:01] Speed was: 11,57 fps.
[2004-05-03 18:56:03] Splitting video into: C:\Documents and Settings\xxx\xxx\RIPPNINGAR\Once_upon_a_time_disc2.cd1.avi
[2004-05-03 18:57:30] Splitting video into: C:\Documents and Settings\xxx\xxx\RIPPNINGAR\Once_upon_a_time_disc2.cd2.avi
[2004-05-03 18:58:56] Job finished.

killingspree
3rd May 2004, 18:21
hi,
i'm sorry, i need another log file... it should be in the same dir as your final movie and be named <nameofmovie>_gk.log

i hope you still have it, pls also post it here!

cheers
steVe

edit: this log was helpfull too, bad didn't show any anormalities. the only thing i'd recommend is, that you do not use the documents and settings folder for doing your dvd rips! ideal would be a seperate partition!

emma
3rd May 2004, 18:36
Oh, great! Didn't realize that! Thanks for the advice! I'm usually doing it on another computer though, that is solely for ripping and encoding, did it on this one to save some time.

So here's "the other" logfile:

[2004-05-03 11:28:56] Input dir: C:\Documents and Settings\xxx
[2004-05-03 11:28:56] Output file: C:\xxx\Once_upon_a_time_disc2.avi
[2004-05-03 11:28:56] Audio: English
[2004-05-03 11:28:56] Subtitles: none
[2004-05-03 11:28:56] Codec: XviD
[2004-05-03 11:28:56] Target size: 1400Mb
[2004-05-03 11:28:56] Custom resolution settings: fixed width of 672 pixels
[2004-05-03 11:28:56] Custom audio settings: AC3
[2004-05-03 11:28:56] Started encoding.
[2004-05-03 11:28:56] Demuxing and indexing.
[2004-05-03 11:37:39] Analyzing source.
[2004-05-03 11:37:39] Writing the following script to C:\Documents and Settings\xxx\gk_tmp\lastjob.vcf
===========================================================
VirtualDub.Open("C:\\Documents and Settings\\xxx\\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("C:\\Documents and Settings\\xxx\\gk_tmp\\_.avi");
===========================================================
[2004-05-03 11:46:56] Source has percentage of interlacing in motion areas: 0,01
[2004-05-03 11:46:56] Source is considered to be progressive.
[2004-05-03 11:46:56] Found 156972 frames
[2004-05-03 11:46:56] Audio size: 301,320,192 bytes (287.36 Mb)
[2004-05-03 11:46:56] Overhead: 1,864,064 bytes (1.78 Mb)
[2004-05-03 11:46:56] Video size: 1,164,822,144 bytes (1110.86 Mb)
[2004-05-03 11:46:56] Running compressibility test.
[2004-05-03 11:46:56] Writing the following script to C:\Documents and Settings\xxx\gk_tmp\Once_upon_a_time_disc2_comptest.avs
===========================================================
LoadPlugin("C:\Program\AutoGK\filters\mpeg2dec3dg.dll")
LoadPlugin("C:\Program\AutoGK\filters\autocrop.dll")
LoadPlugin("C:\Program\AutoGK\filters\undot.dll")

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

movie = mpeg2source("C:\Documents and Settings\xxx\gk_tmp\Once_upon_a_time_disc2.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 = 672
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)
===========================================================
[2004-05-03 11:46:56] Writing the following script to C:\Documents and Settings\xxx\gk_tmp\lastjob.vcf
===========================================================
VirtualDub.Open("C:\\Documents and Settings\\xxx\\gk_tmp\\Once_upon_a_time_disc2_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(1200,"AQAAAKC7DQByWxEAQzpcRG9jdW1lbnRzIGFuZCBTZXR0aW5nc1xNYXJpZSBBbmRlcnNzb25cTWluYSBkb2t1bWVudFxSSVBQTklOR0FSXGdrX3RtcFxPbmNlX3Vwb25fYV90aW1lX2Rpc2MyX2NvZGVjLmxvZwAAdABcAFIASQBQAFAATgBJAE4ARwBBAFIAXABnAGsAXwB0AG0AcABcAE8AbgBjAGUAXwB1AHAAbwBuAF8AYQBfAHQAaQBtAGUAXwBkAGkAcwBjADIAXwBjAG8AZABlAGMALgBsAG8AZwAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAABkAAAABQAAABAAAABkAAAAZAAAAAYAAAACAAAAAAAAAAEAAAD6AAAAAQAAAAAAAAAAAAAAAAAAAAAAAAABAAAAAAAAAAEAAACWAAAAZAAAAAAAAAABAAAAAAAAAAAAAAACAAAAAgAAAAIAAAACAAAACBAQEBESFRgQEBAQERMWGRAQERIUFhkdEBASFRgbHyQRERQYHiMpLxITFhsjLDZBFRYZHyk2RlgYGR0kL0FYcxISEhITFRcbEhISEhMVGB0SEhMUFhgcIBISFBgbHiMoExMWGyEnLjUVFRgeJzI9SRcYHCMuPU9iGx0gKDVJYoEAAAAACgAAABQAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAEAAAAeAAAAAQAAADIAAAABAAAA9AEAAFoAAAAyAAAAACT0ADwAAAA8AAAA+gAAAAAAAAAAAAAAXGhpbnRmaWxlLm12aAAAAHN0YXRzMQAAXHZpZGVvLnN0YXRzAAAAAHN0YXRzMgAAXHZpZGVvZ2suc3RhdHMAAFNvZnR3YXJlXEdOVVxYdmlEAAAAcW1hdHJpeF9pbnRyYQAAAHFtYXRyaXhfaW50ZXIAAABDb3VsZG4ndCBjcmVhdGUgWFZJRF9SRUdfU1VCS0VZIC0gAABjb25maWcAAENvdWxkbid0IG9wZW4gcmVnaXN0cnkga2V5IGZvciBkZWxldGlvbiAtIAAAU29mdHdhcmVcR05VAAAAAENvdWxkbid0IGRlbGV0ZSByZWdpc3RyeSBrZXkgLSAAWHZpRAAAAABcdmlkZW9nay5zdGF0cwAAU29mdHdhcmVcR05VXFh2aUQAAABxbWF0cml4X2ludHJhAAAAcW1hdHJpeF9pbnRlcgAAAENvdWxkbid0IGNyZWF0ZSBYVklEX1JFR19TVUJLRVkgLSAAAGNvbmZpZwAAQ291bGRuJ3Qgb3BlbiByZWdpc3RyeSBrZXkgZm9yIGRlbGV0aW9uIC0gAABTb2Z0d2FyZVxHTlUAAAAAQ291bGRuJ3QgZGVsZXRlIHJlZ2lzdHJ5IGtleSAtIABYdmlEAAAAAEJpdHJhdGUgKEticHMpOgBRdWFsaXR5OgAAAABRdWFudGl6ZXI6AABEZXNpcmVkIAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAFAAAABQAAAAUAAAAECcAABAnAAABAAAAAAAAAAAAAAAAAAAAzwAAAAAAAAAAAAAA");
VirtualDub.video.filters.Clear();
VirtualDub.subset.Delete();
VirtualDub.SaveAVI("C:\\Documents and Settings\\xxx\\gk_tmp\\Once_upon_a_time_disc2_comptest.avi");
===========================================================
[2004-05-03 11:58:22] Duration was: 11 minutes 25 seconds
[2004-05-03 11:58:22] Speed was: 11,44 fps.
[2004-05-03 11:58:22] Compressibility percentage is: 62,10
[2004-05-03 11:58:22] Using softer matrix.
[2004-05-03 11:58:22] Chosen resolution is: 672x368 ( AR: 1,83 )
[2004-05-03 11:58:22] Predicted comptest value is: 72,63
[2004-05-03 11:58:22] Running first pass.
[2004-05-03 11:58:22] Writing the following script to C:\Documents and Settings\xxx\gk_tmp\Once_upon_a_time_disc2_movie.avs
===========================================================
LoadPlugin("C:\Program\AutoGK\filters\mpeg2dec3dg.dll")
LoadPlugin("C:\Program\AutoGK\filters\autocrop.dll")
LoadPlugin("C:\Program\AutoGK\filters\undot.dll")

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

movie = mpeg2source("C:\Documents and Settings\xxx\gk_tmp\Once_upon_a_time_disc2.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 = 672
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)
===========================================================
[2004-05-03 11:58:23] Writing the following script to C:\Documents and Settings\xxx\gk_tmp\lastjob.vcf
===========================================================
VirtualDub.Open("C:\\Documents and Settings\\xxx\\gk_tmp\\Once_upon_a_time_disc2_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(1200,"AwAAAKC7DQByWxEAQzpcRG9jdW1lbnRzIGFuZCBTZXR0aW5nc1xNYXJpZSBBbmRlcnNzb25cTWluYSBkb2t1bWVudFxSSVBQTklOR0FSXGdrX3RtcFxPbmNlX3Vwb25fYV90aW1lX2Rpc2MyX2NvZGVjLmxvZwAAdABcAFIASQBQAFAATgBJAE4ARwBBAFIAXABnAGsAXwB0AG0AcABcAE8AbgBjAGUAXwB1AHAAbwBuAF8AYQBfAHQAaQBtAGUAXwBkAGkAcwBjADIAXwBjAG8AZABlAGMALgBsAG8AZwAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAABkAAAABQAAABAAAABkAAAAZAAAAAYAAAACAAAAAAAAAAEAAAD6AAAAAQAAAAAAAAAAAAAAAAAAAAAAAAABAAAAAAAAAAEAAACWAAAAZAAAAAAAAAABAAAAAAAAAAAAAAACAAAAAwAAAAIAAAADAAAACBAQEBESFRgQEBAQERMWGRAQERIUFhkdEBASFRgbHyQRERQYHiMpLxITFhsjLDZBFRYZHyk2RlgYGR0kL0FYcxISEhITFRcbEhISEhMVGB0SEhMUFhgcIBISFBgbHiMoExMWGyEnLjUVFRgeJzI9SRcYHCMuPU9iGx0gKDVJYoEAAAAACgAAABQAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAEAAAAeAAAAAQAAADIAAAABAAAA9AEAAFoAAAAyAAAAACT0ADwAAAA8AAAA+gAAAAAAAAAAAAAAXGhpbnRmaWxlLm12aAAAAHN0YXRzMQAAXHZpZGVvLnN0YXRzAAAAAHN0YXRzMgAAXHZpZGVvZ2suc3RhdHMAAFNvZnR3YXJlXEdOVVxYdmlEAAAAcW1hdHJpeF9pbnRyYQAAAHFtYXRyaXhfaW50ZXIAAABDb3VsZG4ndCBjcmVhdGUgWFZJRF9SRUdfU1VCS0VZIC0gAABjb25maWcAAENvdWxkbid0IG9wZW4gcmVnaXN0cnkga2V5IGZvciBkZWxldGlvbiAtIAAAU29mdHdhcmVcR05VAAAAAENvdWxkbid0IGRlbGV0ZSByZWdpc3RyeSBrZXkgLSAAWHZpRAAAAABcdmlkZW9nay5zdGF0cwAAU29mdHdhcmVcR05VXFh2aUQAAABxbWF0cml4X2ludHJhAAAAcW1hdHJpeF9pbnRlcgAAAENvdWxkbid0IGNyZWF0ZSBYVklEX1JFR19TVUJLRVkgLSAAAGNvbmZpZwAAQ291bGRuJ3Qgb3BlbiByZWdpc3RyeSBrZXkgZm9yIGRlbGV0aW9uIC0gAABTb2Z0d2FyZVxHTlUAAAAAQ291bGRuJ3QgZGVsZXRlIHJlZ2lzdHJ5IGtleSAtIABYdmlEAAAAAEJpdHJhdGUgKEticHMpOgBRdWFsaXR5OgAAAABRdWFudGl6ZXI6AABEZXNpcmVkIAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAFAAAABQAAAAUAAAAECcAABAnAAABAAAAAAAAAAAAAAAAAAAAzwAAAAAAAAAAAAAA");
VirtualDub.video.filters.Clear();
VirtualDub.subset.Delete();
VirtualDub.SaveAVI("C:\\Documents and Settings\\xxx\\Once_upon_a_time_disc2.avi");
===========================================================
[2004-05-03 15:09:49] Duration was: 3 hours 11 minutes 26 seconds
[2004-05-03 15:09:49] Speed was: 13,67 fps.
[2004-05-03 15:09:50] Expected quality of first pass size: 66,79
[2004-05-03 15:09:50] Running second pass.
[2004-05-03 15:09:50] Writing the following script to C:\Documents and Settings\xxx\gk_tmp\lastjob.vcf
===========================================================
VirtualDub.Open("C:\\Documents and Settings\\xxx\\gk_tmp\\Once_upon_a_time_disc2_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(1200,"BQAAAKC7DQByWxEAQzpcRG9jdW1lbnRzIGFuZCBTZXR0aW5nc1xNYXJpZSBBbmRlcnNzb25cTWluYSBkb2t1bWVudFxSSVBQTklOR0FSXGdrX3RtcFxPbmNlX3Vwb25fYV90aW1lX2Rpc2MyX2NvZGVjLmxvZwAAdABcAFIASQBQAFAATgBJAE4ARwBBAFIAXABnAGsAXwB0AG0AcABcAE8AbgBjAGUAXwB1AHAAbwBuAF8AYQBfAHQAaQBtAGUAXwBkAGkAcwBjADIAXwBjAG8AZABlAGMALgBsAG8AZwAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAABkAAAABQAAABAAAABkAAAAZAAAAAYAAAACAAAAAAAAAAEAAAD6AAAAAQAAAAAAAAAAAAAAAAAAAAAAAAABAAAAAAAAAAEAAACWAAAAZAAAAAAAAAABAAAAAAAAAAAAAAACAAAABAAAAAIAAAAEAAAACBAQEBESFRgQEBAQERMWGRAQERIUFhkdEBASFRgbHyQRERQYHiMpLxITFhsjLDZBFRYZHyk2RlgYGR0kL0FYcxISEhITFRcbEhISEhMVGB0SEhMUFhgcIBISFBgbHiMoExMWGyEnLjUVFRgeJzI9SRcYHCMuPU9iGx0gKDVJYoEAAAAACgAAABQAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAEAAAAeAAAAAQAAADIAAAABAAAA9AEAAFoAAAAyAAAAACT0ADwAAAA8AAAA+gAAAAAAAAAAAAAAXGhpbnRmaWxlLm12aAAAAHN0YXRzMQAAXHZpZGVvLnN0YXRzAAAAAHN0YXRzMgAAXHZpZGVvZ2suc3RhdHMAAFNvZnR3YXJlXEdOVVxYdmlEAAAAcW1hdHJpeF9pbnRyYQAAAHFtYXRyaXhfaW50ZXIAAABDb3VsZG4ndCBjcmVhdGUgWFZJRF9SRUdfU1VCS0VZIC0gAABjb25maWcAAENvdWxkbid0IG9wZW4gcmVnaXN0cnkga2V5IGZvciBkZWxldGlvbiAtIAAAU29mdHdhcmVcR05VAAAAAENvdWxkbid0IGRlbGV0ZSByZWdpc3RyeSBrZXkgLSAAWHZpRAAAAABcdmlkZW9nay5zdGF0cwAAU29mdHdhcmVcR05VXFh2aUQAAABxbWF0cml4X2ludHJhAAAAcW1hdHJpeF9pbnRlcgAAAENvdWxkbid0IGNyZWF0ZSBYVklEX1JFR19TVUJLRVkgLSAAAGNvbmZpZwAAQ291bGRuJ3Qgb3BlbiByZWdpc3RyeSBrZXkgZm9yIGRlbGV0aW9uIC0gAABTb2Z0d2FyZVxHTlUAAAAAQ291bGRuJ3QgZGVsZXRlIHJlZ2lzdHJ5IGtleSAtIABYdmlEAAAAAEJpdHJhdGUgKEticHMpOgBRdWFsaXR5OgAAAABRdWFudGl6ZXI6AABEZXNpcmVkIAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAFAAAABQAAAAUAAAAECcAABAnAAABAAAAAAAAAAAAAAAAAAAAzwAAAAAAAAAAAAAA");
VirtualDub.video.filters.Clear();
VirtualDub.subset.Delete();
VirtualDub.RemoveInputStreams();
VirtualDub.stream[0].SetSource("C:\\Documents and Settings\\xxx\\gk_tmp\\ONCE_UPON_A_TIME_DISC2 AC3 T01 3_2ch 384Kbps DELAY -74ms.ac3",0x00000203,0);
VirtualDub.stream[0].SetMode(0);
VirtualDub.stream[0].SetInterleave(1,500,2,0,-74);
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("C:\\Documents and Settings\\xxx\\Once_upon_a_time_disc2.avi");
===========================================================
[2004-05-03 18:56:01] Duration was: 3 hours 46 minutes 11 seconds
[2004-05-03 18:56:01] Speed was: 11,57 fps.
[2004-05-03 18:56:03] Writing the following script to C:\Documents and Settings\xxx\gk_tmp\lastjob.vcf
===========================================================
VirtualDub.Open("C:\\Documents and Settings\\xxx\\Once_upon_a_time_disc2.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,77267);
VirtualDub.SaveAVI("C:\\Documents and Settings\\xxx\\Once_upon_a_time_disc2.cd1.avi");
===========================================================
[2004-05-03 18:56:03] Splitting video into: C:\Documents and Settings\xxx\Once_upon_a_time_disc2.cd1.avi
[2004-05-03 18:57:30] Writing the following script to C:\Documents and Settings\xxx\gk_tmp\lastjob.vcf
===========================================================
VirtualDub.Open("C:\\Documents and Settings\\xxx\\Once_upon_a_time_disc2.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(77267,79548);
VirtualDub.SaveAVI("C:\\Documents and Settings\\xxx\\Once_upon_a_time_disc2.cd2.avi");
===========================================================
[2004-05-03 18:57:30] Splitting video into: C:\Documents and Settings\xxx\Once_upon_a_time_disc2.cd2.avi
[2004-05-03 18:58:56] Job finished.

manono
3rd May 2004, 18:55
Aha! Now we're getting somewhere:

VirtualDub.stream[0].SetInterleave(1,500,2,0,0);

That's been changed in recent releases. Please update the AutoGK and try again (you must be getting sick of this). That setting has been known to cause stuttering playback (most noticeable in panning scenes). I don't know for sure if it's responsible for asynch, but I think it's possible with a somewhat slower computer.

Also, I don't know what the resolution you were making the full screen rips for, but if they were somewhat low (and this wide screen one is fairly high), that may account for asynch in the widescreen movie where you don't get asynch audio with the full screen rips. Also, if the full screen movies were made with MP3 audio, that would certainly account for it. But the full screen movies weren't made with MP3, were they?

emma
3rd May 2004, 19:01
hahahaha, I'm amazed that YOU stuck with me for this long... *in awe* You need me to do anything for you? Water you plants? Iron your shirt? LOL! I'm very grateful, thanks! I'll download the latest, seems like I did that only the other week! But then if a year is seven years to a dog, it's more like fifteen in the computer world it feels sometimes! ;)

I'll get back to you with further reports then!

emma
3rd May 2004, 19:13
Bah, figures! The site seems down at the moments, so I gotta wait until it picks up again! Bet you're happy to get a break! ;)

manono
3rd May 2004, 19:55
Me? Nah, you and killingspree had pretty much filled up the first page before I even saw the thread. He's the one that gets the credit for patience and for asking the right questions.

manono
3rd May 2004, 23:00
Until the AutoGK site is back up, you can get the latest AutoGK Update here. (http://64.246.25.140/~len0x/AutoGordianKnot.1.19.beta.Update.exe)

killingspree
4th May 2004, 01:31
Originally posted by manono
Me? Nah, you and killingspree had pretty much filled up the first page before I even saw the thread. He's the one that gets the credit for patience and for asking the right questions.

thanks :D

emma
4th May 2004, 05:50
*blush* I toyed with the idea to try to make that post look right, but I'm so sorry manono... *whispers* I kinda thought you WERE killingspree! Talk about being spoiled rotten by somebody, lmao! But I guess I can throw in a shirt for you too! LOL!

*shaking my head*

emma
4th May 2004, 19:15
Right, did a new session, this time with autogk 1.19 and still it's out of sync. You can see the log below. *sighs* This is just too weird...


[2004-05-03 23:09:24] Input dir: C:\Documents and Settings\xxx\once upon a time in america
[2004-05-03 23:09:24] Output file: C:\Documents and Settings\xxx\once upon a time in america\Once Upon disk 2.avi
[2004-05-03 23:09:24] Audio: English
[2004-05-03 23:09:24] Subtitles: none
[2004-05-03 23:09:24] Codec: XviD
[2004-05-03 23:09:24] Target size: 1400Mb
[2004-05-03 23:09:24] Custom resolution settings: fixed width of 672 pixels
[2004-05-03 23:09:24] Custom audio settings: AC3
[2004-05-03 23:09:24] Started encoding.
[2004-05-03 23:09:24] Demuxing and indexing.
[2004-05-03 23:16:06] Analyzing source.
[2004-05-03 23:16:06] Writing the following script to C:\Documents and Settings\xxx\once upon a time in america\gk_tmp\lastjob.vcf
===========================================================
VirtualDub.Open("C:\\Documents and Settings\\xxx\\once upon a time in america\\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("C:\\Documents and Settings\\xxx\\once upon a time in america\\gk_tmp\\_.avi");
===========================================================
[2004-05-04 01:38:18] Source has percentage of interlacing in motion areas: 0,01
[2004-05-04 01:38:18] Source is considered to be progressive.
[2004-05-04 01:38:19] Found 156972 frames
[2004-05-04 01:38:19] Audio size: 301,320,192 bytes (287.36 Mb)
[2004-05-04 01:38:19] Overhead: 1,046,528 bytes (1.00 Mb)
[2004-05-04 01:38:19] Video size: 1,165,639,680 bytes (1111.64 Mb)
[2004-05-04 01:38:19] Running compressibility test.
[2004-05-04 01:38:19] Writing the following script to C:\Documents and Settings\xxx\once upon a time in america\gk_tmp\Once Upon disk 2_comptest.avs
===========================================================
LoadPlugin("C:\Program\AutoGK\filters\mpeg2dec3dg.dll")
LoadPlugin("C:\Program\AutoGK\filters\autocrop.dll")
LoadPlugin("C:\Program\AutoGK\filters\undot.dll")

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

movie = mpeg2source("C:\Documents and Settings\xxx\once upon a time in america\gk_tmp\Once Upon disk 2.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 = 672
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)
===========================================================
[2004-05-04 01:38:20] Writing the following script to C:\Documents and Settings\xxx\once upon a time in america\gk_tmp\lastjob.vcf
===========================================================
VirtualDub.Open("C:\\Documents and Settings\\xxx\\once upon a time in america\\gk_tmp\\Once Upon disk 2_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.filters.Clear();
VirtualDub.subset.Delete();
VirtualDub.SaveAVI("C:\\Documents and Settings\\xxx\\once upon a time in america\\gk_tmp\\Once Upon disk 2_comptest.avi");
===========================================================
[2004-05-04 06:27:36] Duration was: 4 hours 49 minutes 16 seconds
[2004-05-04 06:27:36] Speed was: 0,45 fps.
[2004-05-04 06:27:36] Compressibility percentage is: 62,15
[2004-05-04 06:27:36] Using softer matrix.
[2004-05-04 06:27:36] Chosen resolution is: 672x368 ( AR: 1,83 )
[2004-05-04 06:27:36] Predicted comptest value is: 72,68
[2004-05-04 06:27:36] Running first pass.
[2004-05-04 06:27:36] Writing the following script to C:\xxx\once upon a time in america\gk_tmp\Once Upon disk 2_movie.avs
===========================================================
LoadPlugin("C:\Program\AutoGK\filters\mpeg2dec3dg.dll")
LoadPlugin("C:\Program\AutoGK\filters\autocrop.dll")
LoadPlugin("C:\Program\AutoGK\filters\undot.dll")

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

movie = mpeg2source("C:\Documents and Settings\xxx\once upon a time in america\gk_tmp\Once Upon disk 2.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 = 672
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)
===========================================================
[2004-05-04 06:27:36] Writing the following script to C:\Documents and Settings\xxx\once upon a time in america\gk_tmp\lastjob.vcf
===========================================================
VirtualDub.Open("C:\\Documents and Settings\\xxx\\once upon a time in america\\gk_tmp\\Once Upon disk 2_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.filters.Clear();
VirtualDub.subset.Delete();
VirtualDub.SaveAVI("C:\\Documents and Settings\\xxx\\once upon a time in america\\Once Upon disk 2.avi");
===========================================================
[2004-05-04 12:06:45] Duration was: 5 hours 39 minutes 8 seconds
[2004-05-04 12:06:45] Speed was: 7,71 fps.
[2004-05-04 12:06:46] Expected quality of first pass size: 66,84
[2004-05-04 12:06:46] Running second pass.
[2004-05-04 12:06:46] Writing the following script to C:\Documents and Settings\xxx\once upon a time in america\gk_tmp\lastjob.vcf
===========================================================
VirtualDub.Open("C:\\Documents and Settings\\xxx\\once upon a time in america\\gk_tmp\\Once Upon disk 2_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.filters.Clear();
VirtualDub.subset.Delete();
VirtualDub.RemoveInputStreams();
VirtualDub.stream[0].SetSource("C:\\Documents and Settings\\xxx\\once upon a time in america\\gk_tmp\\ONCE UPON DISK 2 AC3 T01 3_2ch 384Kbps DELAY -74ms.ac3",0x00000203,0);
VirtualDub.stream[0].SetMode(0);
VirtualDub.stream[0].SetInterleave(1,96,96,1,-74);
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("C:\\Documents and Settings\\xxx\\once upon a time in america\\Once Upon disk 2.avi");
===========================================================
[2004-05-04 20:00:49] Duration was: 7 hours 54 minutes 2 seconds
[2004-05-04 20:00:49] Speed was: 5,52 fps.
[2004-05-04 20:00:49] Writing the following script to C:\Documents and Settings\xxx\once upon a time in america\gk_tmp\lastjob.vcf
===========================================================
VirtualDub.Open("C:\\Documents and Settings\\xxx\\once upon a time in america\\Once Upon disk 2.avi",0,0);
VirtualDub.RemoveInputStreams();
VirtualDub.stream[0].SetSource(0x73647561,0,0);
VirtualDub.stream[0].SetMode(0);
VirtualDub.stream[0].SetInterleave(1,96,96,1,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,77267);
VirtualDub.SaveAVI("C:\\Documents and Settings\\xxx\\once upon a time in america\\Once Upon disk 2.cd1.avi");
===========================================================
[2004-05-04 20:00:49] Splitting video into: C:\Documents and Settings\xxx\once upon a time in america\Once Upon disk 2.cd1.avi
[2004-05-04 20:02:13] Writing the following script to C:\Documents and Settings\Marie Andersson\Mina dokument\RIPPNINGAR\once upon a time in america\gk_tmp\lastjob.vcf
===========================================================
VirtualDub.Open("C:\\Documents and Settings\\xxx\\once upon a time in america\\Once Upon disk 2.avi",0,0);
VirtualDub.RemoveInputStreams();
VirtualDub.stream[0].SetSource(0x73647561,0,0);
VirtualDub.stream[0].SetMode(0);
VirtualDub.stream[0].SetInterleave(1,96,96,1,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(77267,79421);
VirtualDub.SaveAVI("C:\\Documents and Settings\\xxx\\once upon a time in america\\Once Upon disk 2.cd2.avi");
===========================================================
[2004-05-04 20:02:13] Splitting video into: C:\Documents and Settings\xxx\once upon a time in america\Once Upon disk 2.cd2.avi
[2004-05-04 20:03:40] Job finished.

emma
4th May 2004, 19:54
I decided to ask about this on dvdrhelp.com also, since it seems it's a pretty unique problem. When "authoring" the topic, I realized that I have left out a few tidbits in this thread, so you might perhaps wanna read through what I wrote. Or not, lol! Anyways, thinking about all the stuff you've been asking me in this thread, perhaps made it a better put question in that. Thought I'd mentioned I'm spreading my problems around! ;)

Link removed, and copy of post pasted a few posts below.

ammck55
4th May 2004, 20:18
We all need extra help from time to time but it really interrupts the flow of a thread to have to link to another site and bebop back and forth. Why not copy and paste your additional info and log it right here in this thread? Maybe you'd like to allow the people that have been helping you here to decide if these "tidbits" are important?

It seems a shame, to me, to have come so far with so much help, then insert such an abrupt break in the flow of information within this thread. My $.02...

ammck55

emma
4th May 2004, 20:22
Ooops, sorry. Nobody by all means go to that link, here's the post. *red face* Just wanted to reach as many as possible.

Whenever I rip/encode the b-side or second disc (i.e. to be continued DVD) I get audio out of sync on the end result. I have tried three different DVDs.

DrZhivago - the movie continues on the b-side. Region 2
Once Upon a Time in America - the movie continues on a second disc. Region 2
Bladerunner - the entire movie is on the b-side, the widescreen version, i.e. not continued. Region 1

I have ripped on two separate machines one win98 and one winxp home, with consequently two different dvd players. I have used DVDdecrypt and encoded to Xvid/AC3 with Autogk (http://www.videohelp.com/tools?tool=452#comments). And in all instances the sound is out of sync. I have also encoded to DivX using Super-DVD-ripper (http://www.videohelp.com/tools?tool=374#comments) on Bladerunner, on both machines, and recieved the same end-result.

In all cases I've had AnyDVD installed and running.

Up until now, I've solved it by editing the interleaving in V-dub, but would very much like to find out what the problem is. Seems that my eye-ear coordination is as bad as my hand-eye, so it'd be great if I could get rips/encodes of b-sides to work as well as normal rip/encodes. Paradoxically, the A-side/First disc in all instances works without a glitch.

When opening the .avi up in v-dub I get a message "Warning: Nothing to output BFrame decoder lag".

manono
4th May 2004, 20:24
Damn, and I thought I had it figured out, too.

OK, I don't feel like rereading the whole thread to see if this has been asked and answered. When you play the whole 1400 MB movie, before it's been split, is it also out of synch? And after the movie is split, are both halves out of synch, or just the second half?

emma
4th May 2004, 20:29
The whole file, yes, and consequently the split up files, both of them.

killingspree
4th May 2004, 20:37
is the difference between audio and video staying the same or does it seem that the gap is actually getting bigger/smaller?

emma
4th May 2004, 20:39
Exactly the same. It's as if the encoding and splitting process worked perfectly, but ripping that side of the dvd has some sort of inherent problem.

manono
4th May 2004, 20:47
I'm almost out of ideas here. Check your DVD Decrypter. Up at the top, click on "Mode". Is "IFO" checked? If "File" is checked (it's the default), that may account for the problem. Rereading the thread, you said that the audio was "horribly" out of synch. If you mean that it's many seconds off, then if you're decrypting in File Mode, you may get stuff without audio (like the FBI Screen in R1, or a rating, or a production company logo) that isn't part of the main movie.

And what version of DVDDecrypter are you using ("Help", at the top, and "About DVD Decrypter").

emma
4th May 2004, 21:04
DVDecrypter version 3.2.1.0 is what I'm using. IFO mode checked.

Yes, the sound is off by several seconds, sound starting BEFORE it actually happens on the film. The time could very well fit into a regular logo... *nods*

I'm so glad that you've had ideas to begin with, manono, don't expect anything but gratitude from me. If it's unfixable it is, I'm just to darn stubborn to let go easily once I got something in my head, lol!

manono
4th May 2004, 22:05
That was a clue.

This next test will require a bit of work, but not a whole lot. It seems the audio is "sliding" forward to fill in the space where there was no audio at the very beginning. I've seen this at the end of the first DVD of split movie DVDs when you join the 2nd DVD of a 2 DVD movie to it, thereby making the audio of the 2nd half of the movie asynch, but not at the very beginning. Perhaps you're not in region 1 or 2 where we usually have well authored DVDs.

Open the DVD in DVD Decrypter. Uncheck all the chapters but the very first one. Does the length of that chapter approximate the amount of audio asynch? That is, if the asynch after AutoGK is around 5 seconds, then is that first chapter about 5 seconds in length? If you then decrypt that first chapter alone and play the vob , I would guess it has no audio.

As a followup test, select the first 3 chapters or so, and then decrypt them, demuxing an audio stream at the same time using Streams Processing in Decrypter (hit the Stream Processing Tab, Enable Stream Processing (the little check box), and select an audio stream to demux (tick Demux as well)). When done you'll have a video .m2v (I think) file, and an AC3 file. Does that AC3 file have a delay approximating the post-AutoGK audio asynch? That is, if the asynch after AutoGK is around 5 seconds, is there a delay in the name of the AC3 file of around 5000 ms?

If the answer to these questions is yes, then I think your only recourse is to DESELECT the first chapter when doing DVDs like this one in AutoGK. But there's no real way to know these things in advance. And your problem is outside of anything I've encountered before in ripping several hundred DVDs. So I apologize for floundering around. Maybe someone else has encountered the problem before and can help out.

emma
5th May 2004, 06:54
All very good suggestions, I'll look into that, thank you very much. I don't blame you for being stunted by this, I have also ripped and encoded lots DVDs without this ever happening. And unfortunately the three DVDs I've encountered this with are region 1 and region 2... I actually joked with a friend last night and said that I might have gotten three faulty DVDs by some grand "fluke" of a century, lol!

I'll be doing those things, and get back to you with a report on progress. Thank you so much for all your help! :)

emma
6th May 2004, 04:59
Ah, well, I felt that this should have worked, but alas... :(

I removed the first chapter, the first cell as it were, when ripping the dvd again but still that funky error remains. I guess I'm just going to have to give up and figure this as one of those unexplainable lost causes! Guess I'm stuck doing the interleaving in v-dub in cases like these.

One of these days, knowing myself, I'll try to figure out this problem again, hehehehe, and if I figure it out, I'll be sure to let you guys know what happened.

Thanks again! It's been really nice of you!

manono
6th May 2004, 05:17
Hi-

I'm sorry, emma. We tried our best. I'm very tempted to go and get Bladerunner (the only one of the three you mentioned that I have access to) to see if I can duplicate the problem. I hate to admit defeat (just like you). :) If anyone from the other site figures it out, maybe you can post the solution here. I'm very curious about this.