mirror of
https://github.com/LizardByte/Sunshine.git
synced 2024-11-18 11:10:04 +00:00
Merge pull request #87 from psyke83/hevc_forced_idr
Force IDR frames for libx265 encoder
This commit is contained in:
commit
29674b8ed0
@ -315,6 +315,7 @@ static encoder_t software {
|
|||||||
// It also looks like gop_size isn't passed on to x265, so we have to set
|
// It also looks like gop_size isn't passed on to x265, so we have to set
|
||||||
// 'keyint=-1' in the parameters ourselves.
|
// 'keyint=-1' in the parameters ourselves.
|
||||||
{
|
{
|
||||||
|
{ "forced-idr"s, 1 },
|
||||||
{ "x265-params"s, "info=0:keyint=-1"s },
|
{ "x265-params"s, "info=0:keyint=-1"s },
|
||||||
{ "preset"s, &config::video.sw.preset },
|
{ "preset"s, &config::video.sw.preset },
|
||||||
{ "tune"s, &config::video.sw.tune } },
|
{ "tune"s, &config::video.sw.tune } },
|
||||||
|
Loading…
Reference in New Issue
Block a user