summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
-rw-r--r--libhb/encx264.c6
1 files changed, 6 insertions, 0 deletions
diff --git a/libhb/encx264.c b/libhb/encx264.c
index fe9a11f82..270692c8a 100644
--- a/libhb/encx264.c
+++ b/libhb/encx264.c
@@ -88,6 +88,12 @@ int encx264Init( hb_work_object_t * w, hb_job_t * job )
/* Enable metrics */
param.analyse.b_psnr = 1;
param.analyse.b_ssim = 1;
+
+ /* QuickTime has trouble with very low QPs (resulting in visual artifacts).
+ * Known to affect QuickTime 7, QuickTime X and iTunes.
+ * Testing shows that a qpmin of 3 works.
+ */
+ param.rc.i_qp_min = 3;
param.i_threads = ( hb_get_cpu_count() * 3 / 2 );
param.i_width = job->width;