Don't know many of you are using Handbrake, but thought I'd post here before posting in the Handbrake forums.
I'm just now starting to mess around with H.264. All my other encoding was H.263 using Xvid.
I always set the enoder to 94% contsant quality. However if I do that with H.264 in Handbrake, I end up with a 10Gb file size.
In handbrake, what would be a good settings for H.264 if you were comparing it to my Xvid encodes at 94%?
Here's whay I have in the query editor. I did change the 94% to 60% but I haven't encoded it yet to see what it looks like.
-i "X:\VIDEO_TS" -t 1 -c 1-26 -o "C:\Encoding H.264\Home Vids\test1 h.264 60per.mkv" -f mkv --crop 0:0:0:0 -p -e x264 -q 0.6 -a 1 -E ac3 -B 160 -R 0 -6 dpl2 -D 1 --markers="C:\Temp\VIDEO_TS-1-chapters.csv" -C 4 -v
+ Reply to Thread
Results 1 to 22 of 22
-
-
94% is way too high, around 65% is a good value to start with, maybe a little higher for HD video.
-
57-62% for HD, 61-64% for SD. (Corresponds to the 19.4-22 and 18.4-20 ranges in CRF mode.) Do a few short test encodes to see what percentage suits you. Going higher than those ranges is pointless for most sources, unless you have quite exacting standards and don't mind inflating the bitrate.
SD requires a higher level of quality than HD does, due to the greater upscaling when played back on a screen of the same size.
Keep in mind that these ranges only apply to versions of Handbrake that use x264 revision 1196 and before. After that, CRF (constant quality) was recalibrated. So if you're using a beta build of Handbrake, be prepared to bump up the quality percentage from those ranges. -
I always thought switching to H.264 would save a bunch of space.
I just did the exact same source with Xvid + AC3 at 94 percent quality. The resulting fine came out to 2.67Gb
The same source using H.264 (settings in my first post) came out to 2.27Gb
Not much of a savings to me
BTW, I'm not using any of the snapshot versions, I'm using 0.9.3 -
Originally Posted by stiltman
I find in the bitrate range for typical DVD backups, XviD needs about 1.3-1.5x the size to equal x264 quality (but I don't use handbrake, so I don't know the corresponding settings)
If you just go by objective measures like ssim, psnr, you will find XviD needs about 1.7-1.8x the size to equal x264 quality in that bitrate range -
I use bitrate setting of 5k for 1920x1080,3k for 1280x720 and 1500k for 720x480 as an average for H.264 so if a movie is 1:34 then i set the output to 5200kbps at 640k ac3 for 1920x1080 for burning on avchd-dvdr.
I think,therefore i am a hamster. -
1500 seems a little light compared to my 3000+ for Xvids.
Is 1500 very comparable to that of Xvids with double the bitrate?
Maybe I'll just stick with Xvids for now -
-
Originally Posted by stiltman
You shouldn't use a set bitrate like "1500" or any other number, because that isn't necessarily going to be appropriate for every source. -
1500 kbps is good for most dvd,looks good on my 37in sanyo hdtv,lots of people encode movies at 1500k divx and some do 900k which is a bit too low with artifacts showing.
I think,therefore i am a hamster. -
Originally Posted by johns0
Dunno about how 720x480 fares in h.264, I don't bother with that any more. :PPull! Bang! Darn! -
Use bitrate setting in 2pass to get the proper size,wont get better results using % scale.
I think,therefore i am a hamster. -
Normally, I never use a certain bitrate setting. I always go with constant quality. With Xvids, that's always been 93% or 94%
Applying the samething to H.264, gave me a huge file, so I knew something was a miss
I'm not looking for the average encode, you can tell by my Xvid setting of 93 or 94%. I'm looking for the same setting in H.246..Be it 65% or 85%
Guess I shoulds take this to the Handbrake forum? -
Constant quality can be very unpredictible and give you either very small,large or just what you want depending on the complexity of the scenery,why not take a 5 min encode using bitrate calculation and a 5 min encode using constant quality and compare.
I used to use cq but gave it up when i had to keep adjusting the % to get the right file size,too much wasted time.I think,therefore i am a hamster. -
Originally Posted by stiltman
x264 uses a scale called CRF (Constant Rate Factor) for constant quality encoding. The lower the CRF, the higher the quality and bitrate. If you read any guide to x264, you'll generally see recommendations of using CRF 18.0-20.0 for SD material, going lower only if you can't achieve your desired quality at 18.0. Anything below 16.0 is generally pointless.
Handbrake converts its percentage scale to the CRF scale by the formula CRF = 51 - (%quality/100 * 51).
If you plug in numbers, you'll see you hit CRF 16.0 at 68.6%. Not very high at all. That's why I suggest 61-64%, only going higher if you judge it necessary on that particular source.
Originally Posted by johns0 -
Originally Posted by creamyhorrorI think,therefore i am a hamster.
-
Originally Posted by johns0
-
Originally Posted by creamyhorror
I think that cq is the worse way to encode files cause of its unpredictability,cant estimate the file size.I think,therefore i am a hamster. -
Originally Posted by johns0
Originally Posted by johns0
I personally use CQ/CRF because I don't need to fit videos to a specific size (e.g. a DVD-R). -
OK, we get it:
if you want a control over the output file size - use bitrate specific encoding
if you want a control over the output quality - use constant level encoding.
What I'd like to know, is: what if my input videos are of different quality and bitrate, and I want a constant quality.
If I'm satisfied with 1000kbps xvid encoding of SD material, can I still select like 94% constant quality in Handbrake and expect similar results (without a fear that my output will be a few times larger than the input file)?
Similarly, selecting 62% for H264 encoding should I expect that the output size will not fluctuate very much regardless of the source material quality? -
Originally Posted by usta
If I'm satisfied with 1000kbps xvid encoding of SD material, can I still select like 94% constant quality in Handbrake and expect similar results (without a fear that my output will be a few times larger than the input file)?
Similarly, selecting 62% for H264 encoding should I expect that the output size will not fluctuate very much regardless of the source material quality?
Similar Threads
-
BD Rebuilder, Ripbot 264 & Handbrake...any major differences between em?
By Moontrash in forum Blu-ray RippingReplies: 11Last Post: 23rd Jan 2012, 10:28 -
Handbrake and interlaced question
By ultraman36 in forum DVD RippingReplies: 14Last Post: 7th Jun 2011, 17:04 -
Best h.264 setting for optimal size/quality with handbrake.
By frickfrock99 in forum Newbie / General discussionsReplies: 4Last Post: 1st Oct 2010, 02:09 -
HandBrake + WMV/H.264 input = no joy?
By x2x3x2 in forum Video ConversionReplies: 4Last Post: 10th Jul 2009, 00:29 -
Handbrake question
By stiltman in forum DVD RippingReplies: 1Last Post: 12th Mar 2009, 07:17