Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Add some information on x265 settings #15

Open
wants to merge 1 commit into
base: main
Choose a base branch
from

Conversation

jcj83429
Copy link

@jcj83429 jcj83429 commented Mar 28, 2024

I did a bunch of test encodes and found some good x265 settings that can beat x264 consistently even for film content at high-ish bitrates and grainy content. Some of the settings I found were surprising (like --rdoq-level 0) as they involve disabling features enabled by higher presets. I added detailed explanations for each flag.

@jcj83429 jcj83429 force-pushed the main branch 3 times, most recently from 9e933b2 to c38e0fa Compare March 29, 2024 03:48
@jcj83429 jcj83429 marked this pull request as ready for review March 29, 2024 03:51
@Simulping
Copy link
Collaborator

Looks good, unfortunately since I don't have a lot of experience with x265, I can't comment on any of the suggestions. Though one thing I do know is: Please use lossless WebP for the comparisons.

cwebp -mt -lossless -z 9 -alpha_filter best -metadata icc [input] -o [output]

With detailed explanations and some image comparisons.
@jcj83429
Copy link
Author

jcj83429 commented Apr 1, 2024

Incorporated community feedback

  • No longer recommend --rdoq-level 0 as a general purpose option. At high bitrates it's worse than the default. Instead, moved it to a separate section of "interesting" settings.
  • Removed --deblock -3:-3. Since the default RDOQ settings produce more sharpness and roughness than the source, a little more deblock doesn't hurt. For --rdoq-level 0 encodes at lower bitrates, deblock helps reduce twitchiness.

@gianni-rosato gianni-rosato requested a review from Simulping April 8, 2024 06:11
@gianni-rosato
Copy link
Member

LGTM, but I'm not very well versed on x265 knowledge. @Simulping IDK if you have already, but if you could get Lyra involved that'd be great

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

3 participants