# HG changeset patch # User Dinesh<[email protected]> # 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 < [email protected]> wrote: > # HG changeset patch > # User Dinesh<[email protected]> > # 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 >
_______________________________________________ x265-devel mailing list [email protected] https://mailman.videolan.org/listinfo/x265-devel
