I tried to add a movie file using this script in the scripting window.
import bpy, os
os.system("chcp 65001")
dir_movie=r"O:\GK\Sozai\testdev\out.mp4"
bpy.ops.sequencer.movie_strip_add(dir_movie, channel=1, frame_start=1)
But this error message appeared on the console.
Traceback (most recent call last):
File "O:\GK\dev\blender\test00.blend\Text", line 6, in <module>
File "O:\files\blender-2.80.0-git.99d4321feff6-windows64\2.80\scripts\modules\bpy\ops.py", line 198, in __call__
ret = op_call(self.idname_py(), C_dict, kw, C_exec, C_undo)
TypeError: Calling operator "bpy.ops.sequencer.movie_strip_add" error, expected a string enum in ('INVOKE_DEFAULT', 'INVOKE_REGION_WIN', 'INVOKE_REGION_CHANNELS', 'INVOKE_REGION_PREVIEW', 'INVOKE_AREA', 'INVOKE_SCREEN', 'EXEC_DEFAULT', 'EXEC_REGION_WIN', 'EXEC_REGION_CHANNELS', 'EXEC_REGION_PREVIEW', 'EXEC_AREA', 'EXEC_SCREEN')
sorry, I cannot understand this error message and how to fix this error. What I should do?
For your reference, my pc details are...
OS: Windows 10 Education(build: 17134.648)
Language: Japanese
CPU: Ryzen 1700X
GPU: GTX 1070
RAM: 16 GB
Blender: 2.8 or 2.79
Thanks.