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. |
![]() |
#1 | Link |
Registered User
Join Date: May 2016
Posts: 2
|
h264 -> h265 re-encoding suggestion
Hello
I have a big library of TV Shows, and I want to reencode to h265. After make it some test, use this settings: Code:
ffmpeg \ -i "$INFILE" \ -c:v libx265 \ -preset veryfast \ -x265-params \ crf=22:\ qcomp=0.7:\ ctu=32:\ max-tu-size=16:\ aq-mode=1:\ aq-strength=1.0:\ psy-rd=0.7:\ psy-rdoq=5.0:\ rdoq-level=1:\ merange=50:\ sao=0:\ rect=0:\ amp=0:\ deblock=-2\\:-2 \ -c:a libfdk_aac \ -cutoff 18000 \ -profile:a aac_he \ -b:a 128k \ -y "$NEWFILE" This settings is used toy re-encode 1080p source, but I read the optimal settings for 1080p and 720p is different. So, my questions is: - this setting are good, or need some change? - what parameter change to use that if the source is 720p resolution? Many thanks any answer and sorry my scary english.. |
![]() |
![]() |
![]() |
#3 | Link |
Registered User
Join Date: May 2016
Posts: 2
|
It's true, but I don't have endless HDD space, and the file size different is very impressive. Make some test and if the old file is 3.2 Gb the new file is 600-800Mb, with almost same quality. The "almost" meaning: when grabbing sample pictures I notice some artifact, but when I seeing on my TV no different.
|
![]() |
![]() |
![]() |
#4 | Link | |
Moderator
![]() Join Date: Jan 2006
Location: Portland, OR
Posts: 4,434
|
Quote:
Otherwise, these seem pretty good for 480p-1080p to me. I think it's probably okay to use ctu=64 and qgsize=32 at 1080p now, although sticking with your current values for 720p is probably good. |
|
![]() |
![]() |
![]() |
Tags |
ffmpeg, h265 |
Thread Tools | Search this Thread |
Display Modes | |
|
|