View Full Version : Final Film Oversized
Dak
3rd October 2002, 15:02
Hi,
Whenever I rip a film with GK, it always comes out oversized by 150mb or so. I am sure that I have followed the Doom9 guide to the letter, so I don't know what I am doing wrong. I have set it to 1 700Mb CD and I do the compression test the adjust the slider bar to get the % between 55 and 65% and all the other things detailed in the guide.
When I do the save and encode and it goes the the audio and video options at the top where it says 1 and 2 passes, it shows stats about the file sizes for video, audio, overhead and total. It reports the total as being 715ish MB. This would be an ideal size at it will still fit on a CD. I hit go, and when it's finished the films are all 840-860mb.
The film is perfect quality in both sound and vision, but it's just too big for a CD!
Anyone got any suggestions of what I'm doing wrong? (I have a horrible feeling it's something really obvious I'm missing!)
Thanks for your time!
Cheers, Dak.
jggimi
3rd October 2002, 17:57
It's hard to say why this may be occurring, Dak, without more information.
If you could copy and paste a recent Gknot .log file, that might point the community to a procedural issue.
manono
3rd October 2002, 18:09
Hi-
As jggimi says, we need more information. One thing you might check though is if you're allowing Gknot to adjust the bit rate ("Re-Calculate Bitrate if needed" in the Encoder tab).
Dak
4th October 2002, 00:08
Sorry folks - I'm new to this! I think I have pasted what you are looking for below if you wouldn't mind have a look at it. If you need anything else, please let me know.
manono, I did think of that one myself, and have checked and rechecked that this was ticked, but thanks for the suggestion.
Thanks again for your input!
Dak.
03/10/2002 07:46:09: Job "Test1" started.
o Transcode AC3 -> MP3: C:\Rip\Romeo+Juliet\Romeo+Juliet AC3 T01 3_2ch 384Kbps DELAY -80ms.ac3
o DivX5-First Pass: C:\Rip\Romeo+Juliet\Romeo+Juliet.avs
o DivX5-Second Pass: C:\Rip\Romeo+Juliet\Romeo+Juliet.avs
o Mux Audio.
End of Job 4 (Test1).
_______________________________________________________________________________________________________________________
Gordian Knot 0.26.0.6
Encoding Job Data:
Type: EncD5_Both
Number: 4
Name: Test1
Platform: WinXP (5.1.2600).2
Files:
VirtualDubExe: C:\PROGRA~1\GORDIA~1\virtualdub\Virtualdub.exe
NandubExe: C:\PROGRA~1\GORDIA~1\nandub\Nandub.exe
AviFinal: C:\Rip\Romeo+Juliet\Romeo+Juliet.avi
AviMovie: C:\Rip\Romeo+Juliet\Romeo+Juliet_Movie.avi
AviCredits: C:\Rip\Romeo+Juliet\Romeo+Juliet_Credits.avi
MovieFS: C:\Rip\Romeo+Juliet\Romeo+Juliet.avs
CreditsFS:
Log : C:\Rip\Romeo+Juliet\Romeo+Juliet.log
Stats: C:\Rip\Romeo+Juliet\Romeo+Juliet.stats
Ecf : C:\Rip\Romeo+Juliet\Romeo+Juliet.ecf
Options:
Quality/DRF: 0
CreditsStart: 0
UseEcf: 1
CreditsIVTC: 0
CreditsAppend: 1
DeleteInterm.: 0
EnforceBitrate:0
AntiShit: 0
Calculator:
VideoSize: 633147 kbyte.
Audio1Size: 90140 kbyte.
Audio2Size: 0 kbyte.
Overhead: 9087 kbyte.
AviSize: 732375 kbyte (715 mbyte).
FilesSize: 0 kbyte.
TotalSize: 732375 kbyte (715 mbyte).
Interleaving: vbrmp3
Bitrate: 899 k(=1000)Bits/s
Frames: 144225
FPS: 25.000
Duration: 1:36:9
Quality: 0.231 bits/(pixel*frame).
CompCheck3: 0.000 bits/(pixel*frame).
CompCheck5: 0.347 bits/(pixel*frame).
DivX5BiDirect: 1
DivX5GMC: 1
DivX5QuartPel: 0
DivX5PsyVis: 0
Resolution: 608 x 256
Audio 1:
mode: ac3 -> mp3
sourceFile: C:\Rip\Romeo+Juliet\Romeo+Juliet AC3 T01 3_2ch 384Kbps DELAY -80ms.ac3
wavFile: C:\Rip\Romeo+Juliet\Romeo+Juliet AC3 T01 3_2ch 384Kbps DELAY -80ms.wav
mp3File: C:\Rip\Romeo+Juliet\Romeo+Juliet AC3 T01 3_2ch 384Kbps DELAY -80ms_8.mp3
azid: "-L -3db -c normal"
lame: "--alt-preset 128"
delay: -80
interval: 2
preload: 500
mux: 1
recalc: 1
deleteWav: 1
Audio 2:
none.
07:46:09: Started Transcoding Audio.
07:46:09: Using BeSweet to transcode C:\Rip\Romeo+Juliet\Romeo+Juliet AC3 T01 3_2ch 384Kbps DELAY -80ms.ac3
Commandline: C:\PROGRA~1\GORDIA~1\besweet.exe -core( -input "C:\Rip\Romeo+Juliet\Romeo+Juliet AC3 T01 3_2ch 384Kbps DELAY -80ms.ac3" -output "C:\Rip\Romeo+Juliet\Romeo+Juliet AC3 T01 3_2ch 384Kbps DELAY -80ms_8.mp3" -logfile "C:\Rip\Romeo+Juliet\Romeo+Juliet AC3 T01 3_2ch 384Kbps DELAY -80ms_8.log" ) -ota( -G max ) -azid( -L -3db -c normal ) -lame( --alt-preset 128 --scale 1 ) -profile( Gordian Knot 0.26 )
08:07:42: Finished. Duration: 21 minutes, 33 seconds.
08:07:42: Audio Done.
08:07:42: MP3-File-Size is 105656 kb.
08:07:42: Audio 1, determined: 105656 kb
08:07:42: Audio 1, calc: 90140 kb
08:07:42: New Bitrate for Movie = 877 k(=1000)Bits/s
Adding this script to C:\PROGRA~1\GORDIA~1\virtualdub\VirtualDub.jobs:
// $job "DivX4 First Pass"
// $input "C:\Rip\Romeo+Juliet\Romeo+Juliet.avs"
// $output "C:\Rip\Romeo+Juliet\Romeo+Juliet_Movie.avi"
// $state 0
// $start_time 0 0
// $end_time 0 0
// $script
VirtualDub.Open("C:\\Rip\\Romeo+Juliet\\Romeo+Juliet.avs",0,0);
VirtualDub.audio.SetSource(0);
VirtualDub.audio.SetMode(0);
VirtualDub.audio.SetInterleave(1,0,0,0,0);
VirtualDub.audio.SetClipMode(1,1);
VirtualDub.audio.SetConversion(0,0,0,0,0);
VirtualDub.audio.SetVolume();
VirtualDub.audio.SetCompression();
VirtualDub.video.SetDepth(24,24);
VirtualDub.video.SetMode(1);
VirtualDub.video.SetFrameRate(0,1);
VirtualDub.video.SetIVTC(0,0,-1,0);
VirtualDub.video.SetRange(0,0);
VirtualDub.video.SetCompression(0x78766964,0,10000,0);
VirtualDub.video.SetCompData(380,"GAEAAMhhDQDQBwAACgAAABQAAAAsAQAADAAAAAIAAAAFAAAAAgAAAJABAAAAAAAAAAAAAB4AAABkAAAAAAAAAAAAAAABAAAAAAAAAAAAAAAAAAAAAAAAAAAgAAAyAAAAAAAAAAAQAACamZmZmZnJP5qZmZmZmck/QAAAAAEAAACAAAAAAAAAAAAAAAAAAAAAAAAAAIACAADgAQAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAOA/AAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAABAAAAAQAAAAEAAAABAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAABAAAAAAAAAAEAAAD/////BAAAAEM6XFJpcFxSb21lbytKdWxpZXRcUm9tZW8rSnVsaWV0X2ZpeGVkMi5sb2cAYzpcdGVzdC5kaXZ4AEM6XFJpcFxSb21lbytKdWxpZXRcUm9tZW8rSnVsaWV0X2ZpeGVkMi5tdgBt");
VirtualDub.video.filters.Clear();
VirtualDub.subset.Delete();
VirtualDub.SaveAVI("C:\\Rip\\Romeo+Juliet\\Romeo+Juliet_Movie.avi");
VirtualDub.Close();
// $endjob
//
//--------------------------------------------------
// $done
08:07:42: Started DivX5-First Pass: C:\Rip\Romeo+Juliet\Romeo+Juliet.avs
10:05:26: Finished DivX5-First Pass. Duration: 1 hour, 57 minutes, 42 seconds.
10:05:26: Trying to open Log-file.
10:05:32: Success: Log-file open.
10:05:32: Encoded: 138314 Frames.
10:05:32: Speed: 19.583 Frames per Second.
10:05:32: WARNING: Number of counted frames differs from settings!
10:05:32: WARNING: Settings: 144225
10:05:33: WARNING: Counted: 138314
10:05:33: WARNING: Difference: 5911
10:05:33: Correcting Bitrate...
10:05:33: Original Bitrate = 877 k(=1000)Bits/s
10:05:33: Now encoding at 915 k(=1000)Bits/s
Adding this script to C:\PROGRA~1\GORDIA~1\virtualdub\VirtualDub.jobs:
// $job "DivX4 Second Pass"
// $input "C:\Rip\Romeo+Juliet\Romeo+Juliet.avs"
// $output "C:\Rip\Romeo+Juliet\Romeo+Juliet_Movie.avi"
// $state 0
// $start_time 0 0
// $end_time 0 0
// $script
VirtualDub.Open("C:\\Rip\\Romeo+Juliet\\Romeo+Juliet.avs",0,0);
VirtualDub.audio.SetSource(0);
VirtualDub.audio.SetMode(0);
VirtualDub.audio.SetInterleave(1,0,0,0,0);
VirtualDub.audio.SetClipMode(1,1);
VirtualDub.audio.SetConversion(0,0,0,0,0);
VirtualDub.audio.SetVolume();
VirtualDub.audio.SetCompression();
VirtualDub.video.SetDepth(24,24);
VirtualDub.video.SetMode(1);
VirtualDub.video.SetFrameRate(0,1);
VirtualDub.video.SetIVTC(0,0,-1,0);
VirtualDub.video.SetRange(0,0);
VirtualDub.video.SetCompression(0x78766964,0,10000,0);
VirtualDub.video.SetCompData(380,"GAEAADj2DQDQBwAACgAAABQAAAAsAQAADAAAAAIAAAAFAAAAAwAAAJABAAAAAAAAAAAAAB4AAABkAAAAAAAAAAAAAAABAAAAAAAAAAAAAAAAAAAAAAAAAAAgAAAyAAAAAAAAAAAQAACamZmZmZnJP5qZmZmZmck/QAAAAAEAAACAAAAAAAAAAAAAAAAAAAAAAAAAAIACAADgAQAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAOA/AAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAABAAAAAQAAAAEAAAABAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAABAAAAAAAAAAEAAAD/////BAAAAEM6XFJpcFxSb21lbytKdWxpZXRcUm9tZW8rSnVsaWV0X2ZpeGVkMi5sb2cAYzpcdGVzdC5kaXZ4AEM6XFJpcFxSb21lbytKdWxpZXRcUm9tZW8rSnVsaWV0X2ZpeGVkMi5tdgBt");
VirtualDub.video.filters.Clear();
VirtualDub.subset.Delete();
VirtualDub.SaveAVI("C:\\Rip\\Romeo+Juliet\\Romeo+Juliet_Movie.avi");
VirtualDub.Close();
// $endjob
//
//--------------------------------------------------
// $done
10:05:33: Started DivX5-Second Pass: C:\Rip\Romeo+Juliet\Romeo+Juliet.avs
11:44:29: Finished DivX5-Second Pass. Duration: 1 hour, 38 minutes, 56 seconds.
11:44:29: Speed: 23.300 Frames per Second.
Adding this script to C:\PROGRA~1\GORDIA~1\nandub\VirtualDub.jobs:
// $job "DivX3 Append"
// $input "C:\Rip\Romeo+Juliet\Romeo+Juliet_Movie.avi"
// $output "C:\Rip\Romeo+Juliet\Romeo+Juliet.avi"
// $state 0
// $start_time 0 0
// $end_time 0 0
// $script
VirtualDub.Open("C:\\Rip\\Romeo+Juliet\\Romeo+Juliet_Movie.avi",0,0);
VirtualDub.audio.SetSource("C:\\Rip\\Romeo+Juliet\\Romeo+Juliet AC3 T01 3_2ch 384Kbps DELAY -80ms_8.mp3");
VirtualDub.audio.SetMode(0);
VirtualDub.audio.SetInterleave(1,500,2,0,-80);
VirtualDub.audio.SetClipMode(1,1);
VirtualDub.audio.SetConversion(0,0,0,0,0);
VirtualDub.audio.SetVolume();
VirtualDub.audio.SetCompression();
VirtualDub.audio2.SetSource(0);
VirtualDub.audio2.SetMode(0);
VirtualDub.audio2.SetInterleave(1,0,0,0,0);
VirtualDub.audio2.SetClipMode(1,1);
VirtualDub.audio2.SetConversion(0,0,0,0,0);
VirtualDub.audio2.SetVolume();
VirtualDub.audio2.SetCompression();
VirtualDub.video.SetDepth(24,24);
VirtualDub.video.SetMode(0);
VirtualDub.video.SetFrameRate(0,1);
VirtualDub.video.SetIVTC(0,0,-1,0);
VirtualDub.video.SetRange(0,0);
VirtualDub.video.SetCompression();
VirtualDub.video.filters.Clear();
VirtualDub.subset.Delete();
VirtualDub.SaveAVI("C:\\Rip\\Romeo+Juliet\\Romeo+Juliet.avi");
VirtualDub.Close();
// $endjob
//
//--------------------------------------------------
// $done
11:44:30: Started Appending Credits and Muxing Audio.: C:\Rip\Romeo+Juliet\Romeo+Juliet_Movie.avi
11:47:04: Finished Appending Credits and Muxing Audio.. Duration: 2 minutes, 34 seconds.
11:47:04: Done.
11:47:04: Movie = C:\Rip\Romeo+Juliet\Romeo+Juliet.avi
Total Encoding Time: 4 hours, 0 minutes, 55 seconds.
03/10/2002 11:47:05: Job "Test1" finished.
_______________________________________________________________________________________________________________________:p :p
jggimi
4th October 2002, 05:20
Here's where the problem is occurring:08:07:42: Started DivX5-First Pass: C:\Rip\Romeo+Juliet\Romeo+Juliet.avs
10:05:26: Finished DivX5-First Pass. Duration: 1 hour, 57 minutes, 42 seconds.
10:05:26: Trying to open Log-file.
10:05:32: Success: Log-file open.
10:05:32: Encoded: 138314 Frames.
10:05:32: Speed: 19.583 Frames per Second.
10:05:32: WARNING: Number of counted frames differs from settings!
10:05:32: WARNING: Settings: 144225
10:05:33: WARNING: Counted: 138314
10:05:33: WARNING: Difference: 5911
10:05:33: Correcting Bitrate...
10:05:33: Original Bitrate = 877 k(=1000)Bits/s
10:05:33: Now encoding at 915 k(=1000)Bits/s It looks to me like there might have been a misstep in the Trim options you chose in the "Save&Encode" window. Look at the trim section in your .avs script, which when not doing end-credits separately, which you are not, should normally commented out with "#":#
# TRIM
#trim(startframe,endframe)
# If trim has been enabled, with values assigned, then an end-credits procedure error is the root cause of your oversize problem.
Dak
4th October 2002, 18:21
I think this is the script file you are talking about and it is hashed out as you suggest. Shouldn't GK take care of this?
Any other thoughts?
Dak.
#
# Created with Gordian Knot
#
# http://thewef.nav.to
#
# PLUGINS
# get them from http://users.win.be/dividee
LoadPlugin("C:\PROGRA~1\GORDIA~1\mpeg2dec.dll")
#LoadPlugin("C:\PROGRA~1\GORDIA~1\decomb.dll")
#LoadPlugin("C:\PROGRA~1\GORDIA~1\InverseTelecine.dll")
#LoadPlugin("C:\PROGRA~1\GORDIA~1\Avisynth_Spatial.dll")
#LoadPlugin("C:\PROGRA~1\GORDIA~1\GreedyHMA.dll")
#LoadPlugin("C:\WINDOWS\System32\vobsub.dll")
#LoadPlugin("C:\PROGRA~1\GORDIA~1\SimpleResize.dll")
#
# SOURCE
mpeg2source("C:\Rip\Romeo+Juliet\Romeo+Juliet.d2v")
#
# TRIM
#trim(startframe,endframe)
#
# IVTC
#Telecide()
#Decimate(cycle=5)
# or use
#InverseTelecine(40,10,15)
#GreedyHMA(1,0,4,0,0,0,0,0)
#
# DEINTERLACING
#FieldDeinterlace()
# or use
#VerticalReduceBy2
# or maybe
#GreedyHMA(1,0,0,0,0,0,0,0)
#
# CROPPING
crop(0,75,718,423)
#
# SUBTITLES
#VobSub("FileName")
#
# RESIZING
BicubicResize(672,272,0,0.5)
#
# DENOISING: choose one combination (or none)
# 1) little noise (fast)
#TemporalSmoother(2,1)
#
# 2) medium noise (slow)
#SpatialSoftenMMX(1,4,6,false,false,4,4,6,8)
#TemporalSmoother(2)
#
# 3) heavy noise (very slow, you have been warned)
#SpatialSoftenMMX(2,4,6,false,false,4,4,6,8)
#TemporalSmoother(3)
#SpatialSoftenMMX(1,4,6,false,false,4,4,6,8)
#
# BORDERS
#AddBorders(left,top,right,bottom)
#
# COMPRESSIBILITY CHECK
# !!!!Snip Size now has to be 14 for use in GKnot!
#SelectRangeEvery(280,14)
#
# FOOL CCEnc
#ResampleAudio(44100)
jggimi
4th October 2002, 18:53
Here's what I can tell by looking at your .log and your .avs:
The .d2v project you created with dvd2avi has 144225 frames in it. This is the value used by Gknot to do your bitrate calculation.
The first pass .log file -- not the Gknot.log, but the file "Romeo+Juliet.log" -- recognized a video stream with only 138314 frames. This log is the frame-by-frame analysis done during the first pass, and is mandatory input for the second pass.
The difference, 5911 frames, are unaccounted for. I thought it might have been your Trim options, as the frame differences seem suspiciously close to an end-credits starting point you may have set with the "Set Credits Start" button. However, the trim options in the script are not set, so it wouldn't be due to setting "Movie Only" -- which is what I thought you might have done.
Are you adjusting the framerate to 25.00 from another value? That's a wild guess, but changes to framerate will change the number of frames in Gknot's calculator, and you will see this sort of mismatch frame count.
If not, then I recommend the following steps, needed for futher diagnosis and action:
1) Open the .d2v file in Gknot, and see if you can move the slider to frames beyond frame 138314. Can you see frame 144225? If not, the problem is in the .vob stream.
2) Open the .avs script in VirtualDub or in Nandub. Can you move the slider to frames beyond 138314? Can you see frame 144225? If not, then the problem is in the .avs script -- but I can't see anything obvious looking at the script. If this is the problem, the source might be an overlayed (or improperly updated) mpeg2dec.dll file.
If you get past 1 and 2 cleanly, then the problem must be in your installation of the codec. Remove all copies of DivX 4 and/or DivX 5 from your computer. All. Make sure they're gone, by looking at the list of available codecs in Virtual Dub (Video...Compression). DivX 3 codecs are ok to have, they are called "DivX ;-) MPEG-4..." and may remain on your PC. If you need to delete one and don't have an uninstaller, then open "Sounds and Multimedia" in your Control Panel, and look in either "Devices" or "Hardware" for video codecs. You can delete them from that spot.
Then, reinstall DivX 5.
Dak
6th October 2002, 16:36
Wow, thanks for such a full reply!
I have opened the .d3v file in GK, and it has only got 138314 frames in it. When I scroll to that position, it is the end of the film.
You said this means there is a problem with the VOB file, so I ripped it from the DVD to a different dir and it had the same number of frames. I then used GK to create a DivX again, and it had exactly the same problem with the incorrect number of frames and the file came out larger than normal again.
Do you think it's worth uninstalling and reinstalling GK and the service packs?
Cheers, Dak.
Dak
6th October 2002, 18:39
Hi.
I think I've worked out what the problem is... and as usual, it's user error (commonly know as being a total arse!).
You were right - there was a problem with the VOB file. I had selected the 'Force FILM' option in DVD2AVI even though it's a PAL file, and this caused the frame count miss-match.
I have ripped it all again, and this time the frame counts match. I have just started the DivX encoding, but I'm pretty sure it'll be fine this time.
I am really sorry for wasting all your time, I feel really stupid now.
Thanks for all your helpful suggestions - if it wasn't for you saying that the VOB was wrong I'd still be here changing GK settings and getting nowhere!
Cheers,
Dak.
Hiro2k
6th October 2002, 19:46
LOL! I was going to say you should check to see it you had Force Film on, but I figured no one would be that stupid considering it's a PAL DVD. Show's Me! So don't feel bad.
jggimi
6th October 2002, 20:55
Well, Dak, I'm glad you figured out what the error was -- and glad to know that things are running smoothly for you now.
Dak
6th October 2002, 22:30
Hi folks,
Just to confirm that it worked perfectly this time - exactly the size I was looking for and perfect quality too!
Thanks again for all your help and sorry for waisting your time.
Another problem marked up to DFU... (Dumb F***ing User)
Cheers, Dak
vBulletin® v3.8.11, Copyright ©2000-2026, vBulletin Solutions Inc.