PDA

View Full Version : Family Guy volume 7 and American Dad volume 4 episodes undersized


maxhavoc
17th June 2009, 01:56
I am having an issue where some episodes from Family Guy volume 7 and American Dad volume 4 (the latest in each series) come out undersized from AutoGK. I've tried re-ripping from the DVD, tried exchanging the DVD with a friend who also has a copy, tried re-converting in AutoGK and I always get the same size result.

I always rip using Predefined Size of 1/4 a DVD (175 megs) and every other TV show DVD set that I've ripped at that size has worked perfectly. Has anyone had an experience with these DVD sets? Is there some trick to ripping or encoding them?

I am using DVDFab Platinum 5.2.3.2 to rip and AutoGK 2.55 to encode.

Here is a sample log file from AutoGK from one of the undersized rips.


[6/16/2009 7:06:37 PM] AutoGK 2.55
[6/16/2009 7:06:37 PM] OS: Win2003 (5.2.3790).2
[6/16/2009 7:06:37 PM] Job started.
[6/16/2009 7:06:37 PM] Input file: D:\MainMovie\F5\VIDEO_TS\VTS_01_0.IFO
[6/16/2009 7:06:37 PM] Output file: D:\F5.avi
[6/16/2009 7:06:37 PM] Output codec: XviD
[6/16/2009 7:06:37 PM] Audio 1: English AC3 6ch
[6/16/2009 7:06:37 PM] Subtitles: none
[6/16/2009 7:06:37 PM] Format: AVI
[6/16/2009 7:06:37 PM] Target size: 175Mb
[6/16/2009 7:06:37 PM] Audio 1 settings: Auto
[6/16/2009 7:06:37 PM] Started encoding.
[6/16/2009 7:06:37 PM] Demuxing and indexing.
[6/16/2009 7:06:49 PM] Processing file: D:\MainMovie\F5\VIDEO_TS\VTS_01_1.VOB
[6/16/2009 7:06:49 PM] Source resolution: 720x480
[6/16/2009 7:06:49 PM] Found NTSC source.
[6/16/2009 7:06:49 PM] Source aspect ratio: 4:3
[6/16/2009 7:06:49 PM] Analyzing source.
[6/16/2009 7:07:14 PM] Source has percentage of interlacing in motion areas: 69.79
[6/16/2009 7:07:14 PM] Source has percentage of telecined patterns: 97.58
[6/16/2009 7:07:14 PM] Source has percentage of progressive patterns: 1.61
[6/16/2009 7:07:14 PM] Source has percentage of interlaced patterns: 0.81
[6/16/2009 7:07:14 PM] Source is considered to be FILM.
[6/16/2009 7:07:14 PM] Output will contain 31424 frames
[6/16/2009 7:07:14 PM] Decoding audio.
[6/16/2009 7:07:36 PM] Normalizing audio.
[6/16/2009 7:07:37 PM] Encoding audio.
[6/16/2009 7:09:03 PM] Using VAQ in XviD
[6/16/2009 7:09:03 PM] Audio1 size: 17,956,728 bytes (17.12 Mb)
[6/16/2009 7:09:03 PM] Overhead: 1,256,960 bytes (1.20 Mb)
[6/16/2009 7:09:03 PM] Video size: 164,287,112 bytes (156.68 Mb)
[6/16/2009 7:09:03 PM] Running compressibility test.
[6/16/2009 7:09:03 PM] Writing the following script to D:\agk_tmp\F5_comptest.avs
===========================================================
LoadPlugin("C:\PROGRA~2\AutoGK\DGMPGDec\DGDecode.dll")
LoadPlugin("C:\PROGRA~2\AutoGK\filters\autocrop.dll")
LoadPlugin("C:\PROGRA~2\AutoGK\filters\decomb.dll")
LoadPlugin("C:\PROGRA~2\AutoGK\filters\RemoveGrainSSE3.dll")

