[FFmpeg-trac] #8929(avcodec:open): ffmpeg can encode rgb av1 webm files but not decode them

FFmpeg trac at avcodec.org
Thu Jun 3 22:53:17 EEST 2021


#8929: ffmpeg can encode rgb av1 webm files but not decode them
---------------------------------------+-----------------------------------
             Reporter:  av1masterrace  |                    Owner:  (none)
                 Type:  defect         |                   Status:  open
             Priority:  normal         |                Component:  avcodec
              Version:  git-master     |               Resolution:
             Keywords:  libaom         |               Blocked By:
             Blocking:                 |  Reproduced by developer:  1
Analyzed by developer:  0              |
---------------------------------------+-----------------------------------
Comment (by Balling):

 Replying to [comment:9 petr.diblik]:
 > Replying to [comment:4 Balling]:
 > > https://patchwork.ffmpeg.org/project/ffmpeg/patch/…
 >
 > The patch seems OK. What has been preventing it from merging for 8
 months?

 That is because Carl does not know the difference between
 AVCOL_TRC_IEC61966_2_1 transfer and primaries, which are indeed
 AVCOL_PRI_BT709 for sRGB.

 The patch is also named wrong, what that patch does is that it allows sRGB
 (== AVCOL_TRC_IEC61966_2_1) not RGB to be decoded.

 His patch should have tested for the only thing that says it is is RGB,
 not YCbCr: AVCOL_SPC_RGB.

 YCbCr can also have AVCOL_TRC_IEC61966_2_1, that is WHAT jpeg actually IS.
-- 
Ticket URL: <https://trac.ffmpeg.org/ticket/8929#comment:10>
FFmpeg <https://ffmpeg.org>
FFmpeg issue tracker


More information about the FFmpeg-trac mailing list