Probably bugfix for [#25050] Outputing mpeg (audio in AC3 format) causes
authorPeter Schlaile <peter@schlaile.de>
Sun, 5 Dec 2010 16:14:34 +0000 (16:14 +0000)
committerPeter Schlaile <peter@schlaile.de>
Sun, 5 Dec 2010 16:14:34 +0000 (16:14 +0000)
audio to become buggy.

Added sensible audio preset settings for ffmpeg rendering

release/scripts/presets/ffmpeg/DV.py
release/scripts/presets/ffmpeg/DVD.py
release/scripts/presets/ffmpeg/SVCD.py
release/scripts/presets/ffmpeg/VCD.py

index 4cdb2f271b984bfb00a150ff8b7a6c0500d2173b..46d2a0a4a2f976860df092216fd8a0bb2b058f2c 100644 (file)
@@ -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"
index 233bdab4f20f8c94a862e4c5b56ba026a5111e26..aef1167227325e9ba175896d71e827ad2b43d80b 100644 (file)
@@ -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
index 52f938623b89cdc413642bec01e1b84a44b383ae..3076c42bd51755766b54d53c66566a663dc89d83 100644 (file)
@@ -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"
index 876fa2d8ba62b93c373c777457a9b986cebf4703..f559cb18fb06657f6e9da5f837772796d5306ffc 100644 (file)
@@ -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"