Cleanup
This commit is contained in:
parent
0f3f8dbf59
commit
94dfa24028
@ -7,7 +7,7 @@ const ffmpeg = require('fluent-ffmpeg');
|
|||||||
const reverse = file => {
|
const reverse = file => {
|
||||||
return new Promise((resolve, reject) => {
|
return new Promise((resolve, reject) => {
|
||||||
const basename = path.basename(file);
|
const basename = path.basename(file);
|
||||||
const savepath = path.join(__dirname, '../outputs', 're-' + basename);
|
const savepath = path.join('/tmp', 're-' + basename);
|
||||||
ffmpeg(file)
|
ffmpeg(file)
|
||||||
.videoFilter('reverse')
|
.videoFilter('reverse')
|
||||||
.on('error', error => reject(error))
|
.on('error', error => reject(error))
|
||||||
|
Loading…
x
Reference in New Issue
Block a user