View Full Version : Incredibles and Layer Cake - two films with a problem
digitaltoast
26th March 2005, 08:55
Here's a strangeness - whatever bitrate/size I set Layer Cake to be, it makes me 1 860Mb file with no audio, that crashes most media players I try. As the audio file is there, how can I remux it (if I can't make it do things "properly").
The Incredibles - all other films are fine, this always seems to encode with an audio offset of about 600ms, whether I set it to 1/3rd DVD or 700Mb size. Recoded 3 times now.
I'm completely uninstalled and re-installed the latest xvid beta codec - should I try using divx? I'd rather get it working with xvid.
Thanks - great prog in all other aspects.
rohan
26th March 2005, 09:45
I've heard that Layer Cake has RipGuard on it, and it wouldn't surprise me if the Incredibles does too.
Not sure how DVDDecrypter fares with RipGuard.
digitaltoast
26th March 2005, 09:59
It's fine - the latest version of DVDDecrypter handles the ripping fine and tells you it is aware of ripguard encoding and what it did to solve it. So I end up with a perfect vob file which plays fine all the way through as a file. I also re-ripped the ripped vob with no compression using DVD Shrink, which chokes on ripguard, just to make sure I had a "clean" source. So I don't reckon it's that.
jggimi
26th March 2005, 19:26
:logfile:
digitaltoast
26th March 2005, 19:39
Here's the one which is all auto (xvid etc) that makes a smaller-than-expected file which totally fails to play, and crashed all media players except DiVX player, which is silent. (Total of video and seperate ac3 file is correct, so I think the problem lies at the remuxing side of things).
[25/03/2005 21:47:26] AutoGK 2.01b
[25/03/2005 21:47:26] OS: WinXP (5.1.2600).2
[25/03/2005 21:47:26] Job started.
[25/03/2005 21:47:26] Input file: VTS_01_1.VOB
[25/03/2005 21:47:26] Output file: D:\Video\dvd\no_compress\new_layercake\VIDEO_TS\VTS_01_1.avi
[25/03/2005 21:47:26] Output codec: XviD
[25/03/2005 21:47:26] Audio: Audio Stream 0
[25/03/2005 21:47:26] Subtitles: none
[25/03/2005 21:47:26] Format: .AVI
[25/03/2005 21:47:26] Target size: 1120Mb
[25/03/2005 21:47:26] Started encoding.
[25/03/2005 21:47:26] Demuxing and indexing.
[25/03/2005 21:50:46] Processing file: D:\Video\dvd\no_compress\new_layercake\VIDEO_TS\VTS_01_1.VOB
[25/03/2005 21:50:46] Source aspect ratio: 16:9
[25/03/2005 21:50:46] Source resolution: 720x576
[25/03/2005 21:50:46] Found PAL source.
[25/03/2005 21:50:46] Analyzing source.
[25/03/2005 21:55:52] Source has percentage of interlacing in motion areas: 0.16
[25/03/2005 21:55:52] Source is considered to be progressive.
[25/03/2005 21:55:52] Output will contain 151614 frames
[25/03/2005 21:55:52] Audio size: 339,033,819 bytes (323.33 Mb)
[25/03/2005 21:55:52] Overhead: 1,010,688 bytes (0.96 Mb)
[25/03/2005 21:55:52] Video size: 834,360,613 bytes (795.71 Mb)
[25/03/2005 21:55:52] Running compressibility test.
[25/03/2005 21:55:52] Writing the following script to D:\Video\dvd\no_compress\new_layercake\VIDEO_TS\agk_tmp\VTS_01_1_comptest.avs
===========================================================
LoadPlugin("C:\PROGRA~1\AutoGK\DGMPGDec\DGDecode.dll")
LoadPlugin("C:\PROGRA~1\AutoGK\filters\autocrop.dll")
LoadPlugin("C:\PROGRA~1\AutoGK\filters\RemoveGrainSSE2.dll")
movie = mpeg2source("D:\Video\dvd\no_compress\new_layercake\VIDEO_TS\agk_tmp\VTS_01_1.d2v")
cropclip = autocrop(movie,mode=0,wmultof=4,hmultof=4,samples=10,aspect=0,threshold=34,samplestartframe=0,leftadd=0,rightadd=0,topadd=0,bottomadd=0)
fixed_aspect = 1.42222222222222
c_width = width(cropclip)
c_height = round(height(cropclip) / fixed_aspect)
input_par = float(c_width)/float(c_height)
input_par = input_par > 1.4 ? input_par : (4.0/3.0)
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=34,samplestartframe=0,leftadd=0,rightadd=0,topadd=0,bottomadd=0)
LanczosResize(out_width,out_height)
RemoveGrain(mode=2)
SelectRangeEvery(300,15)
===========================================================
[25/03/2005 22:00:05] Duration was: 4 minutes 12 seconds
[25/03/2005 22:00:05] Speed was: 29.98 fps.
[25/03/2005 22:00:05] Compressibility percentage is: 68.50
[25/03/2005 22:00:05] Chosen resolution is: 688x304 ( AR: 2.26 )
[25/03/2005 22:00:05] Predicted comptest value is: 70.09
[25/03/2005 22:00:05] Running first pass.
[25/03/2005 22:00:05] Writing the following script to D:\Video\dvd\no_compress\new_layercake\VIDEO_TS\agk_tmp\VTS_01_1_movie.avs
===========================================================
LoadPlugin("C:\PROGRA~1\AutoGK\DGMPGDec\DGDecode.dll")
LoadPlugin("C:\PROGRA~1\AutoGK\filters\autocrop.dll")
LoadPlugin("C:\PROGRA~1\AutoGK\filters\RemoveGrainSSE2.dll")
movie = mpeg2source("D:\Video\dvd\no_compress\new_layercake\VIDEO_TS\agk_tmp\VTS_01_1.d2v")
cropclip = autocrop(movie,mode=0,wmultof=4,hmultof=4,samples=10,aspect=0,threshold=34,samplestartframe=0,leftadd=0,rightadd=0,topadd=0,bottomadd=0)
fixed_aspect = 1.42222222222222
c_width = width(cropclip)
c_height = round(height(cropclip) / fixed_aspect)
input_par = float(c_width)/float(c_height)
input_par = input_par > 1.4 ? input_par : (4.0/3.0)
out_width = 688
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=34,samplestartframe=0,leftadd=0,rightadd=0,topadd=0,bottomadd=0)
LanczosResize(out_width,out_height)
RemoveGrain(mode=2)
===========================================================
[25/03/2005 22:48:58] Duration was: 48 minutes 53 seconds
[25/03/2005 22:48:58] Speed was: 51.69 fps.
[25/03/2005 22:48:59] Expected quality of first pass size: 73.61
[25/03/2005 22:48:59] Running second pass.
[25/03/2005 23:59:01] Duration was: 1 hour, 10 minutes 1 second.
[25/03/2005 23:59:01] Speed was: 36.08 fps.
[25/03/2005 23:59:01] Job finished. Total time: 2 hours 11 minutes 34 seconds
Here's one I just did, which is forced mp3 encoding, divx output. It seem to have made me two slightly differently sized files, four minutes apart, one avi and one suffixed .divx.
Both play fine, but are hugely out of synch with sound and video - about 7 seconds out (video lags sound by 7 seconds or so).
[26/03/2005 13:57:53] AutoGK 2.01b
[26/03/2005 13:57:53] OS: WinXP (5.1.2600).2
[26/03/2005 13:57:53] Job started.
[26/03/2005 13:57:53] Input file: VTS_01_1.VOB
[26/03/2005 13:57:53] Output file: D:\Video\dvd\no_compress\new_layercake\VIDEO_TS\layer_mp3.avi
[26/03/2005 13:57:53] Output codec: DivX
[26/03/2005 13:57:53] Audio: Audio Stream 0
[26/03/2005 13:57:53] Subtitles: none
[26/03/2005 13:57:53] Format: .DIVX
[26/03/2005 13:57:53] Target size: 1493Mb
[26/03/2005 13:57:53] Custom audio settings: VBR MP3 with average bitrate: 128Kbps
[26/03/2005 13:57:53] Started encoding.
[26/03/2005 13:57:53] Demuxing and indexing.
[26/03/2005 14:01:22] Processing file: D:\Video\dvd\no_compress\new_layercake\VIDEO_TS\VTS_01_1.VOB
[26/03/2005 14:01:22] Source aspect ratio: 16:9
[26/03/2005 14:01:22] Source resolution: 720x576
[26/03/2005 14:01:22] Found PAL source.
[26/03/2005 14:01:22] Analyzing source.
[26/03/2005 14:05:28] Source has percentage of interlacing in motion areas: 0.16
[26/03/2005 14:05:28] Source is considered to be progressive.
[26/03/2005 14:05:28] Output will contain 151614 frames
[26/03/2005 14:05:28] Decoding audio.
[26/03/2005 14:08:12] Normalizing audio.
[26/03/2005 14:11:12] Encoding audio.
[26/03/2005 14:18:03] Audio size: 98,866,008 bytes (94.29 Mb)
[26/03/2005 14:18:03] Overhead: 9,782,016 bytes (9.33 Mb)
[26/03/2005 14:18:03] Video size: 1,456,875,944 bytes (1389.39 Mb)
[26/03/2005 14:18:03] Target bitrate is: 1922kbps
[26/03/2005 14:18:03] Running compressibility test.
[26/03/2005 14:18:03] Writing the following script to D:\Video\dvd\no_compress\new_layercake\VIDEO_TS\agk_tmp\layer_mp3_comptest.avs
===========================================================
LoadPlugin("C:\PROGRA~1\AutoGK\DGMPGDec\DGDecode.dll")
LoadPlugin("C:\PROGRA~1\AutoGK\filters\autocrop.dll")
LoadPlugin("C:\PROGRA~1\AutoGK\filters\RemoveGrainSSE2.dll")
movie = mpeg2source("D:\Video\dvd\no_compress\new_layercake\VIDEO_TS\agk_tmp\layer_mp3.d2v")
cropclip = autocrop(movie,mode=0,wmultof=4,hmultof=4,samples=10,aspect=0,threshold=34,samplestartframe=0,leftadd=0,rightadd=0,topadd=0,bottomadd=0)
fixed_aspect = 1.42222222222222
c_width = width(cropclip)
c_height = round(height(cropclip) / fixed_aspect)
input_par = float(c_width)/float(c_height)
input_par = input_par > 1.4 ? input_par : (4.0/3.0)
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=34,samplestartframe=0,leftadd=0,rightadd=0,topadd=0,bottomadd=0)
LanczosResize(out_width,out_height)
RemoveGrain(mode=2)
SelectRangeEvery(280,14)
===========================================================
[26/03/2005 14:21:49] Duration was: 3 minutes 44 seconds
[26/03/2005 14:21:49] Speed was: 33.74 fps.
[26/03/2005 14:21:49] Compressibility percentage is: 118.52
[26/03/2005 14:21:49] Switching b-frames off
[26/03/2005 14:21:49] Chosen resolution is: 720x320 ( AR: 2.25 )
[26/03/2005 14:21:49] Predicted comptest value is: 93.36
[26/03/2005 14:21:49] Running first pass.
[26/03/2005 14:21:49] Writing the following script to D:\Video\dvd\no_compress\new_layercake\VIDEO_TS\agk_tmp\layer_mp3_movie.avs
===========================================================
LoadPlugin("C:\PROGRA~1\AutoGK\DGMPGDec\DGDecode.dll")
LoadPlugin("C:\PROGRA~1\AutoGK\filters\autocrop.dll")
LoadPlugin("C:\PROGRA~1\AutoGK\filters\RemoveGrainSSE2.dll")
movie = mpeg2source("D:\Video\dvd\no_compress\new_layercake\VIDEO_TS\agk_tmp\layer_mp3.d2v")
cropclip = autocrop(movie,mode=0,wmultof=4,hmultof=4,samples=10,aspect=0,threshold=34,samplestartframe=0,leftadd=0,rightadd=0,topadd=0,bottomadd=0)
fixed_aspect = 1.42222222222222
c_width = width(cropclip)
c_height = round(height(cropclip) / fixed_aspect)
input_par = float(c_width)/float(c_height)
input_par = input_par > 1.4 ? input_par : (4.0/3.0)
out_width = 720
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=34,samplestartframe=0,leftadd=0,rightadd=0,topadd=0,bottomadd=0)
LanczosResize(out_width,out_height)
RemoveGrain(mode=2)
===========================================================
[26/03/2005 15:13:53] Duration was: 52 minutes 3 seconds
[26/03/2005 15:13:53] Speed was: 48.53 fps.
[26/03/2005 15:13:53] Running second pass.
[26/03/2005 16:06:35] Duration was: 52 minutes 41 seconds
[26/03/2005 16:06:35] Speed was: 47.96 fps.
[26/03/2005 16:06:35] Muxing into DIVX format.
[26/03/2005 16:10:50] Job finished. Total time: 2 hours 12 minutes 57 seconds
I think I need to have a complete codec cleanout of my PC (reformatting is not an option). Trouble is that everything else works just fine and dandy, and I know people have troubles with codec packs and fiddling with codecs in general. Hope the logfiles show something up!
Thanks
len0x
27th March 2005, 20:28
Originally posted by digitaltoast
It seem to have made me two slightly differently sized files, four minutes apart, one avi and one suffixed .divx.
You have selected .DIVX container which was unnecessary.
P.S. make sure you have laster stable version of XviD properly installed (1.0.3) Synch issues are of different nature and can indeed be a DVD protection problem.
WoundedVeins
27th March 2005, 22:23
Incredibles DVD worked fine for me.
[27/03/2005 19:56:53] AutoGK 1.60
[27/03/2005 19:56:53] OS: WinXP (5.1.2600).2
[27/03/2005 19:56:53] Job started.
[27/03/2005 19:56:53] Input dir: D:\The Incredibles
[27/03/2005 19:56:53] Output file: C:\The Incredibles.avi
[27/03/2005 19:56:53] Audio: English
[27/03/2005 19:56:53] Subtitles: none
[27/03/2005 19:56:53] Codec: XviD
[27/03/2005 19:56:53] Target size: 1400Mb
[27/03/2005 19:56:53] Started encoding.
[27/03/2005 19:56:53] Demuxing and indexing.
[27/03/2005 20:00:28] Processing file: D:\The Incredibles\VTS_01_1.VOB
[27/03/2005 20:00:28] Source aspect ratio: 16:9
[27/03/2005 20:00:28] Source resolution: 720x576
[27/03/2005 20:00:28] Found PAL source.
[27/03/2005 20:00:28] Analyzing source.
[27/03/2005 20:04:36] Source has percentage of interlacing in motion areas: 0.76
[27/03/2005 20:04:36] Source is considered to be progressive.
[27/03/2005 20:04:36] Found 165922 frames
[27/03/2005 20:04:36] Audio size: 371,635,712 bytes (354.42 Mb)
[27/03/2005 20:04:36] Overhead: 1,106,176 bytes (1.05 Mb)
[27/03/2005 20:04:36] Video size: 1,095,264,512 bytes (1044.53 Mb)
[27/03/2005 20:04:36] Running compressibility test.
[27/03/2005 20:04:36] Writing the following script to C:\agk_tmp\The Incredibles_comptest.avs
===========================================================
LoadPlugin("C:\PROGRA~1\AutoGK\DGMPGDec\DGDecode.dll")
LoadPlugin("C:\PROGRA~1\AutoGK\filters\autocrop.dll")
LoadPlugin("C:\PROGRA~1\AutoGK\filters\undot.dll")
movie = mpeg2source("C:\agk_tmp\The Incredibles.d2v")
cropclip = autocrop(movie,mode=0,wmultof=4,hmultof=4,samples=10,aspect=0,threshold=34,samplestartframe=0)
fixed_aspect = 1.42222222222222
c_width = width(cropclip)
c_height = round(height(cropclip) / fixed_aspect)
input_par = float(c_width)/float(c_height)
input_par = input_par > 1.4 ? input_par : (4.0/3.0)
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=34,samplestartframe=0)
Undot()
LanczosResize(out_width,out_height)
SelectRangeEvery(300,15)
===========================================================
[27/03/2005 20:09:35] Duration was: 4 minutes 59 seconds
[27/03/2005 20:09:35] Speed was: 27.74 fps.
[27/03/2005 20:09:36] Compressibility percentage is: 70.44
[27/03/2005 20:09:36] Chosen resolution is: 704x288 ( AR: 2.44 )
[27/03/2005 20:09:36] Predicted comptest value is: 70.44
[27/03/2005 20:09:36] Running first pass.
[27/03/2005 20:09:36] Writing the following script to C:\agk_tmp\The Incredibles_movie.avs
===========================================================
LoadPlugin("C:\PROGRA~1\AutoGK\DGMPGDec\DGDecode.dll")
LoadPlugin("C:\PROGRA~1\AutoGK\filters\autocrop.dll")
LoadPlugin("C:\PROGRA~1\AutoGK\filters\undot.dll")
movie = mpeg2source("C:\agk_tmp\The Incredibles.d2v")
cropclip = autocrop(movie,mode=0,wmultof=4,hmultof=4,samples=10,aspect=0,threshold=34,samplestartframe=0)
fixed_aspect = 1.42222222222222
c_width = width(cropclip)
c_height = round(height(cropclip) / fixed_aspect)
input_par = float(c_width)/float(c_height)
input_par = input_par > 1.4 ? input_par : (4.0/3.0)
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=34,samplestartframe=0)
Undot()
LanczosResize(out_width,out_height)
===========================================================
[27/03/2005 21:04:38] Duration was: 55 minutes 2 seconds
[27/03/2005 21:04:38] Speed was: 50.24 fps.
[27/03/2005 21:04:38] Expected quality of first pass size: 68.71
[27/03/2005 21:04:38] Running second pass.
[27/03/2005 22:19:05] Duration was: 1 hour, 14 minutes 26 seconds
[27/03/2005 22:19:05] Speed was: 37.14 fps.
[27/03/2005 22:19:06] Splitting video into: C:\The Incredibles.cd1.avi
[27/03/2005 22:19:56] Splitting video into: C:\The Incredibles.cd2.avi
[27/03/2005 22:20:41] Job finished.
digitaltoast
3rd April 2005, 11:35
Well, I don't know what's gone wrong, but whatever I do, I get an audio offset of +590 milliseconds (best guess by eye and ear!). How can I "fix" this one film, so that when it remuxes, it takes account of this, so I don't have to mess around with the offset in the player I use to play it back? Thanks!
digitaltoast
4th April 2005, 08:50
All the Lord of the Rings, Ricky Gervais Live, Shrek1&2..all perfect.
The Village and The Incredibles (I've now re-ripped and re-encoded The Incredibles 4 times!) always come out with <> 600Ms offset.
And I've totally uninstalled and re-installed AutoGK and the Xvid codec.
If I could only force the offset into the re-coding part somehow...
fewtch
4th April 2005, 09:16
If the only problem is audio offset, you can demux/remux the final .avi using VirtualDub(Mod)... it's really easy, just set video and audio to Direct Stream Copy and find option to skew the audio (in VirtualDub it's under Audio/Interleaving).
digitaltoast
4th April 2005, 21:10
I feel like SUCH a newb here! OK, so I open the output .avi file with its offset audio in virtualdubmod. I have:
FILE | EDIT | VIDEO | STREAMS | OPTIONS | TOOLS | HELP
I change VIDEO to DIRECT STREAM COPY and I go into TOOLS > PREFERENCES > AUDIO but all I see is about the default preload, but this is 500Ms, changing it doesn't help. I hate it when I get to this state 'cos I feel like I've missed something really fundamental, and probably won't find the answer as it's "so simple" I won't see it!
Going back to Layer Cake, I tried re-ripping the rip, with a tiny bit of compression. Here's how it was before:
Video: MPEG2 Video 720x576 (16:9) 25.00fps 9800Kbps
Audio: Dolby AC3 48000Hz stereo 32Kbps
Video: äS
Here's how it was after:
Video: MPEG2 Video 720x576 (16:9) 25.00fps 9800Kbps
Video: äS
Both times, the audio definitely looks wrong. In the first rip, it sounds perfect (but clearly not 32k/sec!), when I re-rip the rip using dvdshrink, it loses the audio!
vBulletin® v3.8.11, Copyright ©2000-2026, vBulletin Solutions Inc.