Re: [FFmpeg-devel] [PATCH] avformat/movenc: Support alpha channel for AVIF

2022-06-27 Thread James Zern
On Mon, Jun 27, 2022 at 9:48 AM James Almer wrote: > > On 6/27/2022 1:43 PM, Vignesh Venkatasubramanian wrote: > > On Tue, Jun 21, 2022 at 10:12 AM Vignesh Venkatasubramanian > > wrote: > >> > >> On Mon, Jun 13, 2022 at 10:17 AM James Zern > >> wrote: > >>> > >>> On Wed, Jun 1, 2022 at 11:06 AM

Re: [FFmpeg-devel] [PATCH] avformat/movenc: Support alpha channel for AVIF

2022-06-27 Thread Vignesh Venkatasubramanian
On Mon, Jun 27, 2022 at 9:48 AM James Almer wrote: > > On 6/27/2022 1:43 PM, Vignesh Venkatasubramanian wrote: > > On Tue, Jun 21, 2022 at 10:12 AM Vignesh Venkatasubramanian > > wrote: > >> > >> On Mon, Jun 13, 2022 at 10:17 AM James Zern > >> wrote: > >>> > >>> On Wed, Jun 1, 2022 at 11:06 AM

Re: [FFmpeg-devel] [PATCH] avformat/movenc: Support alpha channel for AVIF

2022-06-27 Thread James Almer
On 6/27/2022 1:43 PM, Vignesh Venkatasubramanian wrote: On Tue, Jun 21, 2022 at 10:12 AM Vignesh Venkatasubramanian wrote: On Mon, Jun 13, 2022 at 10:17 AM James Zern wrote: On Wed, Jun 1, 2022 at 11:06 AM Vignesh Venkatasubramanian wrote: AVIF specification allows for alpha channel as a

Re: [FFmpeg-devel] [PATCH] avformat/movenc: Support alpha channel for AVIF

