From ff9624d4f37ab035c27d1d5c59c654f88656ad49 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Sybren=20A=2E=20St=C3=BCvel?= Date: Wed, 6 Mar 2019 13:31:30 +0100 Subject: [PATCH] Blender Video Chunks: also allow .mp4 and .mov as container format --- blender_cloud/flamenco/__init__.py | 5 +++-- 1 file changed, 3 insertions(+), 2 deletions(-) diff --git a/blender_cloud/flamenco/__init__.py b/blender_cloud/flamenco/__init__.py index 59fada2..7a4a8ce 100644 --- a/blender_cloud/flamenco/__init__.py +++ b/blender_cloud/flamenco/__init__.py @@ -459,8 +459,9 @@ class FLAMENCO_OT_render(async_loop.AsyncModalOperatorMixin, self.report({'ERROR'}, 'Job type requires chunks of at least 10 frames.') return False - if settings['output_file_extension'] != '.mkv': - self.report({'ERROR'}, 'Job type requires rendering to Matroska files.') + if settings['output_file_extension'] not in {'.mkv', '.mp4', '.mov'}: + self.report({'ERROR'}, 'Job type requires rendering to Matroska or ' + 'MP4 files, not %r.' % settings['output_file_extension']) return False return True