--------------------------------------------------------------------------------------------------------------- INITIALIZING VIDBOT, v1.7.1... --------------------------------------------------------------------------------------------------------------- [08:49:31.184] Vidbot :: start() [08:49:31.185] Vidbot :: _next(), _stepIndex:0 of 4 [08:49:31.185] index :: _onStepStarted_vidbot(), step: 1 [08:49:31.187] Vidbot :: step[0], label:Initializing Core [08:49:31.198] index :: _onStepProgress_vidbot(), percent: 20 [08:49:31.199] Vidbot :: _parse() [08:49:31.200] index :: _onStepProgress_vidbot(), percent: 40 [08:49:31.200] Vidbot :: _validate() [08:49:31.201] index :: _onStepProgress_vidbot(), percent: 60 [08:49:31.201] Vidbot :: _fonts() [08:49:31.201] FabricFontManager :: add(), id: SourceSansPro-Bold [08:49:31.201] src: /var/app/Vidbot-V2/assets/fonts/SourceSansPro/SourceSansPro-Bold.ttf [08:49:31.209] FabricFontManager :: add(), id: SourceSansPro-Light [08:49:31.210] src: /var/app/Vidbot-V2/assets/fonts/SourceSansPro/SourceSansPro-Light.ttf [08:49:31.210] FabricFontManager :: add(), id: DINOT-Bold [08:49:31.211] src: /var/app/Vidbot-V2/assets/fonts/DINOT/DINOT-Bold.otf [08:49:31.211] FabricFontManager :: add(), id: DINOT-Light [08:49:31.211] src: /var/app/Vidbot-V2/assets/fonts/DINOT/DINOT-Light.otf [08:49:31.212] FabricFontManager :: add(), id: TradeGothicLTStd-Regular [08:49:31.212] src: /var/app/Vidbot-V2/assets/fonts/TradeGothicCond/TradeGothicLTStd-Regular.otf [08:49:31.213] FabricFontManager :: add(), id: TradeGothicLTStd-Bold [08:49:31.213] src: /var/app/Vidbot-V2/assets/fonts/TradeGothicCond/TradeGothicLTStd-Bold.otf [08:49:31.214] index :: _onStepProgress_vidbot(), percent: 80 [08:49:31.216] Vidbot :: _clips() [08:49:31.216] StreamManager :: add(), id:audio_vo, type:audio [08:49:31.217] AudioClip[audio_vo] :: constructor() [08:49:31.217] InputStream[audio_vo] :: constructor() [08:49:31.217] Vidbot :: StreamMgr.on( 'ADDED' ), data: { streamID: 'audio_vo', clipId: null } [08:49:31.220] StreamManager :: add(), id:bg_music, type:audio [08:49:31.220] AudioClip[bg_music] :: constructor() [08:49:31.220] InputStream[bg_music] :: constructor() [08:49:31.220] Vidbot :: StreamMgr.on( 'ADDED' ), data: { streamID: 'bg_music', clipId: null } [08:49:31.221] StreamManager :: add(), id:simplefadedisplay, type:canvas [08:49:31.221] CanvasStream[canvas_1523619408231] :: constructor() [08:49:31.221] InputStream[canvas_1523619408231] :: constructor() [08:49:31.307] KenBurnsSlideshow[simplefadedisplay] :: constructor() [08:49:31.307] Overlay[simplefadedisplay] :: constructor() [08:49:31.308] CanvasClip[simplefadedisplay] :: constructor() [08:49:31.308] Clip[simplefadedisplay] :: constructor() [08:49:31.308] clip:"simplefadedisplay" added to stream:"canvas_1523619408231" [08:49:31.308] Vidbot :: StreamMgr.on( 'ADDED' ), data: { streamID: 'canvas_1523619408231', clipId: 'simplefadedisplay' } [08:49:31.308] StreamManager :: add(), id:caption, type:canvas [08:49:31.308] RenCaption[caption] :: constructor() [08:49:31.309] Ren[caption] :: constructor() [08:49:31.309] Overlay[caption] :: constructor() [08:49:31.309] CanvasClip[caption] :: constructor() [08:49:31.309] Clip[caption] :: constructor() [08:49:31.309] clip:"caption" added to stream:"canvas_1523619408231" [08:49:31.309] Vidbot :: StreamMgr.on( 'ADDED' ), data: { streamID: 'canvas_1523619408231', clipId: 'caption' } [08:49:31.309] all added... [08:49:31.309] Vidbot :: _next(), _stepIndex:1 of 4 [08:49:31.309] index :: _onStepCompleted_vidbot(), step: 1 [08:49:31.310] index :: _onStepStarted_vidbot(), step: 2 [08:49:31.310] Vidbot :: step[1], label:Initializing Input Streams [08:49:31.310] StreamManager :: init() [08:49:31.311] Vidbot :: StreamMgr.on( 'STREAM_INITED' ), data: { streamID: 'audio_vo', progress: 0.3333333333333333 } [08:49:31.311] index :: _onStepProgress_vidbot(), percent: 33 [08:49:31.311] Vidbot :: StreamMgr.on( 'STREAM_INITED' ), data: { streamID: 'bg_music', progress: 0.6666666666666666 } [08:49:31.311] index :: _onStepProgress_vidbot(), percent: 67 [08:49:31.312] CanvasStream[canvas_1523619408231] :: _init(), BEGIN [08:49:31.312] i:0, c.id:simplefadedisplay [08:49:31.312] KenBurnsSlideshow[simplefadedisplay] :: _init(), BEGIN [08:49:31.313] KenBurnsSlideshow[simplefadedisplay] :: _validate() [08:49:31.313] KenBurnsSlideshow[undefined] :: _validateAnim() [08:49:31.313] KenBurnsSlideshow[undefined] :: _validateTheme() [08:49:31.315] i:1, c.id:caption [08:49:31.315] RenCaption[caption] :: _init() [08:49:31.315] RenCaption[caption] :: _validate() [08:49:31.317] KenBurnsSlideshow[simplefadedisplay] :: _build() [08:49:31.323] AnimatedImageFrame[aif] :: constructor() [08:49:31.324] AnimatedImageFrame[aif] :: _init(), BEGIN [08:49:31.324] CanvasClip :: LoadImageWithPromise(), src: A5A55F68-5B85-C9E4-DEAF-503094ED7BBD_1.jpg [08:49:31.337] RenCaption[caption] :: _build() [08:49:31.354] Overlay[caption] :: _animate() [08:49:31.357] CanvasStream[caption] :: _init(), p.then() [08:49:31.380] CanvasClip :: LoadImageWithPromise(), loaded, isError: false [08:49:31.384] AnimatedImageFrame[aif] :: _init(), END [08:49:31.386] AnimatedImageFrame[aif] :: constructor() [08:49:31.386] AnimatedImageFrame[aif] :: _init(), BEGIN [08:49:31.386] CanvasClip :: LoadImageWithPromise(), src: A5A55F68-5B85-C9E4-DEAF-503094ED7BBD_2.jpg [08:49:31.405] CanvasClip :: LoadImageWithPromise(), loaded, isError: false [08:49:31.407] AnimatedImageFrame[aif] :: _init(), END [08:49:31.408] AnimatedImageFrame[aif] :: constructor() [08:49:31.408] AnimatedImageFrame[aif] :: _init(), BEGIN [08:49:31.408] CanvasClip :: LoadImageWithPromise(), src: A5A55F68-5B85-C9E4-DEAF-503094ED7BBD_3.jpg [08:49:31.426] CanvasClip :: LoadImageWithPromise(), loaded, isError: false [08:49:31.428] AnimatedImageFrame[aif] :: _init(), END [08:49:31.428] AnimatedImageFrame[aif] :: constructor() [08:49:31.428] AnimatedImageFrame[aif] :: _init(), BEGIN [08:49:31.428] CanvasClip :: LoadImageWithPromise(), src: A5A55F68-5B85-C9E4-DEAF-503094ED7BBD_4.jpg [08:49:31.446] CanvasClip :: LoadImageWithPromise(), loaded, isError: false [08:49:31.448] AnimatedImageFrame[aif] :: _init(), END [08:49:31.448] AnimatedImageFrame[aif] :: constructor() [08:49:31.448] AnimatedImageFrame[aif] :: _init(), BEGIN [08:49:31.449] CanvasClip :: LoadImageWithPromise(), src: A5A55F68-5B85-C9E4-DEAF-503094ED7BBD_1.jpg [08:49:31.466] CanvasClip :: LoadImageWithPromise(), loaded, isError: false [08:49:31.468] AnimatedImageFrame[aif] :: _init(), END [08:49:31.468] AnimatedImageFrame[aif] :: constructor() [08:49:31.469] AnimatedImageFrame[aif] :: _init(), BEGIN [08:49:31.469] CanvasClip :: LoadImageWithPromise(), src: A5A55F68-5B85-C9E4-DEAF-503094ED7BBD_2.jpg [08:49:31.486] CanvasClip :: LoadImageWithPromise(), loaded, isError: false [08:49:31.488] AnimatedImageFrame[aif] :: _init(), END [08:49:31.488] AnimatedImageFrame[aif] :: constructor() [08:49:31.488] AnimatedImageFrame[aif] :: _init(), BEGIN [08:49:31.488] CanvasClip :: LoadImageWithPromise(), src: A5A55F68-5B85-C9E4-DEAF-503094ED7BBD_3.jpg [08:49:31.506] CanvasClip :: LoadImageWithPromise(), loaded, isError: false [08:49:31.507] AnimatedImageFrame[aif] :: _init(), END [08:49:31.508] AnimatedImageFrame[aif] :: constructor() [08:49:31.508] AnimatedImageFrame[aif] :: _init(), BEGIN [08:49:31.508] CanvasClip :: LoadImageWithPromise(), src: A5A55F68-5B85-C9E4-DEAF-503094ED7BBD_4.jpg [08:49:31.526] CanvasClip :: LoadImageWithPromise(), loaded, isError: false [08:49:31.527] AnimatedImageFrame[aif] :: _init(), END [08:49:31.527] AnimatedImageFrame[aif] :: constructor() [08:49:31.528] AnimatedImageFrame[aif] :: _init(), BEGIN [08:49:31.528] CanvasClip :: LoadImageWithPromise(), src: A5A55F68-5B85-C9E4-DEAF-503094ED7BBD_1.jpg [08:49:31.545] CanvasClip :: LoadImageWithPromise(), loaded, isError: false [08:49:31.547] AnimatedImageFrame[aif] :: _init(), END [08:49:31.547] AnimatedImageFrame[aif] :: constructor() [08:49:31.547] AnimatedImageFrame[aif] :: _init(), BEGIN [08:49:31.547] CanvasClip :: LoadImageWithPromise(), src: A5A55F68-5B85-C9E4-DEAF-503094ED7BBD_2.jpg [08:49:31.565] CanvasClip :: LoadImageWithPromise(), loaded, isError: false [08:49:31.566] AnimatedImageFrame[aif] :: _init(), END [08:49:31.567] AnimatedImageFrame[aif] :: constructor() [08:49:31.567] AnimatedImageFrame[aif] :: _init(), BEGIN [08:49:31.567] CanvasClip :: LoadImageWithPromise(), src: A5A55F68-5B85-C9E4-DEAF-503094ED7BBD_3.jpg [08:49:31.584] CanvasClip :: LoadImageWithPromise(), loaded, isError: false [08:49:31.585] AnimatedImageFrame[aif] :: _init(), END [08:49:31.586] AnimatedImageFrame[aif] :: constructor() [08:49:31.586] AnimatedImageFrame[aif] :: _init(), BEGIN [08:49:31.586] CanvasClip :: LoadImageWithPromise(), src: A5A55F68-5B85-C9E4-DEAF-503094ED7BBD_4.jpg [08:49:31.604] CanvasClip :: LoadImageWithPromise(), loaded, isError: false [08:49:31.605] AnimatedImageFrame[aif] :: _init(), END [08:49:31.605] AnimatedImageFrame[aif] :: constructor() [08:49:31.605] AnimatedImageFrame[aif] :: _init(), BEGIN [08:49:31.606] CanvasClip :: LoadImageWithPromise(), src: A5A55F68-5B85-C9E4-DEAF-503094ED7BBD_1.jpg [08:49:31.632] CanvasClip :: LoadImageWithPromise(), loaded, isError: false [08:49:31.634] AnimatedImageFrame[aif] :: _init(), END [08:49:31.634] AnimatedImageFrame[aif] :: constructor() [08:49:31.634] AnimatedImageFrame[aif] :: _init(), BEGIN [08:49:31.634] CanvasClip :: LoadImageWithPromise(), src: A5A55F68-5B85-C9E4-DEAF-503094ED7BBD_2.jpg [08:49:31.652] CanvasClip :: LoadImageWithPromise(), loaded, isError: false [08:49:31.653] AnimatedImageFrame[aif] :: _init(), END [08:49:31.655] AnimatedImageFrame[aif] :: constructor() [08:49:31.655] AnimatedImageFrame[aif] :: _init(), BEGIN [08:49:31.656] CanvasClip :: LoadImageWithPromise(), src: A5A55F68-5B85-C9E4-DEAF-503094ED7BBD_3.jpg [08:49:31.673] CanvasClip :: LoadImageWithPromise(), loaded, isError: false [08:49:31.674] AnimatedImageFrame[aif] :: _init(), END [08:49:31.674] Overlay[simplefadedisplay] :: _animate() [08:49:31.675] KenBurnsSlideshow[simplefadedisplay] :: _init(), END [08:49:31.675] CanvasStream[simplefadedisplay] :: _init(), p.then() [08:49:31.675] CanvasStream[canvas_1523619408231] :: _init(), promise.all.then() [08:49:31.677] CanvasStream[canvas_1523619408231] :: _init(), END [08:49:31.678] StreamMangaer :: init(), stream[canvas_1523619408231].then() [08:49:31.678] Vidbot :: StreamMgr.on( 'STREAM_INITED' ), data: { streamID: 'canvas_1523619408231', progress: 1 } [08:49:31.679] index :: _onStepProgress_vidbot(), percent: 100 [08:49:31.679] StreamManager :: init(), promise.all.then... [08:49:31.679] Vidbot :: StreamMgr.on( 'INITED' ) [08:49:31.679] Vidbot :: _next(), _stepIndex:2 of 4 [08:49:31.679] index :: _onStepCompleted_vidbot(), step: 2 [08:49:31.679] index :: _onStepStarted_vidbot(), step: 3 [08:49:31.680] Vidbot :: step[2], label:Rendering Canvas Streams [08:49:31.680] Vidbot :: StreamMgr.on( 'RENDER_STARTED' ), data: undefined [08:49:31.680] StreamManager :: render() [08:49:31.681] CanvasStream[canvas_1523619408231] :: render() [08:49:31.718] index :: _onStepProgress_vidbot(), percent: 0 [08:49:41.783] index :: _onStepProgress_vidbot(), percent: 5 [08:49:52.471] index :: _onStepProgress_vidbot(), percent: 10 [08:50:04.095] index :: _onStepProgress_vidbot(), percent: 15 [08:50:15.580] index :: _onStepProgress_vidbot(), percent: 20 [08:50:26.835] index :: _onStepProgress_vidbot(), percent: 25 [08:50:37.713] index :: _onStepProgress_vidbot(), percent: 30 [08:50:48.203] index :: _onStepProgress_vidbot(), percent: 35 [08:50:58.908] index :: _onStepProgress_vidbot(), percent: 40 [08:51:10.469] index :: _onStepProgress_vidbot(), percent: 45 [08:51:20.984] index :: _onStepProgress_vidbot(), percent: 50 [08:51:33.198] index :: _onStepProgress_vidbot(), percent: 55 [08:51:45.074] index :: _onStepProgress_vidbot(), percent: 60 [08:51:57.259] index :: _onStepProgress_vidbot(), percent: 65 [08:52:09.158] index :: _onStepProgress_vidbot(), percent: 70 [08:52:21.537] index :: _onStepProgress_vidbot(), percent: 75 [08:52:33.534] index :: _onStepProgress_vidbot(), percent: 80 [08:52:45.340] index :: _onStepProgress_vidbot(), percent: 85 [08:52:57.561] index :: _onStepProgress_vidbot(), percent: 90 [08:53:10.046] index :: _onStepProgress_vidbot(), percent: 95 [08:53:21.918] index :: _onStepProgress_vidbot(), percent: 100 [08:53:23.220] StreamManager :: render(), Promise.all.then... [08:53:23.220] Vidbot :: StreamMgr.on( 'RENDER_COMPLETED' ), data: undefined [08:53:23.220] Vidbot :: _next(), _stepIndex:3 of 4 [08:53:23.221] index :: _onStepCompleted_vidbot(), step: 3 [08:53:23.221] index :: _onStepStarted_vidbot(), step: 4 [08:53:23.222] Vidbot :: step[3], label:Encoding Media [08:53:23.225] CanvasFilters :: Overlay() [08:53:23.225] AudioStream[audio_vo] :: inputOptions() [08:53:23.225] AudioFilters :: Volume() [08:53:23.226] filter: [2:a]volume=1[2_vol] [08:53:23.226] AudioFilters :: Delay() [08:53:23.226] filter: [2_vol]adelay=0|0[2_del] [08:53:23.226] AudioStream[bg_music] :: inputOptions() [08:53:23.226] AudioFilters :: Volume() [08:53:23.226] filter: [3:a]volume=0.25[3_vol] [08:53:23.226] AudioFilters :: FadeOut() [08:53:23.226] filter: [3_vol]afade=t=out:st=42.33:d=1[3_fadeout] [08:53:23.226] AudioFilters :: Delay() [08:53:23.227] filter: [3_fadeout]adelay=0|0[3_del] [08:53:23.227] AudioFilters :: Mix() [08:53:23.227] filter: [2_del][3_del]amix=inputs=2:duration=longest[a_out] [08:53:23.227] mixed filter: [2_del][3_del]amix=inputs=2:duration=longest[a_out] [08:53:23.230] hang.time: 60 [08:53:23.329] Vidbot :: ffmpeg.on( 'start' ) [08:53:23.330] ffmpeg -f lavfi -i color=c=000000:s=640x360:r=30:duration=42.33 -r 30 -i ./tmp/canvas_1523619408231_%05d.png -to 00:00:42.329 -i file:///var/www/html/ [08:53:23.330] clients/20631/audio/A5A55F68-5B85-C9E4-DEAF-503094ED7BBD.mp3 -to 00:00:42.329 -i file:///var/app/video_pre_processor/assets/vidbot/_files/audio/Jazz_3 [08:53:23.330] 0.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= [08:53:23.330] 42.33: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 [08:53:23.330] _out] -map [1_out] -preset veryfast -crf 18 -movflags frag_keyframe+empty_moov -pix_fmt yuv420p /var/www/html/clients/20631/video/A5A55F68-5B85-C9E4-D [08:53:23.330] EAF-503094ED7BBD.mp4 [08:53:23.558] index :: _onStepProgress_vidbot(), percent: -4907272519 [08:53:23.949] index :: _onStepProgress_vidbot(), percent: 2 [08:53:24.451] index :: _onStepProgress_vidbot(), percent: 5 [08:53:25.468] index :: _onStepProgress_vidbot(), percent: 11 [08:53:26.475] index :: _onStepProgress_vidbot(), percent: 17 [08:53:26.976] index :: _onStepProgress_vidbot(), percent: 20 [08:53:27.982] index :: _onStepProgress_vidbot(), percent: 26 [08:53:29.004] index :: _onStepProgress_vidbot(), percent: 32 [08:53:29.506] index :: _onStepProgress_vidbot(), percent: 35 [08:53:30.511] index :: _onStepProgress_vidbot(), percent: 40 [08:53:31.520] index :: _onStepProgress_vidbot(), percent: 46 [08:53:32.528] index :: _onStepProgress_vidbot(), percent: 52 [08:53:33.040] index :: _onStepProgress_vidbot(), percent: 55 [08:53:34.050] index :: _onStepProgress_vidbot(), percent: 62 [08:53:34.563] index :: _onStepProgress_vidbot(), percent: 65 [08:53:35.567] index :: _onStepProgress_vidbot(), percent: 71 [08:53:36.609] index :: _onStepProgress_vidbot(), percent: 77 [08:53:37.111] index :: _onStepProgress_vidbot(), percent: 81 [08:53:38.111] index :: _onStepProgress_vidbot(), percent: 87 [08:53:38.622] index :: _onStepProgress_vidbot(), percent: 91 [08:53:39.626] index :: _onStepProgress_vidbot(), percent: 97 [08:53:40.014] index :: _onStepProgress_vidbot(), percent: 100 [08:53:40.056] Vidbot :: ffmpeg.on( 'end' ), Done! [08:53:40.057] StreamManager :: dispose() [08:53:40.057] CanvasStream[canvas_1523619408231] :: dispose() [08:53:40.062] Vidbot :: fflog.on( 'finish' ) [08:53:40.062] fflog.path: /var/www/html/clients/20631/video/A5A55F68-5B85-C9E4-DEAF-503094ED7BBD.mp4.fflog [08:53:40.062] Vidbot :: _next(), _stepIndex:4 of 4 [08:53:40.062] index :: _onStepCompleted_vidbot(), step: 4 [08:53:40.063] index :: _onComplete_vidbot(), data: { stepTime: 0, appTime: 248.903, output: '/var/www/html/clients/20631/video/A5A55F68-5B85-C9E4-DEAF-503094ED7BBD.mp4', duration: 42.33 } --------------------------------------------------------------------------------------------------------------- Output File : /var/app/video_pre_processor/jobs/postp//var/www/html/clients/20631/video/A5A55F68-5B85-C9E4-DEAF-503094ED7BBD.mp4 Media Duration : 00:00:42.329 Generation Time : 00:04:08.902 ---------------------------------------------------------------------------------------------------------------