diff options
author | Peter Schlaile <peter@schlaile.de> | 2010-12-05 19:14:34 +0300 |
---|---|---|
committer | Peter Schlaile <peter@schlaile.de> | 2010-12-05 19:14:34 +0300 |
commit | 49320e697f8031811f2118605a702a4d14aa43bc (patch) | |
tree | c6bd3de7c5a6118028a05c2f5ba06acd142b4d53 /release/scripts/presets/ffmpeg | |
parent | 2011442931e67ee431bded8ae7ba2b6c7a0c0a15 (diff) |
Probably bugfix for [#25050] Outputing mpeg (audio in AC3 format) causes
audio to become buggy.
Added sensible audio preset settings for ffmpeg rendering
Diffstat (limited to 'release/scripts/presets/ffmpeg')
-rw-r--r-- | release/scripts/presets/ffmpeg/DV.py | 3 | ||||
-rw-r--r-- | release/scripts/presets/ffmpeg/DVD.py | 4 | ||||
-rw-r--r-- | release/scripts/presets/ffmpeg/SVCD.py | 4 | ||||
-rw-r--r-- | release/scripts/presets/ffmpeg/VCD.py | 4 |
4 files changed, 15 insertions, 0 deletions
diff --git a/release/scripts/presets/ffmpeg/DV.py b/release/scripts/presets/ffmpeg/DV.py index 4cdb2f271b9..46d2a0a4a2f 100644 --- a/release/scripts/presets/ffmpeg/DV.py +++ b/release/scripts/presets/ffmpeg/DV.py @@ -8,3 +8,6 @@ if is_ntsc: bpy.context.scene.render.resolution_y = 480 else: bpy.context.scene.render.resolution_y = 576 + +bpy.context.scene.render.ffmpeg_audio_mixrate = 48000 +bpy.context.scene.render.ffmpeg_audio_codec = "PCM" diff --git a/release/scripts/presets/ffmpeg/DVD.py b/release/scripts/presets/ffmpeg/DVD.py index 233bdab4f20..aef11672273 100644 --- a/release/scripts/presets/ffmpeg/DVD.py +++ b/release/scripts/presets/ffmpeg/DVD.py @@ -17,3 +17,7 @@ bpy.context.scene.render.ffmpeg_minrate = 0 bpy.context.scene.render.ffmpeg_buffersize = 224*8 bpy.context.scene.render.ffmpeg_packetsize = 2048 bpy.context.scene.render.ffmpeg_muxrate = 10080000 + +bpy.context.scene.render.ffmpeg_audio_codec = "AC3" +bpy.context.scene.render.ffmpeg_audio_bitrate = 448 +bpy.context.scene.render.ffmpeg_audio_mixrate = 48000 diff --git a/release/scripts/presets/ffmpeg/SVCD.py b/release/scripts/presets/ffmpeg/SVCD.py index 52f938623b8..3076c42bd51 100644 --- a/release/scripts/presets/ffmpeg/SVCD.py +++ b/release/scripts/presets/ffmpeg/SVCD.py @@ -17,3 +17,7 @@ bpy.context.scene.render.ffmpeg_minrate = 0 bpy.context.scene.render.ffmpeg_buffersize = 224*8 bpy.context.scene.render.ffmpeg_packetsize = 2324 bpy.context.scene.render.ffmpeg_muxrate = 0 + +bpy.context.scene.render.ffmpeg_audio_bitrate = 224 +bpy.context.scene.render.ffmpeg_audio_mixrate = 44100 +bpy.context.scene.render.ffmpeg_audio_codec = "MP2" diff --git a/release/scripts/presets/ffmpeg/VCD.py b/release/scripts/presets/ffmpeg/VCD.py index 876fa2d8ba6..f559cb18fb0 100644 --- a/release/scripts/presets/ffmpeg/VCD.py +++ b/release/scripts/presets/ffmpeg/VCD.py @@ -17,3 +17,7 @@ bpy.context.scene.render.ffmpeg_minrate = 1150 bpy.context.scene.render.ffmpeg_buffersize = 40*8 bpy.context.scene.render.ffmpeg_packetsize = 2324 bpy.context.scene.render.ffmpeg_muxrate = 2352 * 75 * 8 + +bpy.context.scene.render.ffmpeg_audio_bitrate = 224 +bpy.context.scene.render.ffmpeg_audio_mixrate = 44100 +bpy.context.scene.render.ffmpeg_audio_codec = "MP2" |