Log in

View Full Version : File going undersize...


axxo
14th January 2009, 14:19
I am trying to convert a video file.

I give output file settings as 83MB, fixed width 720, original audio settings...

But I get final output with 70MB size. As such, quality of final output fine is still fine, but I would like to make it 83Mb so that video bitrate is increased automatically. I have encoded similar videos earlier and never encountered any such error.

Please help...

jeffy
14th January 2009, 15:41
As usual: post your log.

axxo
15th January 2009, 06:44
[1/15/2009 10:41:51] AutoGK 2.45
[1/15/2009 10:41:51] OS: WinXP (5.1.2600).2
[1/15/2009 10:41:51] Job started.
[1/15/2009 10:41:51] Input file: E:\Sex Club Fight Scene.vob
[1/15/2009 10:41:51] Output file: E:\Sex Club Fight Scene.avi
[1/15/2009 10:41:51] Output codec: XviD
[1/15/2009 10:41:51] Audio 1: Audio Stream 0 AC3
[1/15/2009 10:41:51] Subtitles: none
[1/15/2009 10:41:51] Format: AVI
[1/15/2009 10:41:51] Target size: 83Mb
[1/15/2009 10:41:51] Custom resolution settings: fixed width of 720 pixels
[1/15/2009 10:41:51] Audio 1 settings: Original
[1/15/2009 10:41:51] Started encoding.
[1/15/2009 10:41:51] Demuxing and indexing.
[1/15/2009 10:41:56] Processing file: E:\Sex Club Fight Scene.vob
[1/15/2009 10:41:56] Source resolution: 720x480
[1/15/2009 10:41:56] Found NTSC source.
[1/15/2009 10:41:56] Source aspect ratio: 4:3
[1/15/2009 10:41:56] Analyzing source.
[1/15/2009 10:43:03] Source has percentage of interlacing in motion areas: 41.97
[1/15/2009 10:43:03] Source has percentage of telecined patterns: 93.96
[1/15/2009 10:43:03] Source has percentage of progressive patterns: 4.95
[1/15/2009 10:43:03] Source has percentage of interlaced patterns: 1.10
[1/15/2009 10:43:03] Source is considered to be hybrid (mostly FILM).
[1/15/2009 10:43:03] Looking for optimal hybrid thresholds.
[1/15/2009 10:43:29] Found threshold of: 1.54
[1/15/2009 10:43:29] Output will contain 5457 frames
[1/15/2009 10:43:29] Picking up autocrop parameters.
[1/15/2009 10:43:29] Audio1 size: 5,457,309 bytes (5.20 Mb)
[1/15/2009 10:43:29] Overhead: 37,888 bytes (0.04 Mb)
[1/15/2009 10:43:29] Video size: 81,536,611 bytes (77.76 Mb)
[1/15/2009 10:43:29] Running compressibility test.
[1/15/2009 10:43:29] Writing the following script to E:\agk_tmp\Sex Club Fight Scene_comptest.avs
===========================================================
LoadPlugin("C:\PROGRA~1\AutoGK\DGMPGDec\DGDecode.dll")
LoadPlugin("C:\PROGRA~1\AutoGK\filters\autocrop.dll")
LoadPlugin("C:\PROGRA~1\AutoGK\filters\decomb.dll")
LoadPlugin("C:\PROGRA~1\AutoGK\filters\RemoveGrainSSE2.dll")

movie = mpeg2source("E:\agk_tmp\Sex Club Fight Scene.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=3,threshold=1.54)
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(41,15)
===========================================================
[1/15/2009 10:50:01] Duration was: 6 minutes 32 seconds
[1/15/2009 10:50:01] Speed was: 5.15 fps.
[1/15/2009 10:50:01] Compressibility percentage is: 174.88
[1/15/2009 10:50:01] Using sharper matrix
[1/15/2009 10:50:01] Switching b-frames off
[1/15/2009 10:50:01] Chosen resolution is: 720x320 ( AR: 2.25 )
[1/15/2009 10:50:01] Predicted comptest value is: 98.24%
[1/15/2009 10:50:01] Running first pass.
[1/15/2009 10:50:01] Writing the following script to E:\agk_tmp\Sex Club Fight Scene_movie.avs
===========================================================
LoadPlugin("C:\PROGRA~1\AutoGK\DGMPGDec\DGDecode.dll")
LoadPlugin("C:\PROGRA~1\AutoGK\filters\autocrop.dll")
LoadPlugin("C:\PROGRA~1\AutoGK\filters\decomb.dll")
LoadPlugin("C:\PROGRA~1\AutoGK\filters\RemoveGrainSSE2.dll")

movie = mpeg2source("E:\agk_tmp\Sex Club Fight Scene.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=3,threshold=1.54)
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)
===========================================================
[1/15/2009 11:03:11] Duration was: 13 minutes 9 seconds
[1/15/2009 11:03:11] Speed was: 6.91 fps.
[1/15/2009 11:03:11] Expected quality of first pass size: 116.83%
[1/15/2009 11:03:11] Trying to adjust settings.
[1/15/2009 11:03:11] No adjustment is possible
[1/15/2009 11:03:11] Warning: final AVI will likely be undersized.
[1/15/2009 11:03:11] Running second pass.
[1/15/2009 11:12:45] Duration was: 9 minutes 34 seconds
[1/15/2009 11:12:45] Speed was: 9.50 fps.
[1/15/2009 11:12:45] Job finished. Total time: 30 minutes 54 seconds

CWR03
15th January 2009, 22:27
You're probably just exceeding the possible compression. Note the "Expected quality of first pass size: 116.83%"

BigDid
16th January 2009, 00:01
and
[1/15/2009 11:03:11] Trying to adjust settings.
[1/15/2009 11:03:11] No adjustment is possible
[1/15/2009 11:03:11] Warning: final AVI will likely be undersized.

Hello and happy new year to old fellows and pals :)

Did

axxo
16th January 2009, 06:38
Well I had ripped a similar type of video earlier. And that video had 80MB of size, and final AVI got 2900kbps of video bitrate. This AVI is getting around 2350kbps of video bitrate. I know quality is still great, but it would have been great if the video bitrate would have got more higher.
anyway thanx, seems like I have to stick with 70MB this time...

yetanotherid
13th February 2009, 07:19
What you're wanting is a video of better quality than the best possible quality. A higher bitrate doesn't mean it's going to look any better... it's just a waste. The video that AutoGK produces is compressed, but not all video compresses equally well, hence different bitrates for a given quality.
The bitrate of the first video you converted may have needed to be higher to be of "perfect" quality because it may have had more motion in the video, it may have even been of a lesser quality itself in the first place making it harder to compress, therefore a higher bitrate for the output file may have been necessary.

Don't stress over bitrate or file size. Pay attention to the quality percentages in the log file. If AutoGK's still got to do things such as switching b frames off to make use of the full file size you requested, you can reduce the file size without reducing quality. For two pass encoding you want the expected quality percentages to be around 75% and you'll have a converted video of almost identical quality to the original (assuming it wasn't too small forcing AutoGK to use a softer matrix). If you don't care about file size, convert using AutoGK's quality percentage set at 75%.