Welcome to Doom9's Forum, THE in-place to be for everyone interested in DVD conversion.

Before you start posting please read the forum rules. By posting to this forum you agree to abide by the rules.

 

Go Back   Doom9's Forum > Video Encoding > MPEG-4 AVC / H.264
Register FAQ Calendar Today's Posts Search

Reply
 
Thread Tools Search this Thread Display Modes
Old 23rd March 2009, 20:45   #1  |  Link
MalickT
Registered User
 
Join Date: Apr 2008
Posts: 84
AutoMKV x264 Encoding final size is not what i request

Hi. Im encoding a x264 video using Constant Quality profile and i set the output file to be 8GB (Disk Settings input is set to 8000). The original is 16GB. Is ok if there is some quality loss but the output file is not 8GB, its always larger like around 9.5GB. Im use no resize filters and original width resolution allso no audio track. Why the output is not the size i request?
MalickT is offline   Reply With Quote
Old 23rd March 2009, 20:48   #2  |  Link
J_Darnley
Registered User
 
J_Darnley's Avatar
 
Join Date: May 2006
Posts: 957
You cannot use crf (or qp) rate-control mode(s) and know the final file size. If you want to get a specific file size you will need to set the correct bitrate to reach it. You can use crf as the first pass but on the second you must set the bitrate you want.
__________________
x264 log explained || x264 deblocking how-to
preset -> tune -> user set options -> fast first pass -> profile -> level
Doom10 - Of course it's better, it's one more.
J_Darnley is offline   Reply With Quote
Old 23rd March 2009, 20:58   #3  |  Link
MalickT
Registered User
 
Join Date: Apr 2008
Posts: 84
How can i do that? A little quide please...

im a new at using AutoMKV. I use version 0.91. Im interested in getting the maximum quality as possbile, it does not matter that it takes longer to encode, but i want to maintain the original resolution
MalickT is offline   Reply With Quote
Old 24th March 2009, 01:46   #4  |  Link
Chengbin
Registered User
 
Join Date: Oct 2007
Posts: 1,060
You should update your AutoMKV to 0.98.4 here

http://forum.doom9.org/showthread.php?t=140178

Choose 2_pass_xxx profile (anything above balanced) and set the bitrate.
Chengbin is offline   Reply With Quote
Old 24th March 2009, 08:51   #5  |  Link
MalickT
Registered User
 
Join Date: Apr 2008
Posts: 84
but i want the maximum quality as possible. I have read that Constant Quality profile gives me that.

How do i know to set the right bitrate?
MalickT is offline   Reply With Quote
Old 24th March 2009, 10:11   #6  |  Link
nm
Registered User
 
Join Date: Mar 2005
Location: Finland
Posts: 2,641
Quote:
Originally Posted by MalickT View Post
but i want the maximum quality as possible. I have read that Constant Quality profile gives me that.
In the first post you said that you want to limit the output to 8 GBs. That also limits the quality. With the 2-pass mode you get maximal quality while keeping the output size within a certain limit.

Quote:
How do i know to set the right bitrate?
I don't know if AutoMKV includes a bitrate calculator. If not, you can calculate it yourself or use the tool in MeGUI, for example.

Calculating the bitrate (from MEncoder documentation):
Quote:
If you aim at a certain size, you will have to somehow calculate the bitrate. But before that, you need to know how much space you should reserve for the audio track(s), so you should rip those first. You can compute the bitrate with the following equation: bitrate = (target_size_in_Mbytes - sound_size_in_Mbytes) * 1024 * 1024 / length_in_secs * 8 / 1000 For instance, to squeeze a two-hour movie onto a 702MB CD, with 60MB of audio track, the video bitrate will have to be: (702 - 60) * 1024 * 1024 / (120*60) * 8 / 1000 = 740kbps

Last edited by nm; 24th March 2009 at 10:17.
nm is offline   Reply With Quote
Old 24th March 2009, 10:45   #7  |  Link
MalickT
Registered User
 
Join Date: Apr 2008
Posts: 84
I ment maximum quality on terms of reducing the fail to 8GB. (I know qulity will reduce compared to original) So if I just use 2-pass mode and set the size final to 8GB I get exacly 8GB and i dont have to calculate the bitrate myself?

Im using AutoMKV version091
MalickT is offline   Reply With Quote
Old 24th March 2009, 14:17   #8  |  Link
Chengbin
Registered User
 
Join Date: Oct 2007
Posts: 1,060
Quote:
Originally Posted by MalickT View Post
I ment maximum quality on terms of reducing the fail to 8GB. (I know qulity will reduce compared to original) So if I just use 2-pass mode and set the size final to 8GB I get exacly 8GB and i dont have to calculate the bitrate myself?

Im using AutoMKV version091
Yes, and update AutoMKV. 0.98.4 is light years (literately) better than 0.91.
Chengbin is offline   Reply With Quote
Reply


Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is On
HTML code is Off

Forum Jump


All times are GMT +1. The time now is 12:45.


Powered by vBulletin® Version 3.8.11
Copyright ©2000 - 2024, vBulletin Solutions Inc.