I want to save a video into another file using different name. Thus, I have following codes to handle this question:
def process_image_1(image):
img=mpimg.imread(image)
return img;
Also, I have
output='output.mp4'
clip1 = VideoFileClip("Right.mp4")
clip = clip1.fl_image(process_image_1)
%time clip.write_videofile(output, audio=False)
However, I got the following error:
Object does not appear to be a 8-bit string path or a Python file-like object
I am not sure what's wrong with it, can someone tell me why?