Skip to content

Commit bfc29fd

Browse files
committed
cleanup before merge
1 parent 22d2adc commit bfc29fd

File tree

2 files changed

+0
-19
lines changed

2 files changed

+0
-19
lines changed

controllers/backend/uploading.js

Lines changed: 0 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -31,8 +31,6 @@ const getMediaType = require('../../lib/uploading/media');
3131
const { b2, bucket, hostUrl } = require('../../lib/uploading/backblaze');
3232
const createSpriteImageAndVtt = require('../../lib/uploading/createSpriteImages');
3333

34-
console.log(createSpriteImageAndVtt);
35-
3634
const ffmpegHelper = require('../../lib/uploading/ffmpeg');
3735
const {
3836
markUploadAsComplete,

lib/uploading/createSpriteImages.js

Lines changed: 0 additions & 17 deletions
Original file line numberDiff line numberDiff line change
@@ -1,22 +1,5 @@
11
const createSpriteWithVTT = require('generate-video-sprites-node');
22
/** input and output paths **/
3-
// used in the paths, could use different names if you want
4-
const filename = 'hABy9sJ'
5-
6-
// the file to create sprite and vtt from
7-
const inputFile = `./videos/${filename}.mp4`;
8-
9-
const spriteFileName = `${filename}_sprite.png`;
10-
const vttFileName = `${filename}_sprite.vtt`;
11-
12-
// where to output the files
13-
const spriteOutputFilePath = `./output/${spriteFileName}`;
14-
const webVTTOutputFilePath = `./output/${vttFileName}`;
15-
16-
17-
// used in building the path for sprite prepend
18-
// (aka where the sprite image will be served from)
19-
const prependPath = '/uploads/anthony'
203

214
/** variables to setup the output of the sprite/vtt **/
225
// how often should a snapshot be taken

0 commit comments

Comments
 (0)