fix gif
This commit is contained in:
parent
6d6a512748
commit
84a29252d1
1 changed files with 1 additions and 1 deletions
|
@ -121,7 +121,7 @@ function convert(req, res, next) {
|
||||||
.run();
|
.run();
|
||||||
} else if (nameAndExtension[1] == '.gif') {
|
} else if (nameAndExtension[1] == '.gif') {
|
||||||
console.log('Converting ' + nameAndExtension[0] + nameAndExtension[1] + ' to mp4');
|
console.log('Converting ' + nameAndExtension[0] + nameAndExtension[1] + ' to mp4');
|
||||||
ffmpeg(req.files[file].originalname)
|
ffmpeg('uploads/' + req.files[file].originalname)
|
||||||
.inputFormat('gif')
|
.inputFormat('gif')
|
||||||
.outputFormat('mp4')
|
.outputFormat('mp4')
|
||||||
.outputOptions([
|
.outputOptions([
|
||||||
|
|
Loading…
Add table
Add a link
Reference in a new issue