[FFmpeg-cvslog] libx265: Remove experimental flag when encoding 4:2:2 and 4:4:4

Stephen Hutchinson git at videolan.org
Sat Jan 30 12:30:00 CET 2016


ffmpeg | branch: master | Stephen Hutchinson <qyot27 at gmail.com> | Tue Jan 26 19:10:01 2016 -0500| [0dd201d947e213887960fe8835586c0b0d73a40e] | committer: Michael Niedermayer

libx265: Remove experimental flag when encoding 4:2:2 and 4:4:4

4:2:2 and 4:4:4 support in the HEVC standard was approved in
October 2014 as part of HEVC Version 2 and published in
January 2015:

http://www.itu.int/ITU-T/recommendations/rec.aspx?rec=12296
http://www.itu.int/rec/T-REC-H.265-201410-S
https://hevc.hhi.fraunhofer.de/rext

Reviewed-by: Derek Buitenhuis <derek.buitenhuis at gmail.com>
Signed-off-by: Michael Niedermayer <michael at niedermayer.cc>

> http://git.videolan.org/gitweb.cgi/ffmpeg.git/?a=commit;h=0dd201d947e213887960fe8835586c0b0d73a40e
---

 libavcodec/libx265.c |    8 --------
 1 file changed, 8 deletions(-)

diff --git a/libavcodec/libx265.c b/libavcodec/libx265.c
index a1770fa..4c36f4c 100644
--- a/libavcodec/libx265.c
+++ b/libavcodec/libx265.c
@@ -82,14 +82,6 @@ static av_cold int libx265_encode_init(AVCodecContext *avctx)
     if (!ctx->api)
         ctx->api = x265_api_get(0);
 
-    if (avctx->strict_std_compliance > FF_COMPLIANCE_EXPERIMENTAL &&
-        !av_pix_fmt_desc_get(avctx->pix_fmt)->log2_chroma_w) {
-        av_log(avctx, AV_LOG_ERROR,
-               "4:2:2 and 4:4:4 support is not fully defined for HEVC yet. "
-               "Set -strict experimental to encode anyway.\n");
-        return AVERROR(ENOSYS);
-    }
-
     ctx->params = ctx->api->param_alloc();
     if (!ctx->params) {
         av_log(avctx, AV_LOG_ERROR, "Could not allocate x265 param structure.\n");



More information about the ffmpeg-cvslog mailing list