More edge case testing

This commit is contained in:
henryruhs
2025-05-23 18:53:03 +02:00
parent 04319fb3c6
commit 834c17340d
2 changed files with 7 additions and 1 deletions

View File

@@ -214,6 +214,12 @@ def merge_video(target_path : str, temp_video_fps : Fps, output_video_resolution
if output_file_format in [ 'm4v', 'mkv', 'mp4' ] and output_video_encoder == 'rawvideo': if output_file_format in [ 'm4v', 'mkv', 'mp4' ] and output_video_encoder == 'rawvideo':
output_video_encoder = 'libx264' output_video_encoder = 'libx264'
if output_file_format == 'm4v':
output_video_encoder = 'libx264'
if output_file_format == 'mov' and output_video_encoder == 'libvpx-vp9':
output_video_encoder = 'libx264'
if output_file_format == 'webm': if output_file_format == 'webm':
output_video_encoder = 'libvpx-vp9' output_video_encoder = 'libvpx-vp9'