Cleanup
This commit is contained in:
parent
0f3f8dbf59
commit
94dfa24028
@ -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))
|
||||
|
Loading…
x
Reference in New Issue
Block a user