Closed quamt closed 1 year ago
There is no luma
option supported in QSVEnc.
Please let me know the details of the algorithms and the usefullness of luma option discussed here, so I can figure out if it could be implemented or not.
The luma values in FFmpeg's unsharp filter specifically target the brightness information in the video. When it comes to parameters, the unsharp filter in FFmpeg accepts two sets of parameters: one for the luma (Y) and one for chroma (C).
It should have a lesser impact on producing artefacts than chroma usage in unsharp.
EDIT:
Found the following information:
https://ffmpeg.org/ffmpeg-filters.html#unsharp-1
Although the filter name is the same, implementation in ffmpeg is different compared to the one in qsvencc, for example qsvencc does not have matrix stuff but has radius, weight and threshold. Therefore, the parameters cannot be copied in to qsvencc.
What kind of problem do you have now for the filter, and why do you need separate settings for luma and chroma?
Multiplying the original colour by a sharpening value will make it sharper but can cause some colour fringe artefacts.
Luma sharpening splits the brightness part (the luma) from the colour part (the chroma) and then only applies it to the Luma before recombining them again.
This gets rid of any colour artefacts. Luma mode is of higher quality.
I'm sorry but I don't seem to be able to add support for this.
@rigaya
What is the option here that mentions Luma Key?
https://github.com/intel/media-driver/#video-processing-features
Hello @rigaya,
I want to check for the
--vpp-unsharp
option. I see the following option in the options list.Is it possible to implement Luma for unsharp, or is it there, and I do not see it?