More edge case testing

This commit is contained in:
henryruhs
2025-05-23 19:20:56 +02:00
parent fc0de4eec2
commit 068f6c86d1
2 changed files with 9 additions and 9 deletions

View File

@@ -211,10 +211,10 @@ def merge_video(target_path : str, temp_video_fps : Fps, output_video_resolution
temp_file_path = get_temp_file_path(target_path)
temp_frames_pattern = get_temp_frames_pattern(target_path, '%08d')
if output_file_format in [ 'm4v', 'mkv', 'mp4' ] and output_video_encoder == 'rawvideo':
if output_file_format == 'm4v':
output_video_encoder = 'libx264'
if output_file_format == 'm4v':
if output_file_format in [ 'mkv', 'mp4' ] and output_video_encoder == 'rawvideo':
output_video_encoder = 'libx264'
if output_file_format == 'mov' and output_video_encoder == 'libvpx-vp9':