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:
authorSybren A. Stüvel <sybren@blender.org>2019-08-01 12:52:02 +0300
committerSybren A. Stüvel <sybren@blender.org>2019-08-01 13:53:11 +0300
commit6786c336bd58370e5a37db352975000e60ae5ba5 (patch)
treeff1e534785ccb530c424e49e8437d9de84f5c658 /release
parent4cbcbacc6a8aba1a0a38a4eb4a221e0a436b2bdb (diff)
Added FFmpeg preset for WebM + VP9 video + Opus audio
This is a standard combination (VP9 video, Opus audio, in WebM container), so it's nice to have as a preset.
Diffstat (limited to 'release')
-rw-r--r--release/scripts/presets/ffmpeg/WebM_(VP9+Opus).py9
1 files changed, 9 insertions, 0 deletions
diff --git a/release/scripts/presets/ffmpeg/WebM_(VP9+Opus).py b/release/scripts/presets/ffmpeg/WebM_(VP9+Opus).py
new file mode 100644
index 00000000000..9723fc3617c
--- /dev/null
+++ b/release/scripts/presets/ffmpeg/WebM_(VP9+Opus).py
@@ -0,0 +1,9 @@
+# WebM container, VP9 video, Opus audio.
+import bpy
+
+ffmpeg = bpy.context.scene.render.ffmpeg
+ffmpeg.format = "WEBM"
+ffmpeg.codec = "WEBM"
+ffmpeg.audio_codec = "OPUS"
+ffmpeg.constant_rate_factor = 'MEDIUM'
+ffmpeg.use_max_b_frames = False