[Bf-blender-cvs] [6786c336bd5] master: Added FFmpeg preset for WebM + VP9 video + Opus audio
Sybren A. Stüvel
noreply at git.blender.org
Thu Aug 1 12:53:33 CEST 2019
Commit: 6786c336bd58370e5a37db352975000e60ae5ba5
Author: Sybren A. Stüvel
Date: Thu Aug 1 11:52:02 2019 +0200
Branches: master
https://developer.blender.org/rB6786c336bd58370e5a37db352975000e60ae5ba5
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.
===================================================================
A release/scripts/presets/ffmpeg/WebM_(VP9+Opus).py
===================================================================
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
More information about the Bf-blender-cvs
mailing list