mirror of
https://github.com/jellyfin/jellyfin.git
synced 2024-09-06 19:37:55 +02:00
update qsv encoding
This commit is contained in:
parent
b44da13a45
commit
fb86c4f0a3
1 changed files with 5 additions and 5 deletions
|
@ -291,10 +291,10 @@ namespace MediaBrowser.Api.Playback
|
|||
{
|
||||
get
|
||||
{
|
||||
//if (string.Equals(ApiEntryPoint.Instance.GetEncodingOptions().HardwareVideoDecoder, "qsv", StringComparison.OrdinalIgnoreCase))
|
||||
//{
|
||||
// return "h264_qsv";
|
||||
//}
|
||||
if (string.Equals(ApiEntryPoint.Instance.GetEncodingOptions().HardwareVideoDecoder, "qsv", StringComparison.OrdinalIgnoreCase))
|
||||
{
|
||||
return "h264_qsv";
|
||||
}
|
||||
|
||||
return "libx264";
|
||||
}
|
||||
|
@ -331,7 +331,7 @@ namespace MediaBrowser.Api.Playback
|
|||
// h264 (h264_qsv)
|
||||
else if (string.Equals(videoCodec, "h264_qsv", StringComparison.OrdinalIgnoreCase))
|
||||
{
|
||||
param = "-preset 7";
|
||||
param = "-preset 7 -look_ahead 0";
|
||||
|
||||
}
|
||||
|
||||
|
|
Loading…
Reference in a new issue