mirror of
https://github.com/jellyfin/jellyfin.git
synced 2025-12-23 01:05:19 +03:00
Merge pull request #2099 from cryptobank/master
Fix VAAPI encoding on 10-bit hevc. Update QSV encoding and scaling to...
This commit is contained in:
@@ -949,7 +949,17 @@ namespace MediaBrowser.Api.Playback.Hls
|
||||
|
||||
var hasGraphicalSubs = state.SubtitleStream != null && !state.SubtitleStream.IsTextSubtitleStream && state.SubtitleDeliveryMethod == SubtitleDeliveryMethod.Encode;
|
||||
|
||||
args += " " + EncodingHelper.GetVideoQualityParam(state, codec, encodingOptions, GetDefaultEncoderPreset()) + keyFrameArg;
|
||||
args += " " + EncodingHelper.GetVideoQualityParam(state, codec, encodingOptions, GetDefaultEncoderPreset());
|
||||
|
||||
// Unable to force key frames to h264_qsv transcode
|
||||
if (string.Equals(codec, "h264_qsv", StringComparison.OrdinalIgnoreCase))
|
||||
{
|
||||
Logger.LogInformation("Bug Workaround: Disabling force_key_frames for h264_qsv");
|
||||
}
|
||||
else
|
||||
{
|
||||
args += " " + keyFrameArg;
|
||||
}
|
||||
|
||||
//args += " -mixed-refs 0 -refs 3 -x264opts b_pyramid=0:weightb=0:weightp=0";
|
||||
|
||||
|
||||
Reference in New Issue
Block a user