Skip to content

The swiss army knife of lossless video/audio editing

add hvc1 workaround #1444

Mikael Finstad14558e31ff4f
diff --git a/src/util/streams.js b/src/util/streams.js
index dbcd879d..7ac94dea 100644
--- a/src/util/streams.js
+++ b/src/util/streams.js
@@ -160,7 +160,8 @@ function getPerStreamFlags({ stream, outputIndex, outFormat, manuallyCopyDisposi
}
if (isMov(outFormat)) {
- if (['0x0000', '0x31637668'].includes(stream.codec_tag) && stream.codec_name === 'hevc') {
+ // 0x31766568 see https://github.com/mifi/lossless-cut/issues/1444
+ if (['0x0000', '0x31637668', '0x31766568'].includes(stream.codec_tag) && stream.codec_name === 'hevc') {
addArgs(`-tag:${outputIndex}`, 'hvc1');
}
}