[FFmpeg-trac] #5249(avcodec:open): VP9 RGB completely broken

FFmpeg trac at avcodec.org
Thu Feb 18 21:04:35 CET 2016


#5249: VP9 RGB completely broken
------------------------------------+-----------------------------------
             Reporter:  Cigaes      |                    Owner:
                 Type:  defect      |                   Status:  open
             Priority:  normal      |                Component:  avcodec
              Version:  git-master  |               Resolution:
             Keywords:  libvpx      |               Blocked By:
             Blocking:              |  Reproduced by developer:  0
Analyzed by developer:  0           |
------------------------------------+-----------------------------------
Changes (by cehoyos):

 * keywords:   => libvpx
 * status:  new => open


Comment:

 Please test this patch with `-vcodec gbrp -colorspace rgb`, my libvpx is
 too old:
 {{{
 diff --git a/libavcodec/libvpxenc.c b/libavcodec/libvpxenc.c
 index 8992497..91499fd 100644
 --- a/libavcodec/libvpxenc.c
 +++ b/libavcodec/libvpxenc.c
 @@ -295,6 +295,7 @@ static int set_pix_fmt(AVCodecContext *avctx,
 vpx_codec_caps_t codec_caps,
          *img_fmt = VPX_IMG_FMT_I440;
          return 0;
  #endif
 +    case AV_PIX_FMT_GBRP:
      case AV_PIX_FMT_YUV444P:
          enccfg->g_profile = 1;
          *img_fmt = VPX_IMG_FMT_I444;
 }}}

--
Ticket URL: <https://trac.ffmpeg.org/ticket/5249#comment:1>
FFmpeg <https://ffmpeg.org>
FFmpeg issue tracker


More information about the FFmpeg-trac mailing list