2022-06-27 Thread Vignesh Venkatasubramanian
On Tue, Jun 21, 2022 at 10:12 AM Vignesh Venkatasubramanian wrote: > > On Mon, Jun 13, 2022 at 10:17 AM James Zern > wrote: > > > > On Wed, Jun 1, 2022 at 11:06 AM Vignesh Venkatasubramanian > > wrote: > > > > > > AVIF specification allows for alpha channel as an auxiliary item (in > > > case of

Re: [FFmpeg-devel] [PATCH] avformat/movenc: Support alpha channel for AVIF

2022-06-21 Thread Vignesh Venkatasubramanian
On Mon, Jun 13, 2022 at 10:17 AM James Zern wrote: > > On Wed, Jun 1, 2022 at 11:06 AM Vignesh Venkatasubramanian > wrote: > > > > AVIF specification allows for alpha channel as an auxiliary item (in > > case of still images) or as an auxiliary track (in case of animated > > images). Add support

Re: [FFmpeg-devel] [PATCH] avformat/movenc: Support alpha channel for AVIF

2022-06-13 Thread James Zern
On Wed, Jun 1, 2022 at 11:06 AM Vignesh Venkatasubramanian wrote: > > AVIF specification allows for alpha channel as an auxiliary item (in > case of still images) or as an auxiliary track (in case of animated > images). Add support for both of these. The AVIF muxer will take > exactly two streams

Re: [FFmpeg-devel] [PATCH] avformat/movenc: Support alpha channel for AVIF

2022-06-13 Thread Vignesh Venkatasubramanian
On Mon, Jun 6, 2022 at 9:29 AM Vignesh Venkatasubramanian wrote: > > On Wed, Jun 1, 2022 at 12:47 PM Vignesh Venkatasubramanian > wrote: > > > > On Wed, Jun 1, 2022 at 11:52 AM xyesbee wrote: > > > > > > Why can it not accept it as one but two distinct streams? Why the extra > > > hurdle of alp

Re: [FFmpeg-devel] [PATCH] avformat/movenc: Support alpha channel for AVIF

2022-06-06 Thread Vignesh Venkatasubramanian
On Wed, Jun 1, 2022 at 12:47 PM Vignesh Venkatasubramanian wrote: > > On Wed, Jun 1, 2022 at 11:52 AM xyesbee wrote: > > > > Why can it not accept it as one but two distinct streams? Why the extra > > hurdle of alphaextract? YUVA pixel format exists though. > > Yes, while the YUVA pixel formats

Re: [FFmpeg-devel] [PATCH] avformat/movenc: Support alpha channel for AVIF

2022-06-01 Thread Vignesh Venkatasubramanian
On Wed, Jun 1, 2022 at 11:52 AM xyesbee wrote: > > Why can it not accept it as one but two distinct streams? Why the extra > hurdle of alphaextract? YUVA pixel format exists though. Yes, while the YUVA pixel formats exist, AVIF specification requires alpha channel to be a separate track (i.e.) w

Re: [FFmpeg-devel] [PATCH] avformat/movenc: Support alpha channel for AVIF

2022-06-01 Thread Vignesh Venkatasubramanian
On Wed, Jun 1, 2022 at 10:52 AM James Zern wrote: > > On Wed, May 18, 2022 at 2:56 PM Vignesh Venkatasubramanian > wrote: > > > > AVIF specification allows for alpha channel as an auxillary item (in > > auxiliary > Done. > > case of still images) or as an auxillary track (in case of animated >

Re: [FFmpeg-devel] [PATCH] avformat/movenc: Support alpha channel for AVIF

2022-06-01 Thread James Zern
On Wed, May 18, 2022 at 2:56 PM Vignesh Venkatasubramanian wrote: > > AVIF specification allows for alpha channel as an auxillary item (in auxiliary > case of still images) or as an auxillary track (in case of animated > images). Add support for both of these. The AVIF muxer will take > exactly

Re: [FFmpeg-devel] [PATCH] avformat/movenc: Support alpha channel for AVIF

2022-05-31 Thread Vignesh Venkatasubramanian
On Thu, May 19, 2022 at 9:08 AM Vignesh Venkatasubramanian wrote: > > On Wed, May 18, 2022 at 7:36 PM Bang He wrote: > > > > error happened: > > > > ./ffmpeg -i alpha.png -filter_complex [0:v]alphaextract[a] -map 0 -map [a] > > -still-picture 1 avif_with_alpha.avif > > ffmpeg version N-106936-gff

Re: [FFmpeg-devel] [PATCH] avformat/movenc: Support alpha channel for AVIF

2022-05-19 Thread Vignesh Venkatasubramanian
On Wed, May 18, 2022 at 7:36 PM Bang He wrote: > > error happened: > > ./ffmpeg -i alpha.png -filter_complex [0:v]alphaextract[a] -map 0 -map [a] > -still-picture 1 avif_with_alpha.avif > ffmpeg version N-106936-gff5ea89da2 Copyright (c) 2000-2022 the FFmpeg > developers > built with gcc 11 (Ubu

Re: [FFmpeg-devel] [PATCH] avformat/movenc: Support alpha channel for AVIF

2022-05-18 Thread Bang He
error happened: ./ffmpeg -i alpha.png -filter_complex [0:v]alphaextract[a] -map 0 -map [a] -still-picture 1 avif_with_alpha.avif ffmpeg version N-106936-gff5ea89da2 Copyright (c) 2000-2022 the FFmpeg developers built with gcc 11 (Ubuntu 11.2.0-19ubuntu1) configuration: --disable-ffplay --disab

Re: [FFmpeg-devel] [PATCH] avformat/movenc: Support alpha channel for AVIF

2022-05-18 Thread Bang He
some error happened: On Thu, May 19, 2022 at 5:56 AM Vignesh Venkatasubramanian < vigneshv-at-google@ffmpeg.org> wrote: > AVIF specification allows for alpha channel as an auxillary item (in > case of still images) or as an auxillary track (in case of animated > images). Add support for both