add hvc1 workaround #1444

pull/1457/head
Mikael Finstad 4 years ago
parent 20e213cce1
commit 14558e31ff
No known key found for this signature in database
GPG Key ID: 25AB36E3E81CBC26

@ -160,7 +160,8 @@ function getPerStreamFlags({ stream, outputIndex, outFormat, manuallyCopyDisposi
} }
if (isMov(outFormat)) { 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'); addArgs(`-tag:${outputIndex}`, 'hvc1');
} }
} }

Loading…
Cancel
Save