movie = mpeg2source("D:\agk_tmp\F5.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 = 0.888888888888889
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 < 1.25) ? input_par : (4.0/3.0)
out_width = 640
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
Telecide(movie,guide=1,post=2).Decimate(mode=0)
autocrop(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(214,15)
===========================================================
[6/16/2009 7:09:44 PM] Duration was: 40 seconds
[6/16/2009 7:09:44 PM] Speed was: 53.69 fps.
[6/16/2009 7:09:44 PM] Compressibility percentage is: 246.05
[6/16/2009 7:09:44 PM] Using sharper matrix
[6/16/2009 7:09:44 PM] Switching b-frames off
[6/16/2009 7:09:44 PM] Chosen resolution is: 720x544 ( AR: 1.32 )
[6/16/2009 7:09:44 PM] Predicted comptest value is: 108.41%
[6/16/2009 7:09:44 PM] Running first pass.
[6/16/2009 7:09:44 PM] Writing the following script to D:\agk_tmp\F5_movie.avs
===========================================================
LoadPlugin("C:\PROGRA~2\AutoGK\DGMPGDec\DGDecode.dll")
LoadPlugin("C:\PROGRA~2\AutoGK\filters\autocrop.dll")
LoadPlugin("C:\PROGRA~2\AutoGK\filters\decomb.dll")
LoadPlugin("C:\PROGRA~2\AutoGK\filters\RemoveGrainSSE3.dll")

movie = mpeg2source("D:\agk_tmp\F5.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 = 0.888888888888889
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 < 1.25) ? 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
Telecide(movie,guide=1,post=2).Decimate(mode=0)
autocrop(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)
===========================================================
[6/16/2009 7:16:26 PM] Duration was: 6 minutes 42 seconds
[6/16/2009 7:16:26 PM] Speed was: 78.09 fps.
[6/16/2009 7:16:26 PM] Expected quality of first pass size: 133.59%
[6/16/2009 7:16:26 PM] Trying to adjust settings.
[6/16/2009 7:16:26 PM] No adjustment is possible
[6/16/2009 7:16:26 PM] Warning: final AVI will likely be undersized.
[6/16/2009 7:16:26 PM] Running second pass.
[6/16/2009 7:23:33 PM] Duration was: 7 minutes 5 seconds
[6/16/2009 7:23:33 PM] Speed was: 73.81 fps.
[6/16/2009 7:23:33 PM] Job finished. Total time: 16 minutes 55 seconds


Two things about this strike me as weird. First is that the quality is 133.59% which seems impossible and second is the warning that says the final AVI will likely be undersized. Any ideas about how to fix this?

BigDid
17th June 2009, 05:11
...
Two things about this strike me as weird. First is that the quality is 133.59% which seems impossible and second is the warning that says the final AVI will likely be undersized. Any ideas about how to fix this?
Hi,

This issue has been covered quite a few times in the main thread.

AGK cannot encode at more than 100% ( the author has been kind enough to inform the user via the log )
So what happens? the size cannot not be attained so the file will be undersized; it cannot be fixed :rolleyes:

Positive thing is that you will get the highest quality AGK can produce see the other thread:
http://forum.doom9.org/showthread.php?p=1297474#post1297474

Did

maxhavoc
17th June 2009, 13:16
I don't know, it really seems like a bug to me. Why would some episodes have much higher quality than another on the same disc? Episode 2 on this disc for example said expected quality of first pass size was 70% and this one is 133%. That's a pretty wide variance.

Well, assuming this can't be fixed, is there anyway that AutoGK can pad the file to the correct size?

CWR03
17th June 2009, 14:54
Do you realize that what you're asking is like being given a pitcher that hold 2 liters and complaining when it's not full after you pour two quarts into it?

maxhavoc
17th June 2009, 19:23
I have over 500 30 minute TV show episodes on my computer and all of them, with the only exceptions being the ones from these two DVD sets are 175 megs. I like consistency and it irritates me that I have just a few that refuse to be the right size. Call it OCD, but it's annoying.

manono
17th June 2009, 20:10
I don't know why you think it's annoying. These are simply drawn and very easy to compress animations. They can't reach the size you want. Big deal.

BigDid
17th June 2009, 21:09
Hi,

Without any promise, what is the final (undersized) size of the file resulting from your log above?

Did

maxhavoc
17th June 2009, 21:38
I actually managed to fix my issue with a cheap little hack of adding the director's commentary track to increase the amount of audio data AutoGK had to work with which increased the file size to the correct size. I won't actually use the additional audio track, but it gets my files in a consistent size so I'm happy.

I realize this is a weird thing to be complaining about, so thanks for offering to help.

Willobee
21st June 2009, 23:18
Yes, wierd. Sorry. If only there was a pill for this.

somebodeez
22nd June 2009, 02:32
In my tests using the latest AGK, under-sized files were an issue that happened quite frequently when encoding to XviD. However, DivX encodes came out to be the size that I wanted every time. I suspect it had something to do w/ the "VAQ" thing. (XviD with VAQ from what I have read, allows for more compression supposedly w/out losing quality.)

AutoGK Version 2.52 beta, VAQ patch is there but not in use yet and my XviD tests tended to come out to be the file size that I wanted.