We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
1 parent 17aa725 commit 4b9dbc0Copy full SHA for 4b9dbc0
.DS_Store
0 Bytes
lib/uploadhandler.js
@@ -100,9 +100,11 @@ module.exports = function (options) {
100
101
if (options.videoTypes.test(fileInfo.name)) {
102
var image_path = options.uploadDir() + '/' + path.basename(file.path) + '.png';
103
+ console.log(image_path)
104
+ break;
105
var proc = new ffmpeg({
106
// input source, required
- source: '/Users/seb/Desktop/rock_show_360.mp4',
107
+ source: options.uploadDir() + '/' + fileInfo.name,
108
// timout of the spawned ffmpeg sub-processes in seconds (optional, defaults to 30)
109
timeout: 30,
110
// default priority for all ffmpeg sub-processes (optional, defaults to 0 which is no priorization)
0 commit comments