Changes in FFV1 codec settings
authorSergey Sharybin <sergey.vfx@gmail.com>
Fri, 24 Feb 2012 09:49:44 +0000 (09:49 +0000)
committerSergey Sharybin <sergey.vfx@gmail.com>
Fri, 24 Feb 2012 09:49:44 +0000 (09:49 +0000)
commitdd0f151ba95db213a7c97bc7f51285b57b0243fb
tree9c46804519a7788db235a052213a551e0367b9f0
parent1fbd91b8a1277f5616245ef8357f930681764adf
Changes in FFV1 codec settings

Since FFmpeg 0.10 release FFV1 codec supports alpha channel which is getting
enabled when using PIX_FMT_RGB32 pixel format. This leads to incompatibility of
videos rendered in Blender with almost all external players (especially in OSX).

Seems that PIX_FMT_BGR0 is recommended to be used to make videos compatible with
older players which doesn't support alpha channel in FFV1.

Also added an option to switch to RGBA rendering if FFV1 codec is used and if RGBA
rendering is used FFV1 will be using PIX_FMT_RGB32 format which supports alpha channel.
source/blender/blenkernel/BKE_writeffmpeg.h
source/blender/blenkernel/intern/writeffmpeg.c
source/blender/makesrna/intern/rna_scene.c