[FFmpeg-trac] #10962(undetermined:new): Unable to create transparent avif with libsvtav1

FFmpeg trac at avcodec.org
Sat Apr 13 08:56:56 EEST 2024


#10962: Unable to create transparent avif with libsvtav1
-------------------------------------+-------------------------------------
             Reporter:  Jozef        |                    Owner:  (none)
  Chutka                             |
                 Type:  defect       |                   Status:  new
             Priority:  normal       |                Component:
                                     |  undetermined
              Version:  6.1.1        |               Resolution:
             Keywords:               |               Blocked By:
             Blocking:               |  Reproduced by developer:  0
Analyzed by developer:  0            |
-------------------------------------+-------------------------------------
Comment (by Gyan):

 @pdr0 - AV1 itself does not support alpha - AVIF requires a 2nd stream
 containing one luma component only.

 To the OP, svtav1 does not support encoding `gray`, so use AOM for the
 alpha stream:

 `ffmpeg -i colorkey.webp -filter_complex
 "[0]split[v][v1];[v1]alphaextract[v1]" -map "[v]" -map "[v1]" -f avif
 -c:v:0 libsvtav1 -c:v:1 libaom-av1 -y out.avif`
-- 
Ticket URL: <https://trac.ffmpeg.org/ticket/10962#comment:2>
FFmpeg <https://ffmpeg.org>
FFmpeg issue tracker


More information about the FFmpeg-trac mailing list