# 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

`bpy_struct.id_data` |

Inherited Functions

`bpy_struct.as_pointer` `bpy_struct.driver_add` `bpy_struct.driver_remove` `bpy_struct.get` `bpy_struct.is_property_hidden` `bpy_struct.is_property_readonly` `bpy_struct.is_property_set` `bpy_struct.items` | `bpy_struct.keyframe_delete` `bpy_struct.keyframe_insert` `bpy_struct.keys` `bpy_struct.path_from_id` `bpy_struct.path_resolve` `bpy_struct.property_unset` `bpy_struct.type_recast` `bpy_struct.values`

References

`RenderSettings.ffmpeg` |