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

x264 preset and tune options #263

Closed
ReenigneArcher opened this issue Nov 7, 2021 · 1 comment
Closed

x264 preset and tune options #263

ReenigneArcher opened this issue Nov 7, 2021 · 1 comment

Comments

@ReenigneArcher
Copy link

In the config example this is present:

##################################### Software #####################################
# See x264 --fullhelp for the different presets
# sw_preset  = superfast
# sw_tune    = zerolatency

The issue is the end user cannot run x264 --fullhelp

From some quick research this is a library provided by VideoLan for FFMPEG. Because neither the x264 or ffmpeg binary that are included with sunshine are exposed it's not possible to return a list of supported presets or tune options.

The user could add their own binary of x264; however this won't necessarily match what is shipped with Sunshine.

Please add an argument to return a list of available preset and tune options, or alternatively expose the ffmpeg/x264 binaries. Another option would be to list the available options in the config example or have a drop down in the web gui (I don't believe the preset names changes all that often, if ever).

Unless I am mistaken, these are the available options:

  • presets
    • ultrafast
    • superfast
    • veryfast
    • faster
    • fast
    • medium
    • slow
    • slower
    • veryslow
    • placebo
  • tune
    • film
    • animation
    • grain
    • stillimage
    • psnr
    • ssim
    • fastdecode
    • zerolatency
@TheElixZammuto
Copy link
Contributor

#256 adds the list inside the description of the presets inside the Web UI. I prefered to use the test field instead of the combo box simply because the value is parsed as a string and passed directly into x264 options inside ffmpeg

psyke83 pushed a commit to psyke83/sunshine that referenced this issue Nov 7, 2022
- updates issue template
- updates docker readme
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

No branches or pull requests

2 participants