From e3da5e841a46581810a85ee8b3f83c6e051890a8 Mon Sep 17 00:00:00 2001 From: Mikael Finstad Date: Thu, 15 Aug 2024 12:59:30 +0200 Subject: [PATCH] auto html5ify ffv1 fixes #2110 --- src/renderer/src/util/streams.ts | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) diff --git a/src/renderer/src/util/streams.ts b/src/renderer/src/util/streams.ts index cf62675a..11feb4d0 100644 --- a/src/renderer/src/util/streams.ts +++ b/src/renderer/src/util/streams.ts @@ -352,7 +352,8 @@ export function willPlayerProperlyHandleVideo({ streams, hevcPlaybackSupported } // https://github.com/mifi/lossless-cut/issues/975 // https://github.com/mifi/lossless-cut/issues/1407 // https://github.com/mifi/lossless-cut/issues/1505 https://samples.ffmpeg.org/archive/video/mjpeg/mov+mjpeg+pcm_u8++MPlayerRC1PlaybackCrash_david@pastornet.net.au.mov - const chromiumSilentlyFailCodecs = ['prores', 'mpeg4', 'mpeg2video', 'tscc2', 'dvvideo', 'mjpeg']; + // https://github.com/mifi/lossless-cut/issues/2110 + const chromiumSilentlyFailCodecs = ['prores', 'mpeg4', 'mpeg2video', 'tscc2', 'dvvideo', 'mjpeg', 'ffv1']; if (!hevcPlaybackSupported) chromiumSilentlyFailCodecs.push('hevc'); return realVideoStreams.some((stream) => !chromiumSilentlyFailCodecs.includes(stream.codec_name)); }