diff options
Diffstat (limited to 'release/scripts/presets/ffmpeg/DV.py')
-rw-r--r-- | release/scripts/presets/ffmpeg/DV.py | 10 |
1 files changed, 10 insertions, 0 deletions
diff --git a/release/scripts/presets/ffmpeg/DV.py b/release/scripts/presets/ffmpeg/DV.py new file mode 100644 index 00000000000..4cdb2f271b9 --- /dev/null +++ b/release/scripts/presets/ffmpeg/DV.py @@ -0,0 +1,10 @@ +import bpy +is_ntsc = (bpy.context.scene.render.fps != 25) + +bpy.context.scene.render.ffmpeg_format = "DV" +bpy.context.scene.render.resolution_x = 720 + +if is_ntsc: + bpy.context.scene.render.resolution_y = 480 +else: + bpy.context.scene.render.resolution_y = 576 |