[x265] [PATCH x265] encodercolorformat cli option configuring to svt-hevc cli
Dinesh Kumar Reddy
dinesh at multicorewareinc.com
Wed Apr 17 11:34:42 CEST 2019
# HG changeset patch
# User Dinesh<dinesh at multicorewareinc.com>
# Date 1555413983 -19800
# Tue Apr 16 16:56:23 2019 +0530
# Node ID 061bdb51cc82a2cfe5221099db8a65a08e665973
# Parent e16999096b480dd0ca3b41d341551db87cf3709b
fix - encodercolorformat assigning to junk value, failing to encode svt-hevc
Pushed patch to x265 Public repo.
Thanks & Regards,
Dinesh
On Wed, Apr 17, 2019 at 11:16 AM Dinesh Kumar Reddy <
dinesh at multicorewareinc.com> wrote:
> # HG changeset patch
> # User Dinesh<dinesh at multicorewareinc.com>
> # Date 1555413983 -19800
> # Tue Apr 16 16:56:23 2019 +0530
> # Node ID 061bdb51cc82a2cfe5221099db8a65a08e665973
> # Parent e16999096b480dd0ca3b41d341551db87cf3709b
> fix - encodercolorformat assigning to junk value, failing to encode
> svt-hevc
>
> diff -r e16999096b48 -r 061bdb51cc82 source/common/param.cpp
> --- a/source/common/param.cpp Tue Apr 16 10:23:30 2019 +0530
> +++ b/source/common/param.cpp Tue Apr 16 16:56:23 2019 +0530
> @@ -2426,6 +2426,7 @@
> svtHevcParam->frameRateNumerator = 0;
> svtHevcParam->frameRateDenominator = 0;
> svtHevcParam->encoderBitDepth = 8;
> + svtHevcParam->encoderColorFormat = EB_YUV420;
> svtHevcParam->compressedTenBitFormat = 0;
> svtHevcParam->rateControlMode = 0;
> svtHevcParam->sceneChangeDetection = 1;
> diff -r e16999096b48 -r 061bdb51cc82 source/x265.cpp
> --- a/source/x265.cpp Tue Apr 16 10:23:30 2019 +0530
> +++ b/source/x265.cpp Tue Apr 16 16:56:23 2019 +0530
> @@ -567,6 +567,7 @@
> svtParam->frameRateNumerator = param->fpsNum;
> svtParam->frameRateDenominator = param->fpsDenom;
> svtParam->framesToBeEncoded = param->totalFrames;
> + svtParam->encoderColorFormat = (EB_COLOR_FORMAT)param->internalCsp;
> }
> #endif
>
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://mailman.videolan.org/pipermail/x265-devel/attachments/20190417/c892810c/attachment.html>
More information about the x265-devel
mailing list