2
0
This commit is contained in:
Cedric Hoelzl 2019-11-14 00:39:19 +01:00
parent 0f3f8dbf59
commit 94dfa24028

View File

@ -7,7 +7,7 @@ const ffmpeg = require('fluent-ffmpeg');
const reverse = file => {
return new Promise((resolve, reject) => {
const basename = path.basename(file);
const savepath = path.join(__dirname, '../outputs', 're-' + basename);
const savepath = path.join('/tmp', 're-' + basename);
ffmpeg(file)
.videoFilter('reverse')
.on('error', error => reject(error))