I have a sequence of exr
files which I want to convert into a video using moviepy
. When Since the colors in the exr
s need be converted (otherwise the video appears almost black) I need to specify a color transfer characteristic. When I run ffmpeg
directly using
ffmpeg -y -apply_trc iec61966_2_1 -i input_%d.exr -vcodec mpeg4 output.mp4
everything is working perfectly fine. However, if I read the exr
s using clip = ImageSequenceClip("folder_to_my_exrs/", fps = 24)
and try to write the video using .write_videofile("output.mp4", codec = "mpeg4", ffmpeg_params = ["-apply_trc", "iec61966_2_1"])
I’m receiving the error
b’Codec AVOption apply_trc (color transfer characteristics to apply to EXR linear input) specified for output file #0 (output.mp4) is not an encoding option.rn’
I don’t really understand this. What can I do?