FFmpegSettings(bpy_struct)¶
base class — bpy_struct
- class bpy.types.FFmpegSettings(bpy_struct)¶
FFmpeg related settings for the scene
- audio_bitrate¶
Audio bitrate (kb/s)
- Type
int in [32, 384], default 192
- audio_channels¶
Audio channel count
MONOMono, Set audio channels to mono.STEREOStereo, Set audio channels to stereo.SURROUND44 Channels, Set audio channels to 4 channels.SURROUND515.1 Surround, Set audio channels to 5.1 surround sound.SURROUND717.1 Surround, Set audio channels to 7.1 surround sound.
- Type
enum in [‘MONO’, ‘STEREO’, ‘SURROUND4’, ‘SURROUND51’, ‘SURROUND71’], default ‘STEREO’
- audio_codec¶
FFmpeg audio codec to use
NONENo Audio, Disables audio output, for video-only renders.AACAAC.AC3AC3.FLACFLAC.MP2MP2.MP3MP3.OPUSOpus.PCMPCM.VORBISVorbis.
- Type
enum in [‘NONE’, ‘AAC’, ‘AC3’, ‘FLAC’, ‘MP2’, ‘MP3’, ‘OPUS’, ‘PCM’, ‘VORBIS’], default ‘NONE’
- audio_mixrate¶
Audio samplerate(samples/s)
- Type
int in [8000, 192000], default 48000
- audio_volume¶
Audio volume
- Type
float in [0, 1], default 1.0
- buffersize¶
Rate control: buffer size (kb)
- Type
int in [0, 2000], default 0
- codec¶
FFmpeg codec to use for video output
NONENo Video, Disables video output, for audio-only renders.DNXHDDNxHD.DVDV.FFV1FFmpeg video codec #1.FLASHFlash Video.H264H.264.HUFFYUVHuffYUV.MPEG1MPEG-1.MPEG2MPEG-2.MPEG4MPEG-4 (divx).PNGPNG.QTRLEQT rle / QT Animation.THEORATheora.WEBMWEBM / VP9.
- Type
enum in [‘NONE’, ‘DNXHD’, ‘DV’, ‘FFV1’, ‘FLASH’, ‘H264’, ‘HUFFYUV’, ‘MPEG1’, ‘MPEG2’, ‘MPEG4’, ‘PNG’, ‘QTRLE’, ‘THEORA’, ‘WEBM’], default ‘H264’
- constant_rate_factor¶
Constant Rate Factor (CRF); tradeoff between video quality and file size
NONEConstant Bitrate, Configure constant bit rate, rather than constant output quality.LOSSLESSLossless.PERC_LOSSLESSPerceptually Lossless.HIGHHigh Quality.MEDIUMMedium Quality.LOWLow Quality.VERYLOWVery Low Quality.LOWESTLowest Quality.
- Type
enum in [‘NONE’, ‘LOSSLESS’, ‘PERC_LOSSLESS’, ‘HIGH’, ‘MEDIUM’, ‘LOW’, ‘VERYLOW’, ‘LOWEST’], default ‘MEDIUM’
- ffmpeg_preset¶
Tradeoff between encoding speed and compression ratio
BESTSlowest, Recommended if you have lots of time and want the best compression efficiency.GOODGood, The default and recommended for most applications.REALTIMERealtime, Recommended for fast encoding.
- Type
enum in [‘BEST’, ‘GOOD’, ‘REALTIME’], default ‘GOOD’
- format¶
Output file container
- Type
enum in [‘MPEG1’, ‘MPEG2’, ‘MPEG4’, ‘AVI’, ‘QUICKTIME’, ‘DV’, ‘OGG’, ‘MKV’, ‘FLASH’, ‘WEBM’], default ‘MKV’
- gopsize¶
Distance between key frames, also known as GOP size; influences file size and seekability
- Type
int in [0, 500], default 25
- max_b_frames¶
Maximum number of B-frames between non-B-frames; influences file size and seekability
- Type
int in [0, 16], default 0
- maxrate¶
Rate control: max rate (kbit/s)
- Type
int in [-inf, inf], default 0
- minrate¶
Rate control: min rate (kbit/s)
- Type
int in [-inf, inf], default 0
- muxrate¶
Mux rate (bits/second)
- Type
int in [0, inf], default 0
- packetsize¶
Mux packet size (byte)
- Type
int in [0, 16384], default 0
- use_autosplit¶
Autosplit output at 2GB boundary
- Type
boolean, default False
- use_lossless_output¶
Use lossless output for video streams
- Type
boolean, default False
- use_max_b_frames¶
Set a maximum number of B-frames
- Type
boolean, default False
- video_bitrate¶
Video bitrate (kbit/s)
- Type
int in [-inf, inf], default 0
- classmethod bl_rna_get_subclass(id, default=None)¶
- Parameters
id (string) – The RNA type identifier.
- Returns
The RNA type or default when not found.
- Return type
bpy.types.Structsubclass
- classmethod bl_rna_get_subclass_py(id, default=None)¶
- Parameters
id (string) – The RNA type identifier.
- Returns
The class or default when not found.
- Return type
type
Inherited Properties
Inherited Functions
References