from test_framework._support import *
from test_framework._test_params import *


@davis_input
@output_hash([
    "acae6ea9eb46b845a0d982a6803eaa559bb35598f1a5a70b9933f9ddba76138f",  # FFMPEG 4
    "34ce90ead0474180c271d4612fe3707205e17b2fbce8ea24ea1aaa93d9772f58",  # FFMPEG 5
    "e442cc377b0fb8cb3269965937da828ef126f49505c4bbcc775cae2090839110",  # FFMPEG 6
    "2e9a712b0f4efe215b5e761a9e532247b6fe697e699c96c603c5bd7b24c67a0f"  # FFMPEG 8
])
def test_10_VideoOutputFFV1(self):
    output_file = create_output_file_name_mkv()
    module_parameters = [["fileName", output_file], ["codec", "FFV1_[ffv1]"]]
    module = dv_module("output0", [["frames", "input[frames]"]],
                       config_options=module_parameters,
                       library="dv_video_output")
    test_modules_with_input(self, [module])
