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: Jul 2020
Posts: 76
|
Smaller files with SSIM tune
I was using staxrip to do some testing on 4k HDR files. Using x265, i was trying to work out what settings i should use, with the ssim tune, as i did for x264 in handbrake for 1080p blurays.
Its true for both x264 in handbrake, and x265 in staxrip, that the ssim tune produces produces smaller files than using the film or no tune for x264 and x265 respectively. I thought that using the psy stuff that ssim tune disables makes the encode more efficient? Shouldnt this produce smaller files? |
![]() |
![]() |
![]() |
#2 | Link |
Registered User
Join Date: May 2006
Posts: 4,041
|
I think you can't generalize. The '--tune xx' means specific encoder tweaks for optimizing certain criteria. '--tune ssim' is just one of these aiming at achieving the highest ssim metric. Better metrics do however not necessarily mean better visual experience.
'--tune xxx' and psy settings often increase the file size for a given CFR. So when disabled or overruled (e.g. by --tune ssim) the file size will become smaller. It also depends on the source. Edit: See the discussion here https://superuser.com/questions/5644...n-of-x264-tune Last edited by Sharc; 12th August 2020 at 08:48. |
![]() |
![]() |
![]() |
#3 | Link | |
Registered User
Join Date: Jul 2020
Posts: 76
|
Quote:
|
|
![]() |
![]() |
![]() |
#5 | Link |
Moderator
![]() Join Date: Jan 2006
Location: Portland, OR
Posts: 4,955
|
Note that --tune ssim is a tuning for a particular objective metric. IIRC, --tune psnr and ssim were added by Dark Shakiri years ago because x264 kept losing to encoders tuned for objective metrics in tests for objective metrics. It was sort of a middle finger at people who were hyperfocused on an objective metric instead of actually looking at the video to determine "quality" and to demonstrate that x264 could win any psnr or ssim based evaluation by providing a tuning for that. And also demonstrating that tuning for the standard objective metrics actually hurt subjective quality.
In general, not using --tune ssim is going to deliver better subjective quality at a given bitrate. So, the reducing in bitrate will generally reduce quality more than it reduces bitrate. The best way to compare this would be a 2-pass encode, so quality at a fixed ABR can be compared head to head. |
![]() |
![]() |
![]() |
#6 | Link | ||
Herr
Join Date: Apr 2009
Location: North Europe
Posts: 558
|
Quote:
Quote:
|
||
![]() |
![]() |
![]() |
#7 | Link | |
Moderator
![]() Join Date: Jan 2006
Location: Portland, OR
Posts: 4,955
|
Quote:
It's be easier to make a list of features that don't impact subjective quality! |
|
![]() |
![]() |
![]() |
Tags |
1080p, handbrake, hdr, ssim, staxrip |
Thread Tools | Search this Thread |
Display Modes | |
|
|