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

use content-type hint for better encoding selection and tuning #1952

Closed
totaam opened this issue Sep 9, 2018 · 5 comments
Closed

use content-type hint for better encoding selection and tuning #1952

totaam opened this issue Sep 9, 2018 · 5 comments
Labels
encoding enhancement New feature or request

Comments

@totaam
Copy link
Collaborator

totaam commented Sep 9, 2018

Issue migrated from trac ticket # 1952

component: encodings | priority: major | resolution: fixed

2018-09-09 06:25:25: antoine created the issue


See #1950: we should try to use the content-type hint more when selecting an encoding.

ie:

  • lower lossless threshold for "text", increase it for "video".
  • prefer "webp" when we have a content type hint since this is only encoder to actually take this hint into account during compression
    etc
@totaam
Copy link
Collaborator Author

totaam commented Sep 9, 2018

2018-09-09 17:28:43: antoine commented


See also #1951#comment:1, as of r20366 "video" content-type will trigger more video-scaling.

@totaam
Copy link
Collaborator Author

totaam commented Sep 10, 2018

2018-09-10 12:40:02: antoine commented


Updates:

  • r20375: better tuning for 'text' and 'video' content-type
  • r20374: allows us to set the default content-type: XPRA_DEFAULT_CONTENT_TYPE=text xpra start ..
  • r20376 + r20383: avoid using rgb for large areas (512 KPixels or more) unless speed is at 100%
  • r20392: use 'grain' x264 tune setting for text content

@totaam totaam closed this as completed Sep 11, 2018
@totaam
Copy link
Collaborator Author

totaam commented Nov 2, 2018

2018-11-02 12:11:59: antoine commented


See also #2022, #2023

@totaam
Copy link
Collaborator Author

totaam commented Nov 2, 2018

2018-11-02 12:39:12: antoine commented


r20911: try harder to honour video content-type

@totaam
Copy link
Collaborator Author

totaam commented Apr 7, 2020

2020-04-07 08:35:38: antoine commented


Many more updates in r25902.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
encoding enhancement New feature or request
Projects
None yet
Development

No branches or pull requests

1 participant