--------------------------------------------------------------------------------------------------------------- INITIALIZING VIDBOT, v1.7.1... --------------------------------------------------------------------------------------------------------------- [20:21:53.474] Vidbot :: start() [20:21:53.474] Vidbot :: _next(), _stepIndex:0 of 4 [20:21:53.474] index :: _onStepStarted_vidbot(), step: 1 [20:21:53.476] Vidbot :: step[0], label:Initializing Core [20:21:53.484] index :: _onStepProgress_vidbot(), percent: 20 [20:21:53.484] Vidbot :: _parse() [20:21:53.485] index :: _onStepProgress_vidbot(), percent: 40 [20:21:53.486] Vidbot :: _validate() [20:21:53.486] index :: _onStepProgress_vidbot(), percent: 60 [20:21:53.486] Vidbot :: _fonts() [20:21:53.487] FabricFontManager :: add(), id: SourceSansPro-Bold [20:21:53.487] src: /var/app/Vidbot-V2/assets/fonts/SourceSansPro/SourceSansPro-Bold.ttf [20:21:53.495] FabricFontManager :: add(), id: SourceSansPro-Light [20:21:53.495] src: /var/app/Vidbot-V2/assets/fonts/SourceSansPro/SourceSansPro-Light.ttf [20:21:53.496] FabricFontManager :: add(), id: DINOT-Bold [20:21:53.496] src: /var/app/Vidbot-V2/assets/fonts/DINOT/DINOT-Bold.otf [20:21:53.496] FabricFontManager :: add(), id: DINOT-Light [20:21:53.497] src: /var/app/Vidbot-V2/assets/fonts/DINOT/DINOT-Light.otf [20:21:53.497] FabricFontManager :: add(), id: TradeGothicLTStd-Regular [20:21:53.497] src: /var/app/Vidbot-V2/assets/fonts/TradeGothicCond/TradeGothicLTStd-Regular.otf [20:21:53.498] FabricFontManager :: add(), id: TradeGothicLTStd-Bold [20:21:53.498] src: /var/app/Vidbot-V2/assets/fonts/TradeGothicCond/TradeGothicLTStd-Bold.otf [20:21:53.499] index :: _onStepProgress_vidbot(), percent: 80 [20:21:53.499] Vidbot :: _clips() [20:21:53.500] StreamManager :: add(), id:audio_vo, type:audio [20:21:53.500] AudioClip[audio_vo] :: constructor() [20:21:53.500] InputStream[audio_vo] :: constructor() [20:21:53.500] Vidbot :: StreamMgr.on( 'ADDED' ), data: { streamID: 'audio_vo', clipId: null } [20:21:53.503] StreamManager :: add(), id:bg_music, type:audio [20:21:53.503] AudioClip[bg_music] :: constructor() [20:21:53.503] InputStream[bg_music] :: constructor() [20:21:53.503] Vidbot :: StreamMgr.on( 'ADDED' ), data: { streamID: 'bg_music', clipId: null } [20:21:53.504] StreamManager :: add(), id:simplefadedisplay, type:canvas [20:21:53.504] CanvasStream[canvas_1486860648745] :: constructor() [20:21:53.504] InputStream[canvas_1486860648745] :: constructor() [20:21:53.576] KenBurnsSlideshow[simplefadedisplay] :: constructor() [20:21:53.577] Overlay[simplefadedisplay] :: constructor() [20:21:53.577] CanvasClip[simplefadedisplay] :: constructor() [20:21:53.577] Clip[simplefadedisplay] :: constructor() [20:21:53.577] clip:"simplefadedisplay" added to stream:"canvas_1486860648745" [20:21:53.577] Vidbot :: StreamMgr.on( 'ADDED' ), data: { streamID: 'canvas_1486860648745', clipId: 'simplefadedisplay' } [20:21:53.577] StreamManager :: add(), id:caption, type:canvas [20:21:53.578] RenCaption[caption] :: constructor() [20:21:53.578] Ren[caption] :: constructor() [20:21:53.578] Overlay[caption] :: constructor() [20:21:53.578] CanvasClip[caption] :: constructor() [20:21:53.578] Clip[caption] :: constructor() [20:21:53.578] clip:"caption" added to stream:"canvas_1486860648745" [20:21:53.578] Vidbot :: StreamMgr.on( 'ADDED' ), data: { streamID: 'canvas_1486860648745', clipId: 'caption' } [20:21:53.578] all added... [20:21:53.578] Vidbot :: _next(), _stepIndex:1 of 4 [20:21:53.578] index :: _onStepCompleted_vidbot(), step: 1 [20:21:53.579] index :: _onStepStarted_vidbot(), step: 2 [20:21:53.579] Vidbot :: step[1], label:Initializing Input Streams [20:21:53.579] StreamManager :: init() [20:21:53.580] Vidbot :: StreamMgr.on( 'STREAM_INITED' ), data: { streamID: 'audio_vo', progress: 0.3333333333333333 } [20:21:53.580] index :: _onStepProgress_vidbot(), percent: 33 [20:21:53.580] Vidbot :: StreamMgr.on( 'STREAM_INITED' ), data: { streamID: 'bg_music', progress: 0.6666666666666666 } [20:21:53.580] index :: _onStepProgress_vidbot(), percent: 67 [20:21:53.580] CanvasStream[canvas_1486860648745] :: _init(), BEGIN [20:21:53.581] i:0, c.id:simplefadedisplay [20:21:53.581] KenBurnsSlideshow[simplefadedisplay] :: _init(), BEGIN [20:21:53.581] KenBurnsSlideshow[simplefadedisplay] :: _validate() [20:21:53.582] KenBurnsSlideshow[undefined] :: _validateAnim() [20:21:53.582] KenBurnsSlideshow[undefined] :: _validateTheme() [20:21:53.583] i:1, c.id:caption [20:21:53.583] RenCaption[caption] :: _init() [20:21:53.583] RenCaption[caption] :: _validate() [20:21:53.585] KenBurnsSlideshow[simplefadedisplay] :: _build() [20:21:53.590] AnimatedImageFrame[aif] :: constructor() [20:21:53.591] AnimatedImageFrame[aif] :: _init(), BEGIN [20:21:53.592] CanvasClip :: LoadImageWithPromise(), src: 93D5E6EA-81F0-0311-C0F5-1402848D09DB_1.jpg [20:21:53.603] RenCaption[caption] :: _build() [20:21:53.618] Overlay[caption] :: _animate() [20:21:53.620] CanvasStream[caption] :: _init(), p.then() [20:21:53.634] CanvasClip :: LoadImageWithPromise(), loaded, isError: false [20:21:53.638] AnimatedImageFrame[aif] :: _init(), END [20:21:53.639] AnimatedImageFrame[aif] :: constructor() [20:21:53.639] AnimatedImageFrame[aif] :: _init(), BEGIN [20:21:53.639] CanvasClip :: LoadImageWithPromise(), src: 93D5E6EA-81F0-0311-C0F5-1402848D09DB_2.jpg [20:21:53.651] CanvasClip :: LoadImageWithPromise(), loaded, isError: false [20:21:53.652] AnimatedImageFrame[aif] :: _init(), END [20:21:53.652] AnimatedImageFrame[aif] :: constructor() [20:21:53.653] AnimatedImageFrame[aif] :: _init(), BEGIN [20:21:53.653] CanvasClip :: LoadImageWithPromise(), src: 93D5E6EA-81F0-0311-C0F5-1402848D09DB_3.jpg [20:21:53.663] CanvasClip :: LoadImageWithPromise(), loaded, isError: false [20:21:53.664] AnimatedImageFrame[aif] :: _init(), END [20:21:53.664] AnimatedImageFrame[aif] :: constructor() [20:21:53.665] AnimatedImageFrame[aif] :: _init(), BEGIN [20:21:53.665] CanvasClip :: LoadImageWithPromise(), src: 93D5E6EA-81F0-0311-C0F5-1402848D09DB_4.jpg [20:21:53.675] CanvasClip :: LoadImageWithPromise(), loaded, isError: false [20:21:53.676] AnimatedImageFrame[aif] :: _init(), END [20:21:53.676] AnimatedImageFrame[aif] :: constructor() [20:21:53.676] AnimatedImageFrame[aif] :: _init(), BEGIN [20:21:53.676] CanvasClip :: LoadImageWithPromise(), src: 93D5E6EA-81F0-0311-C0F5-1402848D09DB_1.jpg [20:21:53.686] CanvasClip :: LoadImageWithPromise(), loaded, isError: false [20:21:53.687] AnimatedImageFrame[aif] :: _init(), END [20:21:53.688] AnimatedImageFrame[aif] :: constructor() [20:21:53.688] AnimatedImageFrame[aif] :: _init(), BEGIN [20:21:53.688] CanvasClip :: LoadImageWithPromise(), src: 93D5E6EA-81F0-0311-C0F5-1402848D09DB_2.jpg [20:21:53.698] CanvasClip :: LoadImageWithPromise(), loaded, isError: false [20:21:53.699] AnimatedImageFrame[aif] :: _init(), END [20:21:53.699] AnimatedImageFrame[aif] :: constructor() [20:21:53.699] AnimatedImageFrame[aif] :: _init(), BEGIN [20:21:53.699] CanvasClip :: LoadImageWithPromise(), src: 93D5E6EA-81F0-0311-C0F5-1402848D09DB_3.jpg [20:21:53.709] CanvasClip :: LoadImageWithPromise(), loaded, isError: false [20:21:53.710] AnimatedImageFrame[aif] :: _init(), END [20:21:53.710] AnimatedImageFrame[aif] :: constructor() [20:21:53.711] AnimatedImageFrame[aif] :: _init(), BEGIN [20:21:53.711] CanvasClip :: LoadImageWithPromise(), src: 93D5E6EA-81F0-0311-C0F5-1402848D09DB_4.jpg [20:21:53.720] CanvasClip :: LoadImageWithPromise(), loaded, isError: false [20:21:53.721] AnimatedImageFrame[aif] :: _init(), END [20:21:53.722] AnimatedImageFrame[aif] :: constructor() [20:21:53.722] AnimatedImageFrame[aif] :: _init(), BEGIN [20:21:53.722] CanvasClip :: LoadImageWithPromise(), src: 93D5E6EA-81F0-0311-C0F5-1402848D09DB_1.jpg [20:21:53.732] CanvasClip :: LoadImageWithPromise(), loaded, isError: false [20:21:53.732] AnimatedImageFrame[aif] :: _init(), END [20:21:53.733] AnimatedImageFrame[aif] :: constructor() [20:21:53.733] AnimatedImageFrame[aif] :: _init(), BEGIN [20:21:53.733] CanvasClip :: LoadImageWithPromise(), src: 93D5E6EA-81F0-0311-C0F5-1402848D09DB_2.jpg [20:21:53.743] CanvasClip :: LoadImageWithPromise(), loaded, isError: false [20:21:53.744] AnimatedImageFrame[aif] :: _init(), END [20:21:53.744] AnimatedImageFrame[aif] :: constructor() [20:21:53.744] AnimatedImageFrame[aif] :: _init(), BEGIN [20:21:53.744] CanvasClip :: LoadImageWithPromise(), src: 93D5E6EA-81F0-0311-C0F5-1402848D09DB_3.jpg [20:21:53.754] CanvasClip :: LoadImageWithPromise(), loaded, isError: false [20:21:53.755] AnimatedImageFrame[aif] :: _init(), END [20:21:53.756] AnimatedImageFrame[aif] :: constructor() [20:21:53.756] AnimatedImageFrame[aif] :: _init(), BEGIN [20:21:53.756] CanvasClip :: LoadImageWithPromise(), src: 93D5E6EA-81F0-0311-C0F5-1402848D09DB_4.jpg [20:21:53.766] CanvasClip :: LoadImageWithPromise(), loaded, isError: false [20:21:53.767] AnimatedImageFrame[aif] :: _init(), END [20:21:53.767] AnimatedImageFrame[aif] :: constructor() [20:21:53.767] AnimatedImageFrame[aif] :: _init(), BEGIN [20:21:53.767] CanvasClip :: LoadImageWithPromise(), src: 93D5E6EA-81F0-0311-C0F5-1402848D09DB_1.jpg [20:21:53.778] CanvasClip :: LoadImageWithPromise(), loaded, isError: false [20:21:53.778] AnimatedImageFrame[aif] :: _init(), END [20:21:53.779] Overlay[simplefadedisplay] :: _animate() [20:21:53.779] KenBurnsSlideshow[simplefadedisplay] :: _init(), END [20:21:53.779] CanvasStream[simplefadedisplay] :: _init(), p.then() [20:21:53.779] CanvasStream[canvas_1486860648745] :: _init(), promise.all.then() [20:21:53.781] CanvasStream[canvas_1486860648745] :: _init(), END [20:21:53.781] StreamMangaer :: init(), stream[canvas_1486860648745].then() [20:21:53.782] Vidbot :: StreamMgr.on( 'STREAM_INITED' ), data: { streamID: 'canvas_1486860648745', progress: 1 } [20:21:53.782] index :: _onStepProgress_vidbot(), percent: 100 [20:21:53.782] StreamManager :: init(), promise.all.then... [20:21:53.782] Vidbot :: StreamMgr.on( 'INITED' ) [20:21:53.782] Vidbot :: _next(), _stepIndex:2 of 4 [20:21:53.782] index :: _onStepCompleted_vidbot(), step: 2 [20:21:53.782] index :: _onStepStarted_vidbot(), step: 3 [20:21:53.783] Vidbot :: step[2], label:Rendering Canvas Streams [20:21:53.783] Vidbot :: StreamMgr.on( 'RENDER_STARTED' ), data: undefined [20:21:53.783] StreamManager :: render() [20:21:53.784] CanvasStream[canvas_1486860648745] :: render() [20:21:53.814] index :: _onStepProgress_vidbot(), percent: 0 [20:21:58.660] index :: _onStepProgress_vidbot(), percent: 5 [20:22:04.224] index :: _onStepProgress_vidbot(), percent: 10 [20:22:09.504] index :: _onStepProgress_vidbot(), percent: 15 [20:22:15.584] index :: _onStepProgress_vidbot(), percent: 20 [20:22:21.576] index :: _onStepProgress_vidbot(), percent: 25 [20:22:27.385] index :: _onStepProgress_vidbot(), percent: 30 [20:22:33.441] index :: _onStepProgress_vidbot(), percent: 35 [20:22:39.256] index :: _onStepProgress_vidbot(), percent: 40 [20:22:45.195] index :: _onStepProgress_vidbot(), percent: 45 [20:22:50.733] index :: _onStepProgress_vidbot(), percent: 50 [20:22:56.238] index :: _onStepProgress_vidbot(), percent: 55 [20:23:02.777] index :: _onStepProgress_vidbot(), percent: 60 [20:23:08.915] index :: _onStepProgress_vidbot(), percent: 65 [20:23:14.552] index :: _onStepProgress_vidbot(), percent: 70 [20:23:21.082] index :: _onStepProgress_vidbot(), percent: 75 [20:23:27.145] index :: _onStepProgress_vidbot(), percent: 80 [20:23:32.473] index :: _onStepProgress_vidbot(), percent: 85 [20:23:38.646] index :: _onStepProgress_vidbot(), percent: 90 [20:23:44.603] index :: _onStepProgress_vidbot(), percent: 95 [20:23:51.282] index :: _onStepProgress_vidbot(), percent: 100 [20:23:51.875] StreamManager :: render(), Promise.all.then... [20:23:51.875] Vidbot :: StreamMgr.on( 'RENDER_COMPLETED' ), data: undefined [20:23:51.875] Vidbot :: _next(), _stepIndex:3 of 4 [20:23:51.876] index :: _onStepCompleted_vidbot(), step: 3 [20:23:51.876] index :: _onStepStarted_vidbot(), step: 4 [20:23:51.877] Vidbot :: step[3], label:Encoding Media [20:23:51.880] CanvasFilters :: Overlay() [20:23:51.880] AudioStream[audio_vo] :: inputOptions() [20:23:51.881] AudioFilters :: Volume() [20:23:51.881] filter: [2:a]volume=1[2_vol] [20:23:51.881] AudioFilters :: Delay() [20:23:51.881] filter: [2_vol]adelay=0|0[2_del] [20:23:51.881] AudioStream[bg_music] :: inputOptions() [20:23:51.881] AudioFilters :: Volume() [20:23:51.881] filter: [3:a]volume=0.25[3_vol] [20:23:51.881] AudioFilters :: FadeOut() [20:23:51.882] filter: [3_vol]afade=t=out:st=38.34:d=1[3_fadeout] [20:23:51.882] AudioFilters :: Delay() [20:23:51.882] filter: [3_fadeout]adelay=0|0[3_del] [20:23:51.882] AudioFilters :: Mix() [20:23:51.882] filter: [2_del][3_del]amix=inputs=2:duration=longest[a_out] [20:23:51.882] mixed filter: [2_del][3_del]amix=inputs=2:duration=longest[a_out] [20:23:51.885] hang.time: 60 [20:23:52.000] Vidbot :: ffmpeg.on( 'start' ) [20:23:52.000] ffmpeg -f lavfi -i color=c=000000:s=640x360:r=30:duration=38.34 -r 30 -i ./tmp/canvas_1486860648745_%05d.png -to 00:00:38.340 -i file:///var/www/html/ [20:23:52.000] clients/1301/audio/93D5E6EA-81F0-0311-C0F5-1402848D09DB.mp3 -to 00:00:38.340 -i file:///var/app/video_pre_processor/assets/vidbot/_files/audio/Concept [20:23:52.000] 1.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= [20:23:52.000] 38.34: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 [20:23:52.000] _out] -map [1_out] -preset veryfast -crf 18 -movflags frag_keyframe+empty_moov -pix_fmt yuv420p /var/www/html/clients/1301/video/93D5E6EA-81F0-0311-C0 [20:23:52.000] F5-1402848D09DB.mp4 [20:23:52.134] index :: _onStepProgress_vidbot(), percent: -5417966764 [20:23:52.583] index :: _onStepProgress_vidbot(), percent: 2 [20:23:53.085] index :: _onStepProgress_vidbot(), percent: 7 [20:23:53.585] index :: _onStepProgress_vidbot(), percent: 13 [20:23:54.087] index :: _onStepProgress_vidbot(), percent: 18 [20:23:54.588] index :: _onStepProgress_vidbot(), percent: 23 [20:23:55.088] index :: _onStepProgress_vidbot(), percent: 29 [20:23:55.589] index :: _onStepProgress_vidbot(), percent: 36 [20:23:56.091] index :: _onStepProgress_vidbot(), percent: 42 [20:23:56.592] index :: _onStepProgress_vidbot(), percent: 48 [20:23:57.106] index :: _onStepProgress_vidbot(), percent: 56 [20:23:57.607] index :: _onStepProgress_vidbot(), percent: 61 [20:23:58.111] index :: _onStepProgress_vidbot(), percent: 66 [20:23:58.612] index :: _onStepProgress_vidbot(), percent: 73 [20:23:59.124] index :: _onStepProgress_vidbot(), percent: 79 [20:23:59.629] index :: _onStepProgress_vidbot(), percent: 85 [20:24:00.133] index :: _onStepProgress_vidbot(), percent: 90 [20:24:00.635] index :: _onStepProgress_vidbot(), percent: 95 [20:24:00.982] index :: _onStepProgress_vidbot(), percent: 100 [20:24:01.000] Vidbot :: ffmpeg.on( 'end' ), Done! [20:24:01.000] StreamManager :: dispose() [20:24:01.001] CanvasStream[canvas_1486860648745] :: dispose() [20:24:01.006] Vidbot :: fflog.on( 'finish' ) [20:24:01.006] fflog.path: /var/www/html/clients/1301/video/93D5E6EA-81F0-0311-C0F5-1402848D09DB.mp4.fflog [20:24:01.006] Vidbot :: _next(), _stepIndex:4 of 4 [20:24:01.006] index :: _onStepCompleted_vidbot(), step: 4 [20:24:01.007] index :: _onComplete_vidbot(), data: { stepTime: 0, appTime: 127.551, output: '/var/www/html/clients/1301/video/93D5E6EA-81F0-0311-C0F5-1402848D09DB.mp4', duration: 38.34 } --------------------------------------------------------------------------------------------------------------- Output File : /var/app/video_pre_processor/jobs/postp//var/www/html/clients/1301/video/93D5E6EA-81F0-0311-C0F5-1402848D09DB.mp4 Media Duration : 00:00:38.340 Generation Time : 00:02:07.551 ---------------------------------------------------------------------------------------------------------------