map 0 error

fixed map 0 on 1080p
This commit is contained in:
robejo9 2019-12-10 21:12:18 -06:00 committed by GitHub
parent f42bfa5826
commit 2ce15344dc
No known key found for this signature in database
GPG key ID: 4AEE18F83AFDEB23

View file

@ -89,7 +89,7 @@ function plugin(file) {
//file will be encoded if the resolution is 1080p
//codec will be checked so it can be transcoded correctly
if(file.video_resolution === "1080p") {
response.preset += `, -c:v hevc_nvenc -pix_fmt p010le -rc:v vbr_hq -qmin 0 -cq:v 31 -b:v 2500k -maxrate:v 5000k -preset slow -rc-lookahead 32 -spatial_aq:v 1 -aq-strength:v 8 -c:a copy -c:s copy`
response.preset += `,-map 0 -c:v hevc_nvenc -pix_fmt p010le -rc:v vbr_hq -qmin 0 -cq:v 31 -b:v 2500k -maxrate:v 5000k -preset slow -rc-lookahead 32 -spatial_aq:v 1 -aq-strength:v 8 -c:a copy -c:s copy`
transcode = 1;
}