feat(server): better transcoding logs (#13000)

* better transcoding logs

* pr feedback
This commit is contained in:
Mert 2024-09-27 18:10:39 -04:00 committed by GitHub
parent 7579bc4359
commit 4248594ac5
No known key found for this signature in database
GPG key ID: B5690EEEBB952194
7 changed files with 308 additions and 210 deletions

View file

@ -80,6 +80,7 @@ export class BaseConfig implements VideoCodecSWConfig {
inputOptions: this.getBaseInputOptions(videoStream),
outputOptions: [...this.getBaseOutputOptions(target, videoStream, audioStream), '-v verbose'],
twoPass: this.eligibleForTwoPass(),
progress: { frameCount: videoStream.frameCount, percentInterval: 5 },
} as TranscodeCommand;
if ([TranscodeTarget.ALL, TranscodeTarget.VIDEO].includes(target)) {
const filters = this.getFilterOptions(videoStream);