1
0
Fork 0
mirror of https://github.com/Chocobozzz/PeerTube.git synced 2025-10-04 10:19:35 +02:00

Fix transcoding failure when importing a video

This commit is contained in:
Chocobozzz 2022-10-31 11:45:08 +01:00
parent f746622be4
commit 6740b6428b
No known key found for this signature in database
GPG key ID: 583A612D890159BE
5 changed files with 153 additions and 118 deletions

View file

@ -46,6 +46,7 @@ async function optimizeOriginalVideofile (options: {
const transcodeDirectory = CONFIG.STORAGE.TMP_DIR
const newExtname = '.mp4'
// Will be released by our transcodeVOD function once ffmpeg is ran
const inputFileMutexReleaser = await VideoPathManager.Instance.lockFiles(video.uuid)
try {