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 0
audio_channels

Audio channel count

  • MONO Mono, Set audio channels to mono.
  • STEREO Stereo, Set audio channels to stereo.
  • SURROUND4 4 Channels, Set audio channels to 4 channels.
  • SURROUND51 5.1 Surround, Set audio channels to 5.1 surround sound.
  • SURROUND71 7.1 Surround, Set audio channels to 7.1 surround sound.
Type:enum in [‘MONO’, ‘STEREO’, ‘SURROUND4’, ‘SURROUND51’, ‘SURROUND71’], default ‘MONO’
audio_codec

FFmpeg audio codec to use

Type:enum in [‘NONE’, ‘MP2’, ‘MP3’, ‘AC3’, ‘AAC’, ‘VORBIS’, ‘FLAC’, ‘PCM’], default ‘NONE’
audio_mixrate

Audio samplerate(samples/s)

Type:int in [8000, 192000], default 0
audio_volume

Audio volume

Type:float in [0, 1], default 0.0
buffersize

Rate control: buffer size (kb)

Type:int in [0, 2000], default 0
codec

FFmpeg codec to use

Type:enum in [‘NONE’, ‘MPEG1’, ‘MPEG2’, ‘MPEG4’, ‘HUFFYUV’, ‘DV’, ‘H264’, ‘THEORA’, ‘FLASH’, ‘FFV1’, ‘QTRLE’, ‘DNXHD’, ‘PNG’], default ‘NONE’
format

Output file format

Type:enum in [‘MPEG1’, ‘MPEG2’, ‘MPEG4’, ‘AVI’, ‘QUICKTIME’, ‘DV’, ‘H264’, ‘XVID’, ‘OGG’, ‘MKV’, ‘FLASH’], default ‘MPEG1’
gopsize

Distance between key frames

Type:int in [0, 100], default 0
maxrate

Rate control: max rate (kb/s)

Type:int in [-inf, inf], default 0
minrate

Rate control: min rate (kb/s)

Type:int in [-inf, inf], default 0
muxrate

Mux rate (bits/s(!))

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
video_bitrate

Video bitrate (kb/s)

Type:int in [-inf, inf], default 0

Inherited Properties

Inherited Functions

References