mirror of
https://github.com/jellyfin/jellyfin.git
synced 2024-07-09 15:20:34 +02:00
update h264/qsv params
This commit is contained in:
parent
de807fa9de
commit
f0b072331f
|
@ -318,7 +318,7 @@ namespace MediaBrowser.Api.Playback
|
|||
{
|
||||
param = "-preset superfast";
|
||||
|
||||
param += " -crf 23";
|
||||
param += " -crf 23 -rc-lookahead 0 -muxdelay 0 -refs 1";
|
||||
}
|
||||
|
||||
else if (string.Equals(videoCodec, "libx265", StringComparison.OrdinalIgnoreCase))
|
||||
|
@ -566,7 +566,10 @@ namespace MediaBrowser.Api.Playback
|
|||
|
||||
if (string.Equals(outputVideoCodec, "h264_qsv", StringComparison.OrdinalIgnoreCase))
|
||||
{
|
||||
filters[filters.Count - 1] += ":flags=fast_bilinear";
|
||||
if (filters.Count > 0)
|
||||
{
|
||||
filters[filters.Count - 1] += ":flags=fast_bilinear";
|
||||
}
|
||||
}
|
||||
|
||||
var output = string.Empty;
|
||||
|
|
Loading…
Reference in a new issue