diff options
author | Damien Plisson <damien.plisson@yahoo.fr> | 2010-04-10 13:31:41 +0400 |
---|---|---|
committer | Damien Plisson <damien.plisson@yahoo.fr> | 2010-04-10 13:31:41 +0400 |
commit | c939331a6ccacc571c893646e209e99680a81aa5 (patch) | |
tree | b375e40e228b5419bd16250d3b6a9b4f395a9aa7 /source/blender/quicktime/quicktime_export.h | |
parent | c3ab6bc509b4a322e66b59fd9c12b9954f851b66 (diff) |
QTKit (OSX 64bit): Add audio export to Quicktime
Supports default OSX codecs : Linear PCM, Apple Lossless and AAC
Note that AAC codec doesn't support sample rates above 48kHz. If a python/rna guru knows how to easily enforce this limit, he is welcome!
Enjoy making Quicktime movies now with audio!
Diffstat (limited to 'source/blender/quicktime/quicktime_export.h')
-rw-r--r-- | source/blender/quicktime/quicktime_export.h | 21 |
1 files changed, 17 insertions, 4 deletions
diff --git a/source/blender/quicktime/quicktime_export.h b/source/blender/quicktime/quicktime_export.h index 71faeeb0ce0..1ca52b1bd10 100644 --- a/source/blender/quicktime/quicktime_export.h +++ b/source/blender/quicktime/quicktime_export.h @@ -34,6 +34,10 @@ #define __AIFF__ +#define QTAUDIO_FLAG_RESAMPLE_NOHQ 1 +#define QTAUDIO_FLAG_CODEC_ISCBR 2 + + /*Codec list*/ typedef struct QuicktimeCodecTypeDesc { int codecType; @@ -54,10 +58,19 @@ void filepath_qt(char *string, struct RenderData *rd); /*RNA helper functions */ void quicktime_verify_image_type(struct RenderData *rd); //used by RNA for defaults values init, if needed -int quicktime_get_num_codecs(); -QuicktimeCodecTypeDesc* quicktime_get_codecType_desc(int indexValue); -int quicktime_rnatmpvalue_from_codectype(int codecType); -int quicktime_codecType_from_rnatmpvalue(int rnatmpvalue); +/*Video codec type*/ +int quicktime_get_num_videocodecs(); +QuicktimeCodecTypeDesc* quicktime_get_videocodecType_desc(int indexValue); +int quicktime_rnatmpvalue_from_videocodectype(int codecType); +int quicktime_videocodecType_from_rnatmpvalue(int rnatmpvalue); + +#ifdef USE_QTKIT +/*Audio codec type*/ +int quicktime_get_num_audiocodecs(); +QuicktimeCodecTypeDesc* quicktime_get_audiocodecType_desc(int indexValue); +int quicktime_rnatmpvalue_from_audiocodectype(int codecType); +int quicktime_audiocodecType_from_rnatmpvalue(int rnatmpvalue); +#endif #ifndef USE_QTKIT void SCENE_OT_render_data_set_quicktime_codec(struct wmOperatorType *ot); //Operator to raise quicktime standard dialog to request codec settings |