--------------------------------------------------------------------------------------------------------------- INITIALIZING VIDBOT, v1.6.0... --------------------------------------------------------------------------------------------------------------- [20:00:31.514] Vidbot :: start() [20:00:31.514] Vidbot :: _next(), _stepIndex:0 of 4 [20:00:31.515] index :: _onStepStarted_vidbot(), step: 1 [20:00:31.516] Vidbot :: step[0], label:Initializing Core [20:00:31.523] index :: _onStepProgress_vidbot(), percent: 20 [20:00:31.524] Vidbot :: _parse() [20:00:31.525] index :: _onStepProgress_vidbot(), percent: 40 [20:00:31.525] Vidbot :: _validate() [20:00:31.526] index :: _onStepProgress_vidbot(), percent: 60 [20:00:31.526] Vidbot :: _fonts() [20:00:31.526] FabricFontManager :: add(), id: SourceSansPro-Bold [20:00:31.526] src: /var/app/Vidbot-V2/assets/fonts/SourceSansPro/SourceSansPro-Bold.ttf [20:00:31.534] FabricFontManager :: add(), id: SourceSansPro-Light [20:00:31.534] src: /var/app/Vidbot-V2/assets/fonts/SourceSansPro/SourceSansPro-Light.ttf [20:00:31.535] FabricFontManager :: add(), id: DINOT-Bold [20:00:31.535] src: /var/app/Vidbot-V2/assets/fonts/DINOT/DINOT-Bold.otf [20:00:31.536] FabricFontManager :: add(), id: DINOT-Light [20:00:31.536] src: /var/app/Vidbot-V2/assets/fonts/DINOT/DINOT-Light.otf [20:00:31.537] FabricFontManager :: add(), id: TradeGothicLTStd-Regular [20:00:31.537] src: /var/app/Vidbot-V2/assets/fonts/TradeGothicCond/TradeGothicLTStd-Regular.otf [20:00:31.537] FabricFontManager :: add(), id: TradeGothicLTStd-Bold [20:00:31.537] src: /var/app/Vidbot-V2/assets/fonts/TradeGothicCond/TradeGothicLTStd-Bold.otf [20:00:31.538] index :: _onStepProgress_vidbot(), percent: 80 [20:00:31.538] Vidbot :: _clips() [20:00:31.539] StreamManager :: add(), id:audio_vo, type:audio [20:00:31.539] AudioClip[audio_vo] :: constructor() [20:00:31.540] InputStream[audio_vo] :: constructor() [20:00:31.540] Vidbot :: StreamMgr.on( 'ADDED' ), data: { streamID: 'audio_vo', clipId: null } [20:00:31.542] StreamManager :: add(), id:bg_music, type:audio [20:00:31.542] AudioClip[bg_music] :: constructor() [20:00:31.542] InputStream[bg_music] :: constructor() [20:00:31.543] Vidbot :: StreamMgr.on( 'ADDED' ), data: { streamID: 'bg_music', clipId: null } [20:00:31.543] StreamManager :: add(), id:simplefadedisplay, type:canvas [20:00:31.543] CanvasStream[canvas_1159248390045] :: constructor() [20:00:31.543] InputStream[canvas_1159248390045] :: constructor() [20:00:31.621] KenBurnsSlideshow[simplefadedisplay] :: constructor() [20:00:31.621] Overlay[simplefadedisplay] :: constructor() [20:00:31.622] CanvasClip[simplefadedisplay] :: constructor() [20:00:31.622] Clip[simplefadedisplay] :: constructor() [20:00:31.622] clip:"simplefadedisplay" added to stream:"canvas_1159248390045" [20:00:31.622] Vidbot :: StreamMgr.on( 'ADDED' ), data: { streamID: 'canvas_1159248390045', clipId: 'simplefadedisplay' } [20:00:31.622] StreamManager :: add(), id:caption, type:canvas [20:00:31.623] RenCaption[caption] :: constructor() [20:00:31.623] Ren[caption] :: constructor() [20:00:31.623] Overlay[caption] :: constructor() [20:00:31.623] CanvasClip[caption] :: constructor() [20:00:31.623] Clip[caption] :: constructor() [20:00:31.623] clip:"caption" added to stream:"canvas_1159248390045" [20:00:31.623] Vidbot :: StreamMgr.on( 'ADDED' ), data: { streamID: 'canvas_1159248390045', clipId: 'caption' } [20:00:31.623] all added... [20:00:31.624] Vidbot :: _next(), _stepIndex:1 of 4 [20:00:31.624] index :: _onStepCompleted_vidbot(), step: 1 [20:00:31.624] index :: _onStepStarted_vidbot(), step: 2 [20:00:31.624] Vidbot :: step[1], label:Initializing Input Streams [20:00:31.625] StreamManager :: init() [20:00:31.625] Vidbot :: StreamMgr.on( 'STREAM_INITED' ), data: { streamID: 'audio_vo', progress: 0.3333333333333333 } [20:00:31.625] index :: _onStepProgress_vidbot(), percent: 33 [20:00:31.625] Vidbot :: StreamMgr.on( 'STREAM_INITED' ), data: { streamID: 'bg_music', progress: 0.6666666666666666 } [20:00:31.626] index :: _onStepProgress_vidbot(), percent: 67 [20:00:31.626] CanvasStream[canvas_1159248390045] :: _init(), BEGIN [20:00:31.626] i:0, c.id:simplefadedisplay [20:00:31.626] KenBurnsSlideshow[simplefadedisplay] :: _init(), BEGIN [20:00:31.627] KenBurnsSlideshow[simplefadedisplay] :: _validate() [20:00:31.627] KenBurnsSlideshow[undefined] :: _validateAnim() [20:00:31.628] KenBurnsSlideshow[undefined] :: _validateTheme() [20:00:31.629] i:1, c.id:caption [20:00:31.629] RenCaption[caption] :: _init() [20:00:31.629] RenCaption[caption] :: _validate() [20:00:31.630] KenBurnsSlideshow[simplefadedisplay] :: _build() [20:00:31.636] AnimatedImageFrame[aif] :: constructor() [20:00:31.637] AnimatedImageFrame[aif] :: _init(), BEGIN [20:00:31.637] CanvasClip :: LoadImageWithPromise(), src: B5FBE05F-844B-6A7D-AAD4-0931EEE3F8A8_1.jpg [20:00:31.649] RenCaption[caption] :: _build() [20:00:31.665] Overlay[caption] :: _animate() [20:00:31.667] CanvasStream[caption] :: _init(), p.then() [20:00:31.682] CanvasClip :: LoadImageWithPromise(), loaded, isError: false [20:00:31.684] AnimatedImageFrame[aif] :: _init(), END [20:00:31.686] AnimatedImageFrame[aif] :: constructor() [20:00:31.686] AnimatedImageFrame[aif] :: _init(), BEGIN [20:00:31.686] CanvasClip :: LoadImageWithPromise(), src: B5FBE05F-844B-6A7D-AAD4-0931EEE3F8A8_2.jpg [20:00:31.697] CanvasClip :: LoadImageWithPromise(), loaded, isError: false [20:00:31.699] AnimatedImageFrame[aif] :: _init(), END [20:00:31.699] AnimatedImageFrame[aif] :: constructor() [20:00:31.699] AnimatedImageFrame[aif] :: _init(), BEGIN [20:00:31.699] CanvasClip :: LoadImageWithPromise(), src: B5FBE05F-844B-6A7D-AAD4-0931EEE3F8A8_3.jpg [20:00:31.710] CanvasClip :: LoadImageWithPromise(), loaded, isError: false [20:00:31.711] AnimatedImageFrame[aif] :: _init(), END [20:00:31.711] AnimatedImageFrame[aif] :: constructor() [20:00:31.712] AnimatedImageFrame[aif] :: _init(), BEGIN [20:00:31.712] CanvasClip :: LoadImageWithPromise(), src: B5FBE05F-844B-6A7D-AAD4-0931EEE3F8A8_4.jpg [20:00:31.722] CanvasClip :: LoadImageWithPromise(), loaded, isError: false [20:00:31.723] AnimatedImageFrame[aif] :: _init(), END [20:00:31.723] AnimatedImageFrame[aif] :: constructor() [20:00:31.723] AnimatedImageFrame[aif] :: _init(), BEGIN [20:00:31.723] CanvasClip :: LoadImageWithPromise(), src: B5FBE05F-844B-6A7D-AAD4-0931EEE3F8A8_1.jpg [20:00:31.734] CanvasClip :: LoadImageWithPromise(), loaded, isError: false [20:00:31.735] AnimatedImageFrame[aif] :: _init(), END [20:00:31.735] AnimatedImageFrame[aif] :: constructor() [20:00:31.735] AnimatedImageFrame[aif] :: _init(), BEGIN [20:00:31.736] CanvasClip :: LoadImageWithPromise(), src: B5FBE05F-844B-6A7D-AAD4-0931EEE3F8A8_2.jpg [20:00:31.746] CanvasClip :: LoadImageWithPromise(), loaded, isError: false [20:00:31.747] AnimatedImageFrame[aif] :: _init(), END [20:00:31.747] AnimatedImageFrame[aif] :: constructor() [20:00:31.747] AnimatedImageFrame[aif] :: _init(), BEGIN [20:00:31.747] CanvasClip :: LoadImageWithPromise(), src: B5FBE05F-844B-6A7D-AAD4-0931EEE3F8A8_3.jpg [20:00:31.757] CanvasClip :: LoadImageWithPromise(), loaded, isError: false [20:00:31.758] AnimatedImageFrame[aif] :: _init(), END [20:00:31.759] AnimatedImageFrame[aif] :: constructor() [20:00:31.759] AnimatedImageFrame[aif] :: _init(), BEGIN [20:00:31.759] CanvasClip :: LoadImageWithPromise(), src: B5FBE05F-844B-6A7D-AAD4-0931EEE3F8A8_4.jpg [20:00:31.769] CanvasClip :: LoadImageWithPromise(), loaded, isError: false [20:00:31.770] AnimatedImageFrame[aif] :: _init(), END [20:00:31.770] AnimatedImageFrame[aif] :: constructor() [20:00:31.770] AnimatedImageFrame[aif] :: _init(), BEGIN [20:00:31.770] CanvasClip :: LoadImageWithPromise(), src: B5FBE05F-844B-6A7D-AAD4-0931EEE3F8A8_1.jpg [20:00:31.780] CanvasClip :: LoadImageWithPromise(), loaded, isError: false [20:00:31.781] AnimatedImageFrame[aif] :: _init(), END [20:00:31.781] AnimatedImageFrame[aif] :: constructor() [20:00:31.782] AnimatedImageFrame[aif] :: _init(), BEGIN [20:00:31.782] CanvasClip :: LoadImageWithPromise(), src: B5FBE05F-844B-6A7D-AAD4-0931EEE3F8A8_2.jpg [20:00:31.792] CanvasClip :: LoadImageWithPromise(), loaded, isError: false [20:00:31.792] AnimatedImageFrame[aif] :: _init(), END [20:00:31.793] AnimatedImageFrame[aif] :: constructor() [20:00:31.793] AnimatedImageFrame[aif] :: _init(), BEGIN [20:00:31.793] CanvasClip :: LoadImageWithPromise(), src: B5FBE05F-844B-6A7D-AAD4-0931EEE3F8A8_3.jpg [20:00:31.804] CanvasClip :: LoadImageWithPromise(), loaded, isError: false [20:00:31.804] AnimatedImageFrame[aif] :: _init(), END [20:00:31.805] AnimatedImageFrame[aif] :: constructor() [20:00:31.805] AnimatedImageFrame[aif] :: _init(), BEGIN [20:00:31.805] CanvasClip :: LoadImageWithPromise(), src: B5FBE05F-844B-6A7D-AAD4-0931EEE3F8A8_4.jpg [20:00:31.815] CanvasClip :: LoadImageWithPromise(), loaded, isError: false [20:00:31.816] AnimatedImageFrame[aif] :: _init(), END [20:00:31.816] AnimatedImageFrame[aif] :: constructor() [20:00:31.816] AnimatedImageFrame[aif] :: _init(), BEGIN [20:00:31.816] CanvasClip :: LoadImageWithPromise(), src: B5FBE05F-844B-6A7D-AAD4-0931EEE3F8A8_1.jpg [20:00:31.827] CanvasClip :: LoadImageWithPromise(), loaded, isError: false [20:00:31.827] AnimatedImageFrame[aif] :: _init(), END [20:00:31.828] AnimatedImageFrame[aif] :: constructor() [20:00:31.828] AnimatedImageFrame[aif] :: _init(), BEGIN [20:00:31.828] CanvasClip :: LoadImageWithPromise(), src: B5FBE05F-844B-6A7D-AAD4-0931EEE3F8A8_2.jpg [20:00:31.838] CanvasClip :: LoadImageWithPromise(), loaded, isError: false [20:00:31.839] AnimatedImageFrame[aif] :: _init(), END [20:00:31.839] AnimatedImageFrame[aif] :: constructor() [20:00:31.839] AnimatedImageFrame[aif] :: _init(), BEGIN [20:00:31.839] CanvasClip :: LoadImageWithPromise(), src: B5FBE05F-844B-6A7D-AAD4-0931EEE3F8A8_3.jpg [20:00:31.849] CanvasClip :: LoadImageWithPromise(), loaded, isError: false [20:00:31.850] AnimatedImageFrame[aif] :: _init(), END [20:00:31.850] AnimatedImageFrame[aif] :: constructor() [20:00:31.850] AnimatedImageFrame[aif] :: _init(), BEGIN [20:00:31.850] CanvasClip :: LoadImageWithPromise(), src: B5FBE05F-844B-6A7D-AAD4-0931EEE3F8A8_4.jpg [20:00:31.860] CanvasClip :: LoadImageWithPromise(), loaded, isError: false [20:00:31.861] AnimatedImageFrame[aif] :: _init(), END [20:00:31.861] AnimatedImageFrame[aif] :: constructor() [20:00:31.861] AnimatedImageFrame[aif] :: _init(), BEGIN [20:00:31.861] CanvasClip :: LoadImageWithPromise(), src: B5FBE05F-844B-6A7D-AAD4-0931EEE3F8A8_1.jpg [20:00:31.871] CanvasClip :: LoadImageWithPromise(), loaded, isError: false [20:00:31.872] AnimatedImageFrame[aif] :: _init(), END [20:00:31.872] Overlay[simplefadedisplay] :: _animate() [20:00:31.872] KenBurnsSlideshow[simplefadedisplay] :: _init(), END [20:00:31.872] CanvasStream[simplefadedisplay] :: _init(), p.then() [20:00:31.873] CanvasStream[canvas_1159248390045] :: _init(), promise.all.then() [20:00:31.874] CanvasStream[canvas_1159248390045] :: _init(), END [20:00:31.875] StreamMangaer :: init(), stream[canvas_1159248390045].then() [20:00:31.875] Vidbot :: StreamMgr.on( 'STREAM_INITED' ), data: { streamID: 'canvas_1159248390045', progress: 1 } [20:00:31.875] index :: _onStepProgress_vidbot(), percent: 100 [20:00:31.875] StreamManager :: init(), promise.all.then... [20:00:31.875] Vidbot :: StreamMgr.on( 'INITED' ) [20:00:31.875] Vidbot :: _next(), _stepIndex:2 of 4 [20:00:31.875] index :: _onStepCompleted_vidbot(), step: 2 [20:00:31.876] index :: _onStepStarted_vidbot(), step: 3 [20:00:31.876] Vidbot :: step[2], label:Rendering Canvas Streams [20:00:31.876] Vidbot :: StreamMgr.on( 'RENDER_STARTED' ), data: undefined [20:00:31.876] StreamManager :: render() [20:00:31.877] CanvasStream[canvas_1159248390045] :: render() [20:00:31.907] index :: _onStepProgress_vidbot(), percent: 0 [20:00:38.150] index :: _onStepProgress_vidbot(), percent: 5 [20:00:44.893] index :: _onStepProgress_vidbot(), percent: 10 [20:00:51.785] index :: _onStepProgress_vidbot(), percent: 15 [20:00:58.683] index :: _onStepProgress_vidbot(), percent: 20 [20:01:05.554] index :: _onStepProgress_vidbot(), percent: 25 [20:01:12.470] index :: _onStepProgress_vidbot(), percent: 30 [20:01:19.543] index :: _onStepProgress_vidbot(), percent: 35 [20:01:26.331] index :: _onStepProgress_vidbot(), percent: 40 [20:01:33.396] index :: _onStepProgress_vidbot(), percent: 45 [20:01:40.416] index :: _onStepProgress_vidbot(), percent: 50 [20:01:47.368] index :: _onStepProgress_vidbot(), percent: 55 [20:01:54.451] index :: _onStepProgress_vidbot(), percent: 60 [20:02:01.812] index :: _onStepProgress_vidbot(), percent: 65 [20:02:08.873] index :: _onStepProgress_vidbot(), percent: 70 [20:02:16.118] index :: _onStepProgress_vidbot(), percent: 75 [20:02:23.126] index :: _onStepProgress_vidbot(), percent: 80 [20:02:30.043] index :: _onStepProgress_vidbot(), percent: 85 [20:02:37.129] index :: _onStepProgress_vidbot(), percent: 90 [20:02:44.192] index :: _onStepProgress_vidbot(), percent: 95 [20:02:50.820] index :: _onStepProgress_vidbot(), percent: 100 [20:02:51.509] StreamManager :: render(), Promise.all.then... [20:02:51.509] Vidbot :: StreamMgr.on( 'RENDER_COMPLETED' ), data: undefined [20:02:51.510] Vidbot :: _next(), _stepIndex:3 of 4 [20:02:51.510] index :: _onStepCompleted_vidbot(), step: 3 [20:02:51.510] index :: _onStepStarted_vidbot(), step: 4 [20:02:51.511] Vidbot :: step[3], label:Encoding Media [20:02:51.514] CanvasFilters :: Overlay() [20:02:51.514] AudioStream[audio_vo] :: inputOptions() [20:02:51.514] AudioFilters :: Volume() [20:02:51.514] filter: [2:a]volume=1[2_vol] [20:02:51.514] AudioFilters :: Delay() [20:02:51.515] filter: [2_vol]adelay=0|0[2_del] [20:02:51.515] AudioStream[bg_music] :: inputOptions() [20:02:51.515] AudioFilters :: Volume() [20:02:51.515] filter: [3:a]volume=0.25[3_vol] [20:02:51.515] AudioFilters :: FadeOut() [20:02:51.515] filter: [3_vol]afade=t=out:st=50.25:d=1[3_fadeout] [20:02:51.515] AudioFilters :: Delay() [20:02:51.515] filter: [3_fadeout]adelay=0|0[3_del] [20:02:51.515] AudioFilters :: Mix() [20:02:51.515] filter: [2_del][3_del]amix=inputs=2:duration=longest[a_out] [20:02:51.515] mixed filter: [2_del][3_del]amix=inputs=2:duration=longest[a_out] [20:02:51.518] hang.time: 60 [20:02:51.605] Vidbot :: ffmpeg.on( 'start' ) [20:02:51.606] ffmpeg -f lavfi -i color=c=000000:s=640x360:r=30:duration=50.25 -r 30 -i ./tmp/canvas_1159248390045_%05d.png -to 00:00:50.250 -i file:///var/www/html/ [20:02:51.606] clients/2060/audio/B5FBE05F-844B-6A7D-AAD4-0931EEE3F8A8.mp3 -to 00:00:50.250 -i file:///var/app/video_pre_processor/assets/vidbot/_files/audio/Concept [20:02:51.606] 6.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:02:51.606] 50.25: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:02:51.606] _out] -map [1_out] -preset veryfast -crf 18 -movflags frag_keyframe+empty_moov -pix_fmt yuv420p /var/www/html/clients/2060/video/B5FBE05F-844B-6A7D-AA [20:02:51.606] D4-0931EEE3F8A8.mp4 [20:02:51.716] index :: _onStepProgress_vidbot(), percent: -4133827776 [20:02:52.164] index :: _onStepProgress_vidbot(), percent: 3 [20:02:52.665] index :: _onStepProgress_vidbot(), percent: 8 [20:02:53.165] index :: _onStepProgress_vidbot(), percent: 13 [20:02:53.667] index :: _onStepProgress_vidbot(), percent: 21 [20:02:54.172] index :: _onStepProgress_vidbot(), percent: 27 [20:02:54.679] index :: _onStepProgress_vidbot(), percent: 33 [20:02:55.172] index :: _onStepProgress_vidbot(), percent: 39 [20:02:55.673] index :: _onStepProgress_vidbot(), percent: 45 [20:02:56.174] index :: _onStepProgress_vidbot(), percent: 53 [20:02:56.674] index :: _onStepProgress_vidbot(), percent: 58 [20:02:57.178] index :: _onStepProgress_vidbot(), percent: 66 [20:02:57.674] index :: _onStepProgress_vidbot(), percent: 73 [20:02:58.175] index :: _onStepProgress_vidbot(), percent: 80 [20:02:58.678] index :: _onStepProgress_vidbot(), percent: 87 [20:02:59.179] index :: _onStepProgress_vidbot(), percent: 93 [20:02:59.635] index :: _onStepProgress_vidbot(), percent: 100 [20:02:59.676] Vidbot :: ffmpeg.on( 'end' ), Done! [20:02:59.676] StreamManager :: dispose() [20:02:59.676] CanvasStream[canvas_1159248390045] :: dispose() [20:02:59.681] Vidbot :: fflog.on( 'finish' ) [20:02:59.681] fflog.path: /var/www/html/clients/2060/video/B5FBE05F-844B-6A7D-AAD4-0931EEE3F8A8.mp4.fflog [20:02:59.681] Vidbot :: _next(), _stepIndex:4 of 4 [20:02:59.681] index :: _onStepCompleted_vidbot(), step: 4 [20:02:59.681] index :: _onComplete_vidbot(), data: { stepTime: 0, appTime: 148.185, output: '/var/www/html/clients/2060/video/B5FBE05F-844B-6A7D-AAD4-0931EEE3F8A8.mp4', duration: 50.25 } --------------------------------------------------------------------------------------------------------------- Output File : /var/app/video_pre_processor/jobs/postp//var/www/html/clients/2060/video/B5FBE05F-844B-6A7D-AAD4-0931EEE3F8A8.mp4 Media Duration : 00:00:50.250 Generation Time : 00:02:28.185 ---------------------------------------------------------------------------------------------------------------