mirror of
https://github.com/ragestudio/comty.git
synced 2025-06-09 18:44:16 +00:00
use as prefix _transcoded
This commit is contained in:
parent
5ac938279d
commit
42c9c979fb
@ -6,7 +6,7 @@ function videoTranscode(originalFilePath, outputPath, options = {}) {
|
||||
return new Promise((resolve, reject) => {
|
||||
const filename = path.basename(originalFilePath)
|
||||
const outputFilename = `${filename.split(".")[0]}.${options.format ?? "webm"}`
|
||||
const outputFilepath = `${outputPath}/${outputFilename}`
|
||||
const outputFilepath = `${outputPath}/${outputFilename}_transcoded`
|
||||
|
||||
console.debug(`[TRANSCODING] Transcoding ${originalFilePath} to ${outputFilepath}`)
|
||||
|
||||
|
Loading…
x
Reference in New Issue
Block a user