mirror of
https://github.com/jellyfin/jellyfin.git
synced 2026-07-16 05:43:54 +03:00
[PR #11675] Fix quality parameter for vaapi_mjpeg #12969
Reference in New Issue
Block a user
Delete Branch "%!s()"
Deleting a branch is permanent. Although the deleted branch may continue to exist for a short time before it actually gets removed, it CANNOT be undone in most cases. Continue?
Original Pull Request: https://github.com/jellyfin/jellyfin/pull/11675
State: closed
Merged: Yes
Hardware encoders have different expectations about quality input. VAAPI's mjpeg encoder excepts JPEG quality divided by QP2LAMBDA as input.
Changes
Maps the ffmpeg qscale to the QP2LAMBDA divided mjpeg quality value that vaapi_mjpeg expects.
Issues
See issue comment: https://github.com/jellyfin/jellyfin/issues/11556#issuecomment-2113327889