<div dir="ltr"><div># HG changeset patch</div><div># User Dinesh<<a href="mailto:dinesh@multicorewareinc.com" target="_blank">dinesh@multicorewareinc.com</a>></div><div># Date 1555413983 -19800</div><div># Tue Apr 16 16:56:23 2019 +0530</div><div># Node ID 061bdb51cc82a2cfe5221099db8a65a08e665973</div><div># Parent e16999096b480dd0ca3b41d341551db87cf3709b</div><div>fix - encodercolorformat assigning to junk value, failing to encode svt-hevc</div><div><br></div><div>Pushed patch to x265 Public repo.</div><div><br></div><div>Thanks & Regards,<br>Dinesh</div></div><br><div class="gmail_quote"><div dir="ltr" class="gmail_attr">On Wed, Apr 17, 2019 at 11:16 AM Dinesh Kumar Reddy <<a href="mailto:dinesh@multicorewareinc.com">dinesh@multicorewareinc.com</a>> wrote:<br></div><blockquote class="gmail_quote" style="margin:0px 0px 0px 0.8ex;border-left:1px solid rgb(204,204,204);padding-left:1ex"><div dir="ltr"><div dir="ltr"><div># HG changeset patch</div><div># User Dinesh<<a href="mailto:dinesh@multicorewareinc.com" target="_blank">dinesh@multicorewareinc.com</a>></div><div># Date 1555413983 -19800</div><div># Tue Apr 16 16:56:23 2019 +0530</div><div># Node ID 061bdb51cc82a2cfe5221099db8a65a08e665973</div><div># Parent e16999096b480dd0ca3b41d341551db87cf3709b</div><div>fix - encodercolorformat assigning to junk value, failing to encode svt-hevc</div><div><br></div><div>diff -r e16999096b48 -r 061bdb51cc82 source/common/param.cpp</div><div>--- a/source/common/param.cpp<span style="white-space:pre-wrap"> </span>Tue Apr 16 10:23:30 2019 +0530</div><div>+++ b/source/common/param.cpp<span style="white-space:pre-wrap"> </span>Tue Apr 16 16:56:23 2019 +0530</div><div>@@ -2426,6 +2426,7 @@</div><div> svtHevcParam->frameRateNumerator = 0;</div><div> svtHevcParam->frameRateDenominator = 0;</div><div> svtHevcParam->encoderBitDepth = 8;</div><div>+<span style="white-space:pre-wrap"> </span>svtHevcParam->encoderColorFormat = EB_YUV420;</div><div> svtHevcParam->compressedTenBitFormat = 0;</div><div> svtHevcParam->rateControlMode = 0;</div><div> svtHevcParam->sceneChangeDetection = 1;</div><div>diff -r e16999096b48 -r 061bdb51cc82 source/x265.cpp</div><div>--- a/source/x265.cpp<span style="white-space:pre-wrap"> </span>Tue Apr 16 10:23:30 2019 +0530</div><div>+++ b/source/x265.cpp<span style="white-space:pre-wrap"> </span>Tue Apr 16 16:56:23 2019 +0530</div><div>@@ -567,6 +567,7 @@</div><div> svtParam->frameRateNumerator = param->fpsNum;</div><div> svtParam->frameRateDenominator = param->fpsDenom;</div><div> svtParam->framesToBeEncoded = param->totalFrames;</div><div>+<span style="white-space:pre-wrap"> </span>svtParam->encoderColorFormat = (EB_COLOR_FORMAT)param->internalCsp;</div><div> }</div><div> #endif</div></div></div>
</blockquote></div>