|
|
@ -207,7 +207,7 @@ class StickerIngestJob extends SiteWorkerProcess { |
|
|
|
async processStickerFFMPEG (job) { |
|
|
|
const { media: mediaService, minio: minioService } = this.dtp.services; |
|
|
|
|
|
|
|
const codecVideo = (process.env.DTP_GPU_ACCELERATION === 'enabled') ? 'h264_nvenc' : 'libx264'; |
|
|
|
const codecVideo = (process.env.DTP_ENABLE_GPU === 'enabled') ? 'h264_nvenc' : 'libx264'; |
|
|
|
|
|
|
|
// generate the encoded sticker
|
|
|
|
// Output height is 100 lines by [aspect] width with width and height being
|
|
|
|