Opened 2 months ago
Last modified 2 months ago
#11165 new defect
Default "vp9" decoder didn't properly handle alpha (transparency)
Reported by: | Mista_D | Owned by: | |
---|---|---|---|
Priority: | normal | Component: | avcodec |
Version: | git-master | Keywords: | vp9 alpha |
Cc: | MasterQuestionable | Blocked By: | |
Blocking: | Reproduced by developer: | no | |
Analyzed by developer: | no |
Description (last modified by )
FFmpeg doesn't seem to recognize VP9 encoded alpha channel file (yuva420p). It decodes it by default with VP8 and therefore fails to see alpha channel in WEBM.
This use case works well (decoder is forced to vp9), overlay is good, alpha is crystal clear:
ffmpeg -i udp -c:v libvpx-vp9 -i ov3.webm -filter_complex [0:v][1:v]overlay -t 5 rtmp
Same file, same stream, but overlay doesn't work properly. Screen turns black with graphics on top:
ffmpeg -i udp -filter_complex "movie=ov3.webm:s=dv[ov];[0:v][ov]overlay,zmq" -t 5 rtmp
webm file was originally generated from ProRes MOV, which works well in both scenarios, but is too huge to be properly used for a long file. movie filter is mandatory for ZMQ to work.
Thank you all for your work and awesome talents that you dedicate for this magnificent video engineering apparatus!
Attachments (1)
Change History (4)
by , 2 months ago
comment:1 by , 2 months ago
Description: | modified (diff) |
---|
comment:2 by , 2 months ago
comment:3 by , 2 months ago
Cc: | added |
---|---|
Component: | undetermined → avcodec |
Keywords: | vp9 added; VP9 yuva420p overlay removed |
Summary: | VP9 decoding problem → Default "vp9" decoder didn't properly handle alpha (transparency) |
works:
fails: