This commit is contained in:
2025-11-09 03:28:43 +03:00
parent 79bab28e0c
commit 3086d6907c
5 changed files with 184 additions and 35 deletions

View File

@@ -112,7 +112,12 @@ async function convertToDashInternal(
}
// Select profiles
const profiles = userProfiles || selectProfiles(metadata.width, metadata.height);
const profiles = userProfiles || selectProfiles(
metadata.width,
metadata.height,
metadata.fps,
metadata.videoBitrate
);
if (profiles.length === 0) {
throw new Error('No suitable profiles found for input video resolution');