Force IDR frames for libx265 encoder
Parameter is needed to avoid infinite black screen with "Waiting for IDR frame" in moonlight-qt (3.1.3) on Windows.
This commit is contained in:
parent
66a78f0d40
commit
c6a0eeef3f
1 changed files with 1 additions and 0 deletions
|
|
@ -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…
Add table
Add a link
Reference in a new issue