Update convert.js

This commit is contained in:
Namhyeon Go 2024-05-11 01:22:33 +09:00 committed by GitHub
parent 97eed61df2
commit 23a0c3f01c
No known key found for this signature in database
GPG Key ID: B5690EEEBB952194

View File

@ -66,7 +66,8 @@ function convert(req,res,next) {
{
ffmpegParams.outputOptions=[
'-codec:v libx264',
'-profile:v high444',
//'-profile:v high444' // for Chrome/Chromium only
'-profile:v high', // for FireFox, Safari
'-r 15',
'-crf 23',
'-preset ultrafast',
@ -74,6 +75,7 @@ function convert(req,res,next) {
'-maxrate 500k',
'-bufsize 1000k',
'-vf scale=-2:640',
'-pix_fmt yuv420p', // for FireFox, Safari
'-threads 8',
'-codec:a libfdk_aac',
'-b:a 128k',