Welcome to mirror list, hosted at ThFree Co, Russian Federation.

git.blender.org/blender.git - Unnamed repository; edit this file 'description' to name the repository.
summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorSergey Sharybin <sergey.vfx@gmail.com>2012-02-24 13:49:44 +0400
committerSergey Sharybin <sergey.vfx@gmail.com>2012-02-24 13:49:44 +0400
commitdd0f151ba95db213a7c97bc7f51285b57b0243fb (patch)
tree9c46804519a7788db235a052213a551e0367b9f0 /source/blender/blenkernel/BKE_writeffmpeg.h
parent1fbd91b8a1277f5616245ef8357f930681764adf (diff)
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.
Diffstat (limited to 'source/blender/blenkernel/BKE_writeffmpeg.h')
-rw-r--r--source/blender/blenkernel/BKE_writeffmpeg.h1
1 files changed, 1 insertions, 0 deletions
diff --git a/source/blender/blenkernel/BKE_writeffmpeg.h b/source/blender/blenkernel/BKE_writeffmpeg.h
index 299f8e185cf..c35105f7b8b 100644
--- a/source/blender/blenkernel/BKE_writeffmpeg.h
+++ b/source/blender/blenkernel/BKE_writeffmpeg.h
@@ -75,6 +75,7 @@ void filepath_ffmpeg(char* string, struct RenderData* rd);
extern void ffmpeg_set_preset(struct RenderData *rd, int preset);
extern void ffmpeg_verify_image_type(struct RenderData *rd, struct ImageFormatData *imf);
extern void ffmpeg_verify_codec_settings(struct RenderData *rd);
+extern int ffmpeg_alpha_channel_supported(struct RenderData *rd);
extern struct IDProperty *ffmpeg_property_add(struct RenderData *Rd, const char *type, int opt_index, int parent_index);
extern int ffmpeg_property_add_string(struct RenderData *rd, const char *type, const char *str);