[FFmpeg-devel] [PATCH] AVFoundation: Add -pixel_format option
Carl Eugen Hoyos
cehoyos at ag.or.at
Tue May 20 23:57:22 CEST 2014
sfan5 <sfan5 <at> live.de> writes:
> > since AVFoundation provides transparent images for 32 bit
> > RGB it has to be mapped to RGB0 to work at all. (If a
> > user ever protests that his alpha channel disappears, we
> > will have to find a solution.)
>
> I've changed the mapping as suggested.
>
> (patch attached)
> @example
> -ffmpeg -f avfoundation -i "default" out.mpg
> +ffmpeg -f avfoundation -pixel_format bgra -i "default" out.mpg
I believe the example does not work anymore or am I wrong?
Thank you, Carl Eugen
More information about the ffmpeg-devel
mailing list