Fix codec name, change to hevc

This commit is contained in:
Ingo Oppermann 2024-03-27 10:46:51 +01:00
parent c73cc357b9
commit 12344c958f
No known key found for this signature in database
GPG Key ID: 2AB32426E9DD229E
2 changed files with 3 additions and 3 deletions

View File

@ -52,7 +52,7 @@ function createMapping(settings, stream, skills) {
'-r',
`${settings.fps}`,
'-g',
`${settings.gop}`
`${settings.gop}`,
);
if (settings.gop !== 'auto') {

View File

@ -58,7 +58,7 @@ function createMapping(settings, stream, skills) {
'-g',
`${Math.round(parseInt(settings.fps) * parseInt(settings.gop)).toFixed(0)}`,
'-keyint_min',
`${Math.round(parseInt(settings.fps) * parseInt(settings.gop)).toFixed(0)}`
`${Math.round(parseInt(settings.fps) * parseInt(settings.gop)).toFixed(0)}`,
);
}
@ -194,7 +194,7 @@ Coder.defaultProps = {
const coder = 'libx265';
const name = 'H.265 (libx265)';
const codec = 'h265';
const codec = 'hevc';
const type = 'video';
const hwaccel = false;