File tree Expand file tree Collapse file tree 2 files changed +0
-19
lines changed Expand file tree Collapse file tree 2 files changed +0
-19
lines changed Original file line number Diff line number Diff line change @@ -31,8 +31,6 @@ const getMediaType = require('../../lib/uploading/media');
3131const { b2, bucket, hostUrl } = require ( '../../lib/uploading/backblaze' ) ;
3232const createSpriteImageAndVtt = require ( '../../lib/uploading/createSpriteImages' ) ;
3333
34- console . log ( createSpriteImageAndVtt ) ;
35-
3634const ffmpegHelper = require ( '../../lib/uploading/ffmpeg' ) ;
3735const {
3836 markUploadAsComplete,
Original file line number Diff line number Diff line change 11const 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
You can’t perform that action at this time.
0 commit comments