--------------------------------------------------------------------------------------------------------------- INITIALIZING VIDBOT, v1.6.0... --------------------------------------------------------------------------------------------------------------- [12:06:44.391] Vidbot :: start() [12:06:44.392] Vidbot :: _next(), _stepIndex:0 of 4 [12:06:44.392] index :: _onStepStarted_vidbot(), step: 1 [12:06:44.393] Vidbot :: step[0], label:Initializing Core [12:06:44.401] index :: _onStepProgress_vidbot(), percent: 20 [12:06:44.402] Vidbot :: _parse() [12:06:44.403] index :: _onStepProgress_vidbot(), percent: 40 [12:06:44.403] Vidbot :: _validate() [12:06:44.404] index :: _onStepProgress_vidbot(), percent: 60 [12:06:44.404] Vidbot :: _fonts() [12:06:44.405] FabricFontManager :: add(), id: SourceSansPro-Bold [12:06:44.405] src: /var/app/Vidbot-V2/assets/fonts/SourceSansPro/SourceSansPro-Bold.ttf [12:06:44.413] FabricFontManager :: add(), id: SourceSansPro-Light [12:06:44.413] src: /var/app/Vidbot-V2/assets/fonts/SourceSansPro/SourceSansPro-Light.ttf [12:06:44.414] FabricFontManager :: add(), id: DINOT-Bold [12:06:44.414] src: /var/app/Vidbot-V2/assets/fonts/DINOT/DINOT-Bold.otf [12:06:44.415] FabricFontManager :: add(), id: DINOT-Light [12:06:44.415] src: /var/app/Vidbot-V2/assets/fonts/DINOT/DINOT-Light.otf [12:06:44.416] FabricFontManager :: add(), id: TradeGothicLTStd-Regular [12:06:44.416] src: /var/app/Vidbot-V2/assets/fonts/TradeGothicCond/TradeGothicLTStd-Regular.otf [12:06:44.417] FabricFontManager :: add(), id: TradeGothicLTStd-Bold [12:06:44.417] src: /var/app/Vidbot-V2/assets/fonts/TradeGothicCond/TradeGothicLTStd-Bold.otf [12:06:44.418] index :: _onStepProgress_vidbot(), percent: 80 [12:06:44.418] Vidbot :: _clips() [12:06:44.419] StreamManager :: add(), id:audio_vo, type:audio [12:06:44.419] AudioClip[audio_vo] :: constructor() [12:06:44.419] InputStream[audio_vo] :: constructor() [12:06:44.420] Vidbot :: StreamMgr.on( 'ADDED' ), data: { streamID: 'audio_vo', clipId: null } [12:06:44.422] StreamManager :: add(), id:bg_music, type:audio [12:06:44.422] AudioClip[bg_music] :: constructor() [12:06:44.422] InputStream[bg_music] :: constructor() [12:06:44.423] Vidbot :: StreamMgr.on( 'ADDED' ), data: { streamID: 'bg_music', clipId: null } [12:06:44.423] StreamManager :: add(), id:simplefadedisplay, type:canvas [12:06:44.423] CanvasStream[canvas_1569903977866] :: constructor() [12:06:44.423] InputStream[canvas_1569903977866] :: constructor() [12:06:44.503] KenBurnsSlideshow[simplefadedisplay] :: constructor() [12:06:44.504] Overlay[simplefadedisplay] :: constructor() [12:06:44.504] CanvasClip[simplefadedisplay] :: constructor() [12:06:44.504] Clip[simplefadedisplay] :: constructor() [12:06:44.504] clip:"simplefadedisplay" added to stream:"canvas_1569903977866" [12:06:44.504] Vidbot :: StreamMgr.on( 'ADDED' ), data: { streamID: 'canvas_1569903977866', clipId: 'simplefadedisplay' } [12:06:44.504] StreamManager :: add(), id:caption, type:canvas [12:06:44.505] RenCaption[caption] :: constructor() [12:06:44.505] Ren[caption] :: constructor() [12:06:44.505] Overlay[caption] :: constructor() [12:06:44.505] CanvasClip[caption] :: constructor() [12:06:44.505] Clip[caption] :: constructor() [12:06:44.505] clip:"caption" added to stream:"canvas_1569903977866" [12:06:44.505] Vidbot :: StreamMgr.on( 'ADDED' ), data: { streamID: 'canvas_1569903977866', clipId: 'caption' } [12:06:44.505] all added... [12:06:44.505] Vidbot :: _next(), _stepIndex:1 of 4 [12:06:44.505] index :: _onStepCompleted_vidbot(), step: 1 [12:06:44.506] index :: _onStepStarted_vidbot(), step: 2 [12:06:44.506] Vidbot :: step[1], label:Initializing Input Streams [12:06:44.506] StreamManager :: init() [12:06:44.507] Vidbot :: StreamMgr.on( 'STREAM_INITED' ), data: { streamID: 'audio_vo', progress: 0.3333333333333333 } [12:06:44.507] index :: _onStepProgress_vidbot(), percent: 33 [12:06:44.507] Vidbot :: StreamMgr.on( 'STREAM_INITED' ), data: { streamID: 'bg_music', progress: 0.6666666666666666 } [12:06:44.507] index :: _onStepProgress_vidbot(), percent: 67 [12:06:44.507] CanvasStream[canvas_1569903977866] :: _init(), BEGIN [12:06:44.508] i:0, c.id:simplefadedisplay [12:06:44.508] KenBurnsSlideshow[simplefadedisplay] :: _init(), BEGIN [12:06:44.508] KenBurnsSlideshow[simplefadedisplay] :: _validate() [12:06:44.509] KenBurnsSlideshow[undefined] :: _validateAnim() [12:06:44.509] KenBurnsSlideshow[undefined] :: _validateTheme() [12:06:44.510] i:1, c.id:caption [12:06:44.511] RenCaption[caption] :: _init() [12:06:44.511] RenCaption[caption] :: _validate() [12:06:44.512] KenBurnsSlideshow[simplefadedisplay] :: _build() [12:06:44.518] AnimatedImageFrame[aif] :: constructor() [12:06:44.519] AnimatedImageFrame[aif] :: _init(), BEGIN [12:06:44.519] CanvasClip :: LoadImageWithPromise(), src: BA337BF6-565F-64B1-771A-80064DD731DE_1.jpg [12:06:44.531] RenCaption[caption] :: _build() [12:06:44.548] Overlay[caption] :: _animate() [12:06:44.550] CanvasStream[caption] :: _init(), p.then() [12:06:44.565] CanvasClip :: LoadImageWithPromise(), loaded, isError: false [12:06:44.568] AnimatedImageFrame[aif] :: _init(), END [12:06:44.569] AnimatedImageFrame[aif] :: constructor() [12:06:44.570] AnimatedImageFrame[aif] :: _init(), BEGIN [12:06:44.570] CanvasClip :: LoadImageWithPromise(), src: BA337BF6-565F-64B1-771A-80064DD731DE_2.jpg [12:06:44.583] CanvasClip :: LoadImageWithPromise(), loaded, isError: false [12:06:44.584] AnimatedImageFrame[aif] :: _init(), END [12:06:44.584] AnimatedImageFrame[aif] :: constructor() [12:06:44.585] AnimatedImageFrame[aif] :: _init(), BEGIN [12:06:44.585] CanvasClip :: LoadImageWithPromise(), src: BA337BF6-565F-64B1-771A-80064DD731DE_3.jpg [12:06:44.597] CanvasClip :: LoadImageWithPromise(), loaded, isError: false [12:06:44.598] AnimatedImageFrame[aif] :: _init(), END [12:06:44.598] AnimatedImageFrame[aif] :: constructor() [12:06:44.599] AnimatedImageFrame[aif] :: _init(), BEGIN [12:06:44.599] CanvasClip :: LoadImageWithPromise(), src: BA337BF6-565F-64B1-771A-80064DD731DE_4.jpg [12:06:44.610] CanvasClip :: LoadImageWithPromise(), loaded, isError: false [12:06:44.611] AnimatedImageFrame[aif] :: _init(), END [12:06:44.612] AnimatedImageFrame[aif] :: constructor() [12:06:44.612] AnimatedImageFrame[aif] :: _init(), BEGIN [12:06:44.612] CanvasClip :: LoadImageWithPromise(), src: BA337BF6-565F-64B1-771A-80064DD731DE_1.jpg [12:06:44.623] CanvasClip :: LoadImageWithPromise(), loaded, isError: false [12:06:44.624] AnimatedImageFrame[aif] :: _init(), END [12:06:44.625] AnimatedImageFrame[aif] :: constructor() [12:06:44.625] AnimatedImageFrame[aif] :: _init(), BEGIN [12:06:44.625] CanvasClip :: LoadImageWithPromise(), src: BA337BF6-565F-64B1-771A-80064DD731DE_2.jpg [12:06:44.635] CanvasClip :: LoadImageWithPromise(), loaded, isError: false [12:06:44.636] AnimatedImageFrame[aif] :: _init(), END [12:06:44.637] AnimatedImageFrame[aif] :: constructor() [12:06:44.637] AnimatedImageFrame[aif] :: _init(), BEGIN [12:06:44.637] CanvasClip :: LoadImageWithPromise(), src: BA337BF6-565F-64B1-771A-80064DD731DE_3.jpg [12:06:44.648] CanvasClip :: LoadImageWithPromise(), loaded, isError: false [12:06:44.649] AnimatedImageFrame[aif] :: _init(), END [12:06:44.649] AnimatedImageFrame[aif] :: constructor() [12:06:44.649] AnimatedImageFrame[aif] :: _init(), BEGIN [12:06:44.649] CanvasClip :: LoadImageWithPromise(), src: BA337BF6-565F-64B1-771A-80064DD731DE_4.jpg [12:06:44.660] CanvasClip :: LoadImageWithPromise(), loaded, isError: false [12:06:44.660] AnimatedImageFrame[aif] :: _init(), END [12:06:44.661] AnimatedImageFrame[aif] :: constructor() [12:06:44.661] AnimatedImageFrame[aif] :: _init(), BEGIN [12:06:44.661] CanvasClip :: LoadImageWithPromise(), src: BA337BF6-565F-64B1-771A-80064DD731DE_1.jpg [12:06:44.671] CanvasClip :: LoadImageWithPromise(), loaded, isError: false [12:06:44.672] AnimatedImageFrame[aif] :: _init(), END [12:06:44.673] AnimatedImageFrame[aif] :: constructor() [12:06:44.673] AnimatedImageFrame[aif] :: _init(), BEGIN [12:06:44.673] CanvasClip :: LoadImageWithPromise(), src: BA337BF6-565F-64B1-771A-80064DD731DE_2.jpg [12:06:44.683] CanvasClip :: LoadImageWithPromise(), loaded, isError: false [12:06:44.684] AnimatedImageFrame[aif] :: _init(), END [12:06:44.685] AnimatedImageFrame[aif] :: constructor() [12:06:44.685] AnimatedImageFrame[aif] :: _init(), BEGIN [12:06:44.685] CanvasClip :: LoadImageWithPromise(), src: BA337BF6-565F-64B1-771A-80064DD731DE_3.jpg [12:06:44.695] CanvasClip :: LoadImageWithPromise(), loaded, isError: false [12:06:44.696] AnimatedImageFrame[aif] :: _init(), END [12:06:44.696] AnimatedImageFrame[aif] :: constructor() [12:06:44.697] AnimatedImageFrame[aif] :: _init(), BEGIN [12:06:44.697] CanvasClip :: LoadImageWithPromise(), src: BA337BF6-565F-64B1-771A-80064DD731DE_4.jpg [12:06:44.707] CanvasClip :: LoadImageWithPromise(), loaded, isError: false [12:06:44.708] AnimatedImageFrame[aif] :: _init(), END [12:06:44.708] AnimatedImageFrame[aif] :: constructor() [12:06:44.708] AnimatedImageFrame[aif] :: _init(), BEGIN [12:06:44.708] CanvasClip :: LoadImageWithPromise(), src: BA337BF6-565F-64B1-771A-80064DD731DE_1.jpg [12:06:44.719] CanvasClip :: LoadImageWithPromise(), loaded, isError: false [12:06:44.720] AnimatedImageFrame[aif] :: _init(), END [12:06:44.720] AnimatedImageFrame[aif] :: constructor() [12:06:44.721] AnimatedImageFrame[aif] :: _init(), BEGIN [12:06:44.721] CanvasClip :: LoadImageWithPromise(), src: BA337BF6-565F-64B1-771A-80064DD731DE_2.jpg [12:06:44.731] CanvasClip :: LoadImageWithPromise(), loaded, isError: false [12:06:44.732] AnimatedImageFrame[aif] :: _init(), END [12:06:44.732] AnimatedImageFrame[aif] :: constructor() [12:06:44.732] AnimatedImageFrame[aif] :: _init(), BEGIN [12:06:44.732] CanvasClip :: LoadImageWithPromise(), src: BA337BF6-565F-64B1-771A-80064DD731DE_3.jpg [12:06:44.743] CanvasClip :: LoadImageWithPromise(), loaded, isError: false [12:06:44.743] AnimatedImageFrame[aif] :: _init(), END [12:06:44.744] Overlay[simplefadedisplay] :: _animate() [12:06:44.744] KenBurnsSlideshow[simplefadedisplay] :: _init(), END [12:06:44.745] CanvasStream[simplefadedisplay] :: _init(), p.then() [12:06:44.745] CanvasStream[canvas_1569903977866] :: _init(), promise.all.then() [12:06:44.747] CanvasStream[canvas_1569903977866] :: _init(), END [12:06:44.747] StreamMangaer :: init(), stream[canvas_1569903977866].then() [12:06:44.747] Vidbot :: StreamMgr.on( 'STREAM_INITED' ), data: { streamID: 'canvas_1569903977866', progress: 1 } [12:06:44.747] index :: _onStepProgress_vidbot(), percent: 100 [12:06:44.747] StreamManager :: init(), promise.all.then... [12:06:44.748] Vidbot :: StreamMgr.on( 'INITED' ) [12:06:44.748] Vidbot :: _next(), _stepIndex:2 of 4 [12:06:44.748] index :: _onStepCompleted_vidbot(), step: 2 [12:06:44.748] index :: _onStepStarted_vidbot(), step: 3 [12:06:44.748] Vidbot :: step[2], label:Rendering Canvas Streams [12:06:44.749] Vidbot :: StreamMgr.on( 'RENDER_STARTED' ), data: undefined [12:06:44.749] StreamManager :: render() [12:06:44.749] CanvasStream[canvas_1569903977866] :: render() [12:06:44.794] index :: _onStepProgress_vidbot(), percent: 0 [12:06:51.121] index :: _onStepProgress_vidbot(), percent: 5 [12:06:58.924] index :: _onStepProgress_vidbot(), percent: 10 [12:07:05.984] index :: _onStepProgress_vidbot(), percent: 15 [12:07:12.767] index :: _onStepProgress_vidbot(), percent: 20 [12:07:20.150] index :: _onStepProgress_vidbot(), percent: 25 [12:07:27.426] index :: _onStepProgress_vidbot(), percent: 30 [12:07:34.207] index :: _onStepProgress_vidbot(), percent: 35 [12:07:41.601] index :: _onStepProgress_vidbot(), percent: 40 [12:07:48.394] index :: _onStepProgress_vidbot(), percent: 45 [12:07:55.531] index :: _onStepProgress_vidbot(), percent: 50 [12:08:02.344] index :: _onStepProgress_vidbot(), percent: 55 [12:08:10.787] index :: _onStepProgress_vidbot(), percent: 60 [12:08:19.252] index :: _onStepProgress_vidbot(), percent: 65 [12:08:26.387] index :: _onStepProgress_vidbot(), percent: 70 [12:08:33.712] index :: _onStepProgress_vidbot(), percent: 75 [12:08:40.564] index :: _onStepProgress_vidbot(), percent: 80 [12:08:47.849] index :: _onStepProgress_vidbot(), percent: 85 [12:08:54.903] index :: _onStepProgress_vidbot(), percent: 90 [12:09:02.248] index :: _onStepProgress_vidbot(), percent: 95 [12:09:09.868] index :: _onStepProgress_vidbot(), percent: 100 [12:09:10.634] StreamManager :: render(), Promise.all.then... [12:09:10.635] Vidbot :: StreamMgr.on( 'RENDER_COMPLETED' ), data: undefined [12:09:10.635] Vidbot :: _next(), _stepIndex:3 of 4 [12:09:10.635] index :: _onStepCompleted_vidbot(), step: 3 [12:09:10.636] index :: _onStepStarted_vidbot(), step: 4 [12:09:10.637] Vidbot :: step[3], label:Encoding Media [12:09:10.639] CanvasFilters :: Overlay() [12:09:10.640] AudioStream[audio_vo] :: inputOptions() [12:09:10.640] AudioFilters :: Volume() [12:09:10.640] filter: [2:a]volume=1[2_vol] [12:09:10.640] AudioFilters :: Delay() [12:09:10.640] filter: [2_vol]adelay=0|0[2_del] [12:09:10.640] AudioStream[bg_music] :: inputOptions() [12:09:10.640] AudioFilters :: Volume() [12:09:10.640] filter: [3:a]volume=0.25[3_vol] [12:09:10.641] AudioFilters :: FadeOut() [12:09:10.641] filter: [3_vol]afade=t=out:st=43.04:d=1[3_fadeout] [12:09:10.641] AudioFilters :: Delay() [12:09:10.641] filter: [3_fadeout]adelay=0|0[3_del] [12:09:10.641] AudioFilters :: Mix() [12:09:10.641] filter: [2_del][3_del]amix=inputs=2:duration=longest[a_out] [12:09:10.641] mixed filter: [2_del][3_del]amix=inputs=2:duration=longest[a_out] [12:09:10.644] hang.time: 60 [12:09:10.746] Vidbot :: ffmpeg.on( 'start' ) [12:09:10.746] ffmpeg -f lavfi -i color=c=000000:s=640x360:r=30:duration=43.04 -r 30 -i ./tmp/canvas_1569903977866_%05d.png -to 00:00:43.039 -i file:///var/www/html/ [12:09:10.746] clients/5141/audio/BA337BF6-565F-64B1-771A-80064DD731DE.mp3 -to 00:00:43.039 -i file:///var/app/video_pre_processor/assets/vidbot/_files/audio/Concept [12:09:10.746] 5.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= [12:09:10.747] 43.04: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 [12:09:10.747] _out] -map [1_out] -preset veryfast -crf 18 -movflags frag_keyframe+empty_moov -pix_fmt yuv420p /var/www/html/clients/5141/video/BA337BF6-565F-64B1-77 [12:09:10.747] 1A-80064DD731DE.mp4 [12:09:10.860] index :: _onStepProgress_vidbot(), percent: -4826320765 [12:09:11.304] index :: _onStepProgress_vidbot(), percent: 2 [12:09:11.811] index :: _onStepProgress_vidbot(), percent: 6 [12:09:12.314] index :: _onStepProgress_vidbot(), percent: 12 [12:09:12.814] index :: _onStepProgress_vidbot(), percent: 16 [12:09:13.316] index :: _onStepProgress_vidbot(), percent: 20 [12:09:13.817] index :: _onStepProgress_vidbot(), percent: 25 [12:09:14.832] index :: _onStepProgress_vidbot(), percent: 33 [12:09:15.328] index :: _onStepProgress_vidbot(), percent: 36 [12:09:15.830] index :: _onStepProgress_vidbot(), percent: 40 [12:09:16.838] index :: _onStepProgress_vidbot(), percent: 48 [12:09:17.337] index :: _onStepProgress_vidbot(), percent: 53 [12:09:17.842] index :: _onStepProgress_vidbot(), percent: 57 [12:09:18.343] index :: _onStepProgress_vidbot(), percent: 61 [12:09:18.844] index :: _onStepProgress_vidbot(), percent: 65 [12:09:19.350] index :: _onStepProgress_vidbot(), percent: 70 [12:09:20.361] index :: _onStepProgress_vidbot(), percent: 79 [12:09:20.862] index :: _onStepProgress_vidbot(), percent: 83 [12:09:21.362] index :: _onStepProgress_vidbot(), percent: 88 [12:09:21.867] index :: _onStepProgress_vidbot(), percent: 92 [12:09:22.391] index :: _onStepProgress_vidbot(), percent: 96 [12:09:22.791] index :: _onStepProgress_vidbot(), percent: 100 [12:09:22.827] Vidbot :: ffmpeg.on( 'end' ), Done! [12:09:22.827] StreamManager :: dispose() [12:09:22.828] CanvasStream[canvas_1569903977866] :: dispose() [12:09:22.833] Vidbot :: fflog.on( 'finish' ) [12:09:22.833] fflog.path: /var/www/html/clients/5141/video/BA337BF6-565F-64B1-771A-80064DD731DE.mp4.fflog [12:09:22.833] Vidbot :: _next(), _stepIndex:4 of 4 [12:09:22.833] index :: _onStepCompleted_vidbot(), step: 4 [12:09:22.834] index :: _onComplete_vidbot(), data: { stepTime: 0.001, appTime: 158.462, output: '/var/www/html/clients/5141/video/BA337BF6-565F-64B1-771A-80064DD731DE.mp4', duration: 43.04 } --------------------------------------------------------------------------------------------------------------- Output File : /var/app/video_pre_processor/jobs/postp//var/www/html/clients/5141/video/BA337BF6-565F-64B1-771A-80064DD731DE.mp4 Media Duration : 00:00:43.039 Generation Time : 00:02:38.461 ---------------------------------------------------------------------------------------------------------------