--------------------------------------------------------------------------------------------------------------- INITIALIZING VIDBOT, v1.6.0... --------------------------------------------------------------------------------------------------------------- [09:42:27.198] Vidbot :: start() [09:42:27.199] Vidbot :: _next(), _stepIndex:0 of 4 [09:42:27.199] index :: _onStepStarted_vidbot(), step: 1 [09:42:27.201] Vidbot :: step[0], label:Initializing Core [09:42:27.209] index :: _onStepProgress_vidbot(), percent: 20 [09:42:27.210] Vidbot :: _parse() [09:42:27.211] index :: _onStepProgress_vidbot(), percent: 40 [09:42:27.211] Vidbot :: _validate() [09:42:27.212] index :: _onStepProgress_vidbot(), percent: 60 [09:42:27.212] Vidbot :: _fonts() [09:42:27.213] FabricFontManager :: add(), id: SourceSansPro-Bold [09:42:27.213] src: /var/app/Vidbot-V2/assets/fonts/SourceSansPro/SourceSansPro-Bold.ttf [09:42:27.222] FabricFontManager :: add(), id: SourceSansPro-Light [09:42:27.222] src: /var/app/Vidbot-V2/assets/fonts/SourceSansPro/SourceSansPro-Light.ttf [09:42:27.223] FabricFontManager :: add(), id: DINOT-Bold [09:42:27.223] src: /var/app/Vidbot-V2/assets/fonts/DINOT/DINOT-Bold.otf [09:42:27.223] FabricFontManager :: add(), id: DINOT-Light [09:42:27.224] src: /var/app/Vidbot-V2/assets/fonts/DINOT/DINOT-Light.otf [09:42:27.224] FabricFontManager :: add(), id: TradeGothicLTStd-Regular [09:42:27.224] src: /var/app/Vidbot-V2/assets/fonts/TradeGothicCond/TradeGothicLTStd-Regular.otf [09:42:27.225] FabricFontManager :: add(), id: TradeGothicLTStd-Bold [09:42:27.225] src: /var/app/Vidbot-V2/assets/fonts/TradeGothicCond/TradeGothicLTStd-Bold.otf [09:42:27.226] index :: _onStepProgress_vidbot(), percent: 80 [09:42:27.227] Vidbot :: _clips() [09:42:27.227] StreamManager :: add(), id:audio_vo, type:audio [09:42:27.228] AudioClip[audio_vo] :: constructor() [09:42:27.228] InputStream[audio_vo] :: constructor() [09:42:27.228] Vidbot :: StreamMgr.on( 'ADDED' ), data: { streamID: 'audio_vo', clipId: null } [09:42:27.231] StreamManager :: add(), id:bg_music, type:audio [09:42:27.231] AudioClip[bg_music] :: constructor() [09:42:27.231] InputStream[bg_music] :: constructor() [09:42:27.231] Vidbot :: StreamMgr.on( 'ADDED' ), data: { streamID: 'bg_music', clipId: null } [09:42:27.232] StreamManager :: add(), id:simplefadedisplay, type:canvas [09:42:27.232] CanvasStream[canvas_1521325319223] :: constructor() [09:42:27.232] InputStream[canvas_1521325319223] :: constructor() [09:42:27.327] KenBurnsSlideshow[simplefadedisplay] :: constructor() [09:42:27.327] Overlay[simplefadedisplay] :: constructor() [09:42:27.327] CanvasClip[simplefadedisplay] :: constructor() [09:42:27.328] Clip[simplefadedisplay] :: constructor() [09:42:27.328] clip:"simplefadedisplay" added to stream:"canvas_1521325319223" [09:42:27.328] Vidbot :: StreamMgr.on( 'ADDED' ), data: { streamID: 'canvas_1521325319223', clipId: 'simplefadedisplay' } [09:42:27.328] StreamManager :: add(), id:caption, type:canvas [09:42:27.328] RenCaption[caption] :: constructor() [09:42:27.329] Ren[caption] :: constructor() [09:42:27.329] Overlay[caption] :: constructor() [09:42:27.329] CanvasClip[caption] :: constructor() [09:42:27.329] Clip[caption] :: constructor() [09:42:27.329] clip:"caption" added to stream:"canvas_1521325319223" [09:42:27.329] Vidbot :: StreamMgr.on( 'ADDED' ), data: { streamID: 'canvas_1521325319223', clipId: 'caption' } [09:42:27.329] all added... [09:42:27.329] Vidbot :: _next(), _stepIndex:1 of 4 [09:42:27.329] index :: _onStepCompleted_vidbot(), step: 1 [09:42:27.330] index :: _onStepStarted_vidbot(), step: 2 [09:42:27.330] Vidbot :: step[1], label:Initializing Input Streams [09:42:27.330] StreamManager :: init() [09:42:27.331] Vidbot :: StreamMgr.on( 'STREAM_INITED' ), data: { streamID: 'audio_vo', progress: 0.3333333333333333 } [09:42:27.331] index :: _onStepProgress_vidbot(), percent: 33 [09:42:27.331] Vidbot :: StreamMgr.on( 'STREAM_INITED' ), data: { streamID: 'bg_music', progress: 0.6666666666666666 } [09:42:27.331] index :: _onStepProgress_vidbot(), percent: 67 [09:42:27.332] CanvasStream[canvas_1521325319223] :: _init(), BEGIN [09:42:27.332] i:0, c.id:simplefadedisplay [09:42:27.332] KenBurnsSlideshow[simplefadedisplay] :: _init(), BEGIN [09:42:27.333] KenBurnsSlideshow[simplefadedisplay] :: _validate() [09:42:27.333] KenBurnsSlideshow[undefined] :: _validateAnim() [09:42:27.334] KenBurnsSlideshow[undefined] :: _validateTheme() [09:42:27.335] i:1, c.id:caption [09:42:27.335] RenCaption[caption] :: _init() [09:42:27.335] RenCaption[caption] :: _validate() [09:42:27.336] KenBurnsSlideshow[simplefadedisplay] :: _build() [09:42:27.346] AnimatedImageFrame[aif] :: constructor() [09:42:27.348] AnimatedImageFrame[aif] :: _init(), BEGIN [09:42:27.348] CanvasClip :: LoadImageWithPromise(), src: 01993150-343A-F67E-EAB8-829655C5D53D_1.jpg [09:42:27.360] RenCaption[caption] :: _build() [09:42:27.379] Overlay[caption] :: _animate() [09:42:27.382] CanvasStream[caption] :: _init(), p.then() [09:42:27.398] CanvasClip :: LoadImageWithPromise(), loaded, isError: false [09:42:27.400] AnimatedImageFrame[aif] :: _init(), END [09:42:27.402] AnimatedImageFrame[aif] :: constructor() [09:42:27.403] AnimatedImageFrame[aif] :: _init(), BEGIN [09:42:27.403] CanvasClip :: LoadImageWithPromise(), src: 01993150-343A-F67E-EAB8-829655C5D53D_2.jpg [09:42:27.415] CanvasClip :: LoadImageWithPromise(), loaded, isError: false [09:42:27.416] AnimatedImageFrame[aif] :: _init(), END [09:42:27.417] AnimatedImageFrame[aif] :: constructor() [09:42:27.418] AnimatedImageFrame[aif] :: _init(), BEGIN [09:42:27.418] CanvasClip :: LoadImageWithPromise(), src: 01993150-343A-F67E-EAB8-829655C5D53D_3.jpg [09:42:27.430] CanvasClip :: LoadImageWithPromise(), loaded, isError: false [09:42:27.431] AnimatedImageFrame[aif] :: _init(), END [09:42:27.432] AnimatedImageFrame[aif] :: constructor() [09:42:27.432] AnimatedImageFrame[aif] :: _init(), BEGIN [09:42:27.432] CanvasClip :: LoadImageWithPromise(), src: 01993150-343A-F67E-EAB8-829655C5D53D_4.jpg [09:42:27.445] CanvasClip :: LoadImageWithPromise(), loaded, isError: false [09:42:27.446] AnimatedImageFrame[aif] :: _init(), END [09:42:27.446] AnimatedImageFrame[aif] :: constructor() [09:42:27.447] AnimatedImageFrame[aif] :: _init(), BEGIN [09:42:27.447] CanvasClip :: LoadImageWithPromise(), src: 01993150-343A-F67E-EAB8-829655C5D53D_1.jpg [09:42:27.458] CanvasClip :: LoadImageWithPromise(), loaded, isError: false [09:42:27.459] AnimatedImageFrame[aif] :: _init(), END [09:42:27.460] AnimatedImageFrame[aif] :: constructor() [09:42:27.460] AnimatedImageFrame[aif] :: _init(), BEGIN [09:42:27.460] CanvasClip :: LoadImageWithPromise(), src: 01993150-343A-F67E-EAB8-829655C5D53D_2.jpg [09:42:27.471] CanvasClip :: LoadImageWithPromise(), loaded, isError: false [09:42:27.472] AnimatedImageFrame[aif] :: _init(), END [09:42:27.473] AnimatedImageFrame[aif] :: constructor() [09:42:27.473] AnimatedImageFrame[aif] :: _init(), BEGIN [09:42:27.473] CanvasClip :: LoadImageWithPromise(), src: 01993150-343A-F67E-EAB8-829655C5D53D_3.jpg [09:42:27.486] CanvasClip :: LoadImageWithPromise(), loaded, isError: false [09:42:27.487] AnimatedImageFrame[aif] :: _init(), END [09:42:27.487] AnimatedImageFrame[aif] :: constructor() [09:42:27.487] AnimatedImageFrame[aif] :: _init(), BEGIN [09:42:27.487] CanvasClip :: LoadImageWithPromise(), src: 01993150-343A-F67E-EAB8-829655C5D53D_4.jpg [09:42:27.499] CanvasClip :: LoadImageWithPromise(), loaded, isError: false [09:42:27.500] AnimatedImageFrame[aif] :: _init(), END [09:42:27.501] AnimatedImageFrame[aif] :: constructor() [09:42:27.501] AnimatedImageFrame[aif] :: _init(), BEGIN [09:42:27.501] CanvasClip :: LoadImageWithPromise(), src: 01993150-343A-F67E-EAB8-829655C5D53D_1.jpg [09:42:27.513] CanvasClip :: LoadImageWithPromise(), loaded, isError: false [09:42:27.515] AnimatedImageFrame[aif] :: _init(), END [09:42:27.515] AnimatedImageFrame[aif] :: constructor() [09:42:27.515] AnimatedImageFrame[aif] :: _init(), BEGIN [09:42:27.515] CanvasClip :: LoadImageWithPromise(), src: 01993150-343A-F67E-EAB8-829655C5D53D_2.jpg [09:42:27.527] CanvasClip :: LoadImageWithPromise(), loaded, isError: false [09:42:27.528] AnimatedImageFrame[aif] :: _init(), END [09:42:27.528] AnimatedImageFrame[aif] :: constructor() [09:42:27.529] AnimatedImageFrame[aif] :: _init(), BEGIN [09:42:27.529] CanvasClip :: LoadImageWithPromise(), src: 01993150-343A-F67E-EAB8-829655C5D53D_3.jpg [09:42:27.540] CanvasClip :: LoadImageWithPromise(), loaded, isError: false [09:42:27.541] AnimatedImageFrame[aif] :: _init(), END [09:42:27.542] AnimatedImageFrame[aif] :: constructor() [09:42:27.542] AnimatedImageFrame[aif] :: _init(), BEGIN [09:42:27.542] CanvasClip :: LoadImageWithPromise(), src: 01993150-343A-F67E-EAB8-829655C5D53D_4.jpg [09:42:27.554] CanvasClip :: LoadImageWithPromise(), loaded, isError: false [09:42:27.555] AnimatedImageFrame[aif] :: _init(), END [09:42:27.556] AnimatedImageFrame[aif] :: constructor() [09:42:27.556] AnimatedImageFrame[aif] :: _init(), BEGIN [09:42:27.556] CanvasClip :: LoadImageWithPromise(), src: 01993150-343A-F67E-EAB8-829655C5D53D_1.jpg [09:42:27.569] CanvasClip :: LoadImageWithPromise(), loaded, isError: false [09:42:27.570] AnimatedImageFrame[aif] :: _init(), END [09:42:27.570] AnimatedImageFrame[aif] :: constructor() [09:42:27.570] AnimatedImageFrame[aif] :: _init(), BEGIN [09:42:27.570] CanvasClip :: LoadImageWithPromise(), src: 01993150-343A-F67E-EAB8-829655C5D53D_2.jpg [09:42:27.582] CanvasClip :: LoadImageWithPromise(), loaded, isError: false [09:42:27.583] AnimatedImageFrame[aif] :: _init(), END [09:42:27.583] Overlay[simplefadedisplay] :: _animate() [09:42:27.584] KenBurnsSlideshow[simplefadedisplay] :: _init(), END [09:42:27.584] CanvasStream[simplefadedisplay] :: _init(), p.then() [09:42:27.584] CanvasStream[canvas_1521325319223] :: _init(), promise.all.then() [09:42:27.586] CanvasStream[canvas_1521325319223] :: _init(), END [09:42:27.587] StreamMangaer :: init(), stream[canvas_1521325319223].then() [09:42:27.587] Vidbot :: StreamMgr.on( 'STREAM_INITED' ), data: { streamID: 'canvas_1521325319223', progress: 1 } [09:42:27.587] index :: _onStepProgress_vidbot(), percent: 100 [09:42:27.587] StreamManager :: init(), promise.all.then... [09:42:27.587] Vidbot :: StreamMgr.on( 'INITED' ) [09:42:27.587] Vidbot :: _next(), _stepIndex:2 of 4 [09:42:27.587] index :: _onStepCompleted_vidbot(), step: 2 [09:42:27.587] index :: _onStepStarted_vidbot(), step: 3 [09:42:27.588] Vidbot :: step[2], label:Rendering Canvas Streams [09:42:27.588] Vidbot :: StreamMgr.on( 'RENDER_STARTED' ), data: undefined [09:42:27.588] StreamManager :: render() [09:42:27.589] CanvasStream[canvas_1521325319223] :: render() [09:42:27.620] index :: _onStepProgress_vidbot(), percent: 0 [09:42:33.431] index :: _onStepProgress_vidbot(), percent: 5 [09:42:39.465] index :: _onStepProgress_vidbot(), percent: 10 [09:42:45.492] index :: _onStepProgress_vidbot(), percent: 15 [09:42:52.040] index :: _onStepProgress_vidbot(), percent: 20 [09:42:58.532] index :: _onStepProgress_vidbot(), percent: 25 [09:43:05.293] index :: _onStepProgress_vidbot(), percent: 30 [09:43:12.729] index :: _onStepProgress_vidbot(), percent: 35 [09:43:20.420] index :: _onStepProgress_vidbot(), percent: 40 [09:43:27.763] index :: _onStepProgress_vidbot(), percent: 45 [09:43:34.754] index :: _onStepProgress_vidbot(), percent: 50 [09:43:42.441] index :: _onStepProgress_vidbot(), percent: 55 [09:43:50.161] index :: _onStepProgress_vidbot(), percent: 60 [09:43:57.159] index :: _onStepProgress_vidbot(), percent: 65 [09:44:04.741] index :: _onStepProgress_vidbot(), percent: 70 [09:44:12.404] index :: _onStepProgress_vidbot(), percent: 75 [09:44:20.514] index :: _onStepProgress_vidbot(), percent: 80 [09:44:27.726] index :: _onStepProgress_vidbot(), percent: 85 [09:44:35.337] index :: _onStepProgress_vidbot(), percent: 90 [09:44:42.536] index :: _onStepProgress_vidbot(), percent: 95 [09:44:49.827] index :: _onStepProgress_vidbot(), percent: 100 [09:44:50.343] StreamManager :: render(), Promise.all.then... [09:44:50.344] Vidbot :: StreamMgr.on( 'RENDER_COMPLETED' ), data: undefined [09:44:50.344] Vidbot :: _next(), _stepIndex:3 of 4 [09:44:50.344] index :: _onStepCompleted_vidbot(), step: 3 [09:44:50.345] index :: _onStepStarted_vidbot(), step: 4 [09:44:50.346] Vidbot :: step[3], label:Encoding Media [09:44:50.348] CanvasFilters :: Overlay() [09:44:50.348] AudioStream[audio_vo] :: inputOptions() [09:44:50.349] AudioFilters :: Volume() [09:44:50.349] filter: [2:a]volume=1[2_vol] [09:44:50.349] AudioFilters :: Delay() [09:44:50.349] filter: [2_vol]adelay=0|0[2_del] [09:44:50.349] AudioStream[bg_music] :: inputOptions() [09:44:50.349] AudioFilters :: Volume() [09:44:50.349] filter: [3:a]volume=0.25[3_vol] [09:44:50.349] AudioFilters :: FadeOut() [09:44:50.349] filter: [3_vol]afade=t=out:st=41.35:d=1[3_fadeout] [09:44:50.349] AudioFilters :: Delay() [09:44:50.350] filter: [3_fadeout]adelay=0|0[3_del] [09:44:50.350] AudioFilters :: Mix() [09:44:50.350] filter: [2_del][3_del]amix=inputs=2:duration=longest[a_out] [09:44:50.350] mixed filter: [2_del][3_del]amix=inputs=2:duration=longest[a_out] [09:44:50.352] hang.time: 60 [09:44:50.446] Vidbot :: ffmpeg.on( 'start' ) [09:44:50.447] ffmpeg -f lavfi -i color=c=000000:s=640x360:r=30:duration=41.35 -r 30 -i ./tmp/canvas_1521325319223_%05d.png -to 00:00:41.350 -i file:///var/www/html/ [09:44:50.447] clients/18307/audio/01993150-343A-F67E-EAB8-829655C5D53D.mp3 -to 00:00:41.350 -i file:///var/app/video_pre_processor/assets/vidbot/_files/audio/PushPi [09:44:50.447] n.mp3 -y -filter_complex [0:v][1:v]overlay=x=0:y=0[1_out];[2:a]volume=1[2_vol];[2_vol]adelay=0|0[2_del];[3:a]volume=0.25[3_vol];[3_vol]afade=t=out:st= [09:44:50.447] 41.35:d=1[3_fadeout];[3_fadeout]adelay=0|0[3_del];[2_del][3_del]amix=inputs=2:duration=longest[a_out] -acodec aac -vcodec libx264 -r 30 -f mp4 -map [a [09:44:50.447] _out] -map [1_out] -preset veryfast -crf 18 -movflags frag_keyframe+empty_moov -pix_fmt yuv420p /var/www/html/clients/18307/video/01993150-343A-F67E-E [09:44:50.447] AB8-829655C5D53D.mp4 [09:44:50.583] index :: _onStepProgress_vidbot(), percent: -5023575471 [09:44:51.021] index :: _onStepProgress_vidbot(), percent: 2 [09:44:51.524] index :: _onStepProgress_vidbot(), percent: 7 [09:44:52.026] index :: _onStepProgress_vidbot(), percent: 12 [09:44:52.528] index :: _onStepProgress_vidbot(), percent: 19 [09:44:53.029] index :: _onStepProgress_vidbot(), percent: 24 [09:44:53.535] index :: _onStepProgress_vidbot(), percent: 32 [09:44:54.049] index :: _onStepProgress_vidbot(), percent: 38 [09:44:54.552] index :: _onStepProgress_vidbot(), percent: 43 [09:44:55.055] index :: _onStepProgress_vidbot(), percent: 49 [09:44:55.560] index :: _onStepProgress_vidbot(), percent: 55 [09:44:56.060] index :: _onStepProgress_vidbot(), percent: 61 [09:44:56.562] index :: _onStepProgress_vidbot(), percent: 67 [09:44:57.063] index :: _onStepProgress_vidbot(), percent: 73 [09:44:57.564] index :: _onStepProgress_vidbot(), percent: 79 [09:44:58.065] index :: _onStepProgress_vidbot(), percent: 84 [09:44:58.568] index :: _onStepProgress_vidbot(), percent: 89 [09:44:59.074] index :: _onStepProgress_vidbot(), percent: 95 [09:44:59.576] index :: _onStepProgress_vidbot(), percent: 100 [09:44:59.604] Vidbot :: ffmpeg.on( 'end' ), Done! [09:44:59.605] StreamManager :: dispose() [09:44:59.605] CanvasStream[canvas_1521325319223] :: dispose() [09:44:59.610] Vidbot :: fflog.on( 'finish' ) [09:44:59.610] fflog.path: /var/www/html/clients/18307/video/01993150-343A-F67E-EAB8-829655C5D53D.mp4.fflog [09:44:59.610] Vidbot :: _next(), _stepIndex:4 of 4 [09:44:59.610] index :: _onStepCompleted_vidbot(), step: 4 [09:44:59.610] index :: _onComplete_vidbot(), data: { stepTime: 0, appTime: 152.432, output: '/var/www/html/clients/18307/video/01993150-343A-F67E-EAB8-829655C5D53D.mp4', duration: 41.35 } --------------------------------------------------------------------------------------------------------------- Output File : /var/app/video_pre_processor/jobs/postp//var/www/html/clients/18307/video/01993150-343A-F67E-EAB8-829655C5D53D.mp4 Media Duration : 00:00:41.350 Generation Time : 00:02:32.431 ---------------------------------------------------------------------------------------------------------------