--------------------------------------------------------------------------------------------------------------- INITIALIZING VIDBOT, v1.6.0... --------------------------------------------------------------------------------------------------------------- [14:03:02.508] Vidbot :: start() [14:03:02.508] Vidbot :: _next(), _stepIndex:0 of 4 [14:03:02.509] index :: _onStepStarted_vidbot(), step: 1 [14:03:02.510] Vidbot :: step[0], label:Initializing Core [14:03:02.519] index :: _onStepProgress_vidbot(), percent: 20 [14:03:02.519] Vidbot :: _parse() [14:03:02.520] index :: _onStepProgress_vidbot(), percent: 40 [14:03:02.521] Vidbot :: _validate() [14:03:02.521] index :: _onStepProgress_vidbot(), percent: 60 [14:03:02.522] Vidbot :: _fonts() [14:03:02.522] FabricFontManager :: add(), id: SourceSansPro-Bold [14:03:02.522] src: /var/app/Vidbot-V2/assets/fonts/SourceSansPro/SourceSansPro-Bold.ttf [14:03:02.530] FabricFontManager :: add(), id: SourceSansPro-Light [14:03:02.531] src: /var/app/Vidbot-V2/assets/fonts/SourceSansPro/SourceSansPro-Light.ttf [14:03:02.531] FabricFontManager :: add(), id: DINOT-Bold [14:03:02.531] src: /var/app/Vidbot-V2/assets/fonts/DINOT/DINOT-Bold.otf [14:03:02.532] FabricFontManager :: add(), id: DINOT-Light [14:03:02.532] src: /var/app/Vidbot-V2/assets/fonts/DINOT/DINOT-Light.otf [14:03:02.533] FabricFontManager :: add(), id: TradeGothicLTStd-Regular [14:03:02.533] src: /var/app/Vidbot-V2/assets/fonts/TradeGothicCond/TradeGothicLTStd-Regular.otf [14:03:02.534] FabricFontManager :: add(), id: TradeGothicLTStd-Bold [14:03:02.534] src: /var/app/Vidbot-V2/assets/fonts/TradeGothicCond/TradeGothicLTStd-Bold.otf [14:03:02.535] index :: _onStepProgress_vidbot(), percent: 80 [14:03:02.535] Vidbot :: _clips() [14:03:02.536] StreamManager :: add(), id:audio_vo, type:audio [14:03:02.536] AudioClip[audio_vo] :: constructor() [14:03:02.536] InputStream[audio_vo] :: constructor() [14:03:02.537] Vidbot :: StreamMgr.on( 'ADDED' ), data: { streamID: 'audio_vo', clipId: null } [14:03:02.539] StreamManager :: add(), id:bg_music, type:audio [14:03:02.539] AudioClip[bg_music] :: constructor() [14:03:02.539] InputStream[bg_music] :: constructor() [14:03:02.540] Vidbot :: StreamMgr.on( 'ADDED' ), data: { streamID: 'bg_music', clipId: null } [14:03:02.540] StreamManager :: add(), id:simplefadedisplay, type:canvas [14:03:02.540] CanvasStream[canvas_1685006449963] :: constructor() [14:03:02.540] InputStream[canvas_1685006449963] :: constructor() [14:03:02.633] KenBurnsSlideshow[simplefadedisplay] :: constructor() [14:03:02.634] Overlay[simplefadedisplay] :: constructor() [14:03:02.634] CanvasClip[simplefadedisplay] :: constructor() [14:03:02.634] Clip[simplefadedisplay] :: constructor() [14:03:02.634] clip:"simplefadedisplay" added to stream:"canvas_1685006449963" [14:03:02.634] Vidbot :: StreamMgr.on( 'ADDED' ), data: { streamID: 'canvas_1685006449963', clipId: 'simplefadedisplay' } [14:03:02.634] StreamManager :: add(), id:caption, type:canvas [14:03:02.635] RenCaption[caption] :: constructor() [14:03:02.635] Ren[caption] :: constructor() [14:03:02.635] Overlay[caption] :: constructor() [14:03:02.635] CanvasClip[caption] :: constructor() [14:03:02.635] Clip[caption] :: constructor() [14:03:02.635] clip:"caption" added to stream:"canvas_1685006449963" [14:03:02.635] Vidbot :: StreamMgr.on( 'ADDED' ), data: { streamID: 'canvas_1685006449963', clipId: 'caption' } [14:03:02.635] all added... [14:03:02.635] Vidbot :: _next(), _stepIndex:1 of 4 [14:03:02.636] index :: _onStepCompleted_vidbot(), step: 1 [14:03:02.636] index :: _onStepStarted_vidbot(), step: 2 [14:03:02.636] Vidbot :: step[1], label:Initializing Input Streams [14:03:02.637] StreamManager :: init() [14:03:02.637] Vidbot :: StreamMgr.on( 'STREAM_INITED' ), data: { streamID: 'audio_vo', progress: 0.3333333333333333 } [14:03:02.637] index :: _onStepProgress_vidbot(), percent: 33 [14:03:02.637] Vidbot :: StreamMgr.on( 'STREAM_INITED' ), data: { streamID: 'bg_music', progress: 0.6666666666666666 } [14:03:02.637] index :: _onStepProgress_vidbot(), percent: 67 [14:03:02.638] CanvasStream[canvas_1685006449963] :: _init(), BEGIN [14:03:02.638] i:0, c.id:simplefadedisplay [14:03:02.638] KenBurnsSlideshow[simplefadedisplay] :: _init(), BEGIN [14:03:02.639] KenBurnsSlideshow[simplefadedisplay] :: _validate() [14:03:02.639] KenBurnsSlideshow[undefined] :: _validateAnim() [14:03:02.640] KenBurnsSlideshow[undefined] :: _validateTheme() [14:03:02.641] i:1, c.id:caption [14:03:02.641] RenCaption[caption] :: _init() [14:03:02.641] RenCaption[caption] :: _validate() [14:03:02.642] KenBurnsSlideshow[simplefadedisplay] :: _build() [14:03:02.649] AnimatedImageFrame[aif] :: constructor() [14:03:02.650] AnimatedImageFrame[aif] :: _init(), BEGIN [14:03:02.650] CanvasClip :: LoadImageWithPromise(), src: C9C8651A-718A-2CEF-92CF-3DE3F99CB7AD_1.jpg [14:03:02.663] RenCaption[caption] :: _build() [14:03:02.683] Overlay[caption] :: _animate() [14:03:02.687] CanvasStream[caption] :: _init(), p.then() [14:03:02.707] CanvasClip :: LoadImageWithPromise(), loaded, isError: false [14:03:02.710] AnimatedImageFrame[aif] :: _init(), END [14:03:02.712] AnimatedImageFrame[aif] :: constructor() [14:03:02.712] AnimatedImageFrame[aif] :: _init(), BEGIN [14:03:02.712] CanvasClip :: LoadImageWithPromise(), src: C9C8651A-718A-2CEF-92CF-3DE3F99CB7AD_2.jpg [14:03:02.724] CanvasClip :: LoadImageWithPromise(), loaded, isError: false [14:03:02.725] AnimatedImageFrame[aif] :: _init(), END [14:03:02.725] AnimatedImageFrame[aif] :: constructor() [14:03:02.726] AnimatedImageFrame[aif] :: _init(), BEGIN [14:03:02.726] CanvasClip :: LoadImageWithPromise(), src: C9C8651A-718A-2CEF-92CF-3DE3F99CB7AD_3.jpg [14:03:02.738] CanvasClip :: LoadImageWithPromise(), loaded, isError: false [14:03:02.739] AnimatedImageFrame[aif] :: _init(), END [14:03:02.740] AnimatedImageFrame[aif] :: constructor() [14:03:02.740] AnimatedImageFrame[aif] :: _init(), BEGIN [14:03:02.740] CanvasClip :: LoadImageWithPromise(), src: C9C8651A-718A-2CEF-92CF-3DE3F99CB7AD_4.jpg [14:03:02.752] CanvasClip :: LoadImageWithPromise(), loaded, isError: false [14:03:02.753] AnimatedImageFrame[aif] :: _init(), END [14:03:02.754] AnimatedImageFrame[aif] :: constructor() [14:03:02.754] AnimatedImageFrame[aif] :: _init(), BEGIN [14:03:02.754] CanvasClip :: LoadImageWithPromise(), src: C9C8651A-718A-2CEF-92CF-3DE3F99CB7AD_5.jpg [14:03:02.765] CanvasClip :: LoadImageWithPromise(), loaded, isError: false [14:03:02.766] AnimatedImageFrame[aif] :: _init(), END [14:03:02.767] AnimatedImageFrame[aif] :: constructor() [14:03:02.767] AnimatedImageFrame[aif] :: _init(), BEGIN [14:03:02.767] CanvasClip :: LoadImageWithPromise(), src: C9C8651A-718A-2CEF-92CF-3DE3F99CB7AD_6.jpg [14:03:02.780] CanvasClip :: LoadImageWithPromise(), loaded, isError: false [14:03:02.781] AnimatedImageFrame[aif] :: _init(), END [14:03:02.781] AnimatedImageFrame[aif] :: constructor() [14:03:02.782] AnimatedImageFrame[aif] :: _init(), BEGIN [14:03:02.782] CanvasClip :: LoadImageWithPromise(), src: C9C8651A-718A-2CEF-92CF-3DE3F99CB7AD_1.jpg [14:03:02.793] CanvasClip :: LoadImageWithPromise(), loaded, isError: false [14:03:02.794] AnimatedImageFrame[aif] :: _init(), END [14:03:02.795] AnimatedImageFrame[aif] :: constructor() [14:03:02.795] AnimatedImageFrame[aif] :: _init(), BEGIN [14:03:02.795] CanvasClip :: LoadImageWithPromise(), src: C9C8651A-718A-2CEF-92CF-3DE3F99CB7AD_2.jpg [14:03:02.806] CanvasClip :: LoadImageWithPromise(), loaded, isError: false [14:03:02.807] AnimatedImageFrame[aif] :: _init(), END [14:03:02.807] AnimatedImageFrame[aif] :: constructor() [14:03:02.807] AnimatedImageFrame[aif] :: _init(), BEGIN [14:03:02.807] CanvasClip :: LoadImageWithPromise(), src: C9C8651A-718A-2CEF-92CF-3DE3F99CB7AD_3.jpg [14:03:02.819] CanvasClip :: LoadImageWithPromise(), loaded, isError: false [14:03:02.820] AnimatedImageFrame[aif] :: _init(), END [14:03:02.820] AnimatedImageFrame[aif] :: constructor() [14:03:02.821] AnimatedImageFrame[aif] :: _init(), BEGIN [14:03:02.821] CanvasClip :: LoadImageWithPromise(), src: C9C8651A-718A-2CEF-92CF-3DE3F99CB7AD_4.jpg [14:03:02.832] CanvasClip :: LoadImageWithPromise(), loaded, isError: false [14:03:02.833] AnimatedImageFrame[aif] :: _init(), END [14:03:02.833] AnimatedImageFrame[aif] :: constructor() [14:03:02.833] AnimatedImageFrame[aif] :: _init(), BEGIN [14:03:02.833] CanvasClip :: LoadImageWithPromise(), src: C9C8651A-718A-2CEF-92CF-3DE3F99CB7AD_5.jpg [14:03:02.845] CanvasClip :: LoadImageWithPromise(), loaded, isError: false [14:03:02.846] AnimatedImageFrame[aif] :: _init(), END [14:03:02.847] AnimatedImageFrame[aif] :: constructor() [14:03:02.847] AnimatedImageFrame[aif] :: _init(), BEGIN [14:03:02.847] CanvasClip :: LoadImageWithPromise(), src: C9C8651A-718A-2CEF-92CF-3DE3F99CB7AD_6.jpg [14:03:02.861] CanvasClip :: LoadImageWithPromise(), loaded, isError: false [14:03:02.862] AnimatedImageFrame[aif] :: _init(), END [14:03:02.862] Overlay[simplefadedisplay] :: _animate() [14:03:02.863] KenBurnsSlideshow[simplefadedisplay] :: _init(), END [14:03:02.863] CanvasStream[simplefadedisplay] :: _init(), p.then() [14:03:02.863] CanvasStream[canvas_1685006449963] :: _init(), promise.all.then() [14:03:02.865] CanvasStream[canvas_1685006449963] :: _init(), END [14:03:02.865] StreamMangaer :: init(), stream[canvas_1685006449963].then() [14:03:02.865] Vidbot :: StreamMgr.on( 'STREAM_INITED' ), data: { streamID: 'canvas_1685006449963', progress: 1 } [14:03:02.865] index :: _onStepProgress_vidbot(), percent: 100 [14:03:02.865] StreamManager :: init(), promise.all.then... [14:03:02.866] Vidbot :: StreamMgr.on( 'INITED' ) [14:03:02.866] Vidbot :: _next(), _stepIndex:2 of 4 [14:03:02.866] index :: _onStepCompleted_vidbot(), step: 2 [14:03:02.866] index :: _onStepStarted_vidbot(), step: 3 [14:03:02.866] Vidbot :: step[2], label:Rendering Canvas Streams [14:03:02.867] Vidbot :: StreamMgr.on( 'RENDER_STARTED' ), data: undefined [14:03:02.867] StreamManager :: render() [14:03:02.867] CanvasStream[canvas_1685006449963] :: render() [14:03:02.904] index :: _onStepProgress_vidbot(), percent: 0 [14:03:08.246] index :: _onStepProgress_vidbot(), percent: 5 [14:03:13.510] index :: _onStepProgress_vidbot(), percent: 10 [14:03:17.508] index :: _onStepProgress_vidbot(), percent: 15 [14:03:22.448] index :: _onStepProgress_vidbot(), percent: 20 [14:03:27.925] index :: _onStepProgress_vidbot(), percent: 25 [14:03:34.040] index :: _onStepProgress_vidbot(), percent: 30 [14:03:39.544] index :: _onStepProgress_vidbot(), percent: 35 [14:03:43.675] index :: _onStepProgress_vidbot(), percent: 40 [14:03:48.334] index :: _onStepProgress_vidbot(), percent: 45 [14:03:53.276] index :: _onStepProgress_vidbot(), percent: 50 [14:03:58.612] index :: _onStepProgress_vidbot(), percent: 55 [14:04:04.058] index :: _onStepProgress_vidbot(), percent: 60 [14:04:08.309] index :: _onStepProgress_vidbot(), percent: 65 [14:04:13.264] index :: _onStepProgress_vidbot(), percent: 70 [14:04:18.748] index :: _onStepProgress_vidbot(), percent: 75 [14:04:24.891] index :: _onStepProgress_vidbot(), percent: 80 [14:04:30.718] index :: _onStepProgress_vidbot(), percent: 85 [14:04:35.345] index :: _onStepProgress_vidbot(), percent: 90 [14:04:40.207] index :: _onStepProgress_vidbot(), percent: 95 [14:04:45.286] index :: _onStepProgress_vidbot(), percent: 100 [14:04:45.828] StreamManager :: render(), Promise.all.then... [14:04:45.829] Vidbot :: StreamMgr.on( 'RENDER_COMPLETED' ), data: undefined [14:04:45.829] Vidbot :: _next(), _stepIndex:3 of 4 [14:04:45.829] index :: _onStepCompleted_vidbot(), step: 3 [14:04:45.830] index :: _onStepStarted_vidbot(), step: 4 [14:04:45.830] Vidbot :: step[3], label:Encoding Media [14:04:45.833] CanvasFilters :: Overlay() [14:04:45.834] AudioStream[audio_vo] :: inputOptions() [14:04:45.834] AudioFilters :: Volume() [14:04:45.834] filter: [2:a]volume=1[2_vol] [14:04:45.834] AudioFilters :: Delay() [14:04:45.834] filter: [2_vol]adelay=0|0[2_del] [14:04:45.835] AudioStream[bg_music] :: inputOptions() [14:04:45.835] AudioFilters :: Volume() [14:04:45.835] filter: [3:a]volume=0.25[3_vol] [14:04:45.835] AudioFilters :: FadeOut() [14:04:45.835] filter: [3_vol]afade=t=out:st=35.71:d=1[3_fadeout] [14:04:45.835] AudioFilters :: Delay() [14:04:45.835] filter: [3_fadeout]adelay=0|0[3_del] [14:04:45.835] AudioFilters :: Mix() [14:04:45.836] filter: [2_del][3_del]amix=inputs=2:duration=longest[a_out] [14:04:45.836] mixed filter: [2_del][3_del]amix=inputs=2:duration=longest[a_out] [14:04:45.838] hang.time: 60 [14:04:45.964] Vidbot :: ffmpeg.on( 'start' ) [14:04:45.965] ffmpeg -f lavfi -i color=c=000000:s=640x360:r=30:duration=35.71 -r 30 -i ./tmp/canvas_1685006449963_%05d.png -to 00:00:35.710 -i file:///var/www/html/ [14:04:45.965] clients/8006/audio/C9C8651A-718A-2CEF-92CF-3DE3F99CB7AD.mp3 -to 00:00:35.710 -i file:///var/app/video_pre_processor/assets/vidbot/_files/audio/Hip Hop [14:04:45.965] -3.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 [14:04:45.965] =35.71: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 [ [14:04:45.965] a_out] -map [1_out] -preset veryfast -crf 18 -movflags frag_keyframe+empty_moov -pix_fmt yuv420p /var/www/html/clients/8006/video/C9C8651A-718A-2CEF-9 [14:04:45.965] 2CF-3DE3F99CB7AD.mp4 [14:04:46.177] index :: _onStepProgress_vidbot(), percent: -5816993719 [14:04:46.558] index :: _onStepProgress_vidbot(), percent: 2 [14:04:47.061] index :: _onStepProgress_vidbot(), percent: 5 [14:04:48.103] index :: _onStepProgress_vidbot(), percent: 13 [14:04:48.599] index :: _onStepProgress_vidbot(), percent: 19 [14:04:49.101] index :: _onStepProgress_vidbot(), percent: 24 [14:04:49.601] index :: _onStepProgress_vidbot(), percent: 28 [14:04:50.103] index :: _onStepProgress_vidbot(), percent: 34 [14:04:50.603] index :: _onStepProgress_vidbot(), percent: 39 [14:04:51.109] index :: _onStepProgress_vidbot(), percent: 45 [14:04:51.621] index :: _onStepProgress_vidbot(), percent: 50 [14:04:52.136] index :: _onStepProgress_vidbot(), percent: 55 [14:04:52.638] index :: _onStepProgress_vidbot(), percent: 61 [14:04:53.139] index :: _onStepProgress_vidbot(), percent: 67 [14:04:53.647] index :: _onStepProgress_vidbot(), percent: 73 [14:04:54.141] index :: _onStepProgress_vidbot(), percent: 79 [14:04:54.648] index :: _onStepProgress_vidbot(), percent: 86 [14:04:55.143] index :: _onStepProgress_vidbot(), percent: 94 [14:04:55.531] index :: _onStepProgress_vidbot(), percent: 100 [14:04:55.552] Vidbot :: ffmpeg.on( 'end' ), Done! [14:04:55.552] StreamManager :: dispose() [14:04:55.552] CanvasStream[canvas_1685006449963] :: dispose() [14:04:55.559] Vidbot :: fflog.on( 'finish' ) [14:04:55.559] fflog.path: /var/www/html/clients/8006/video/C9C8651A-718A-2CEF-92CF-3DE3F99CB7AD.mp4.fflog [14:04:55.559] Vidbot :: _next(), _stepIndex:4 of 4 [14:04:55.559] index :: _onStepCompleted_vidbot(), step: 4 [14:04:55.560] index :: _onComplete_vidbot(), data: { stepTime: 0, appTime: 113.071, output: '/var/www/html/clients/8006/video/C9C8651A-718A-2CEF-92CF-3DE3F99CB7AD.mp4', duration: 35.71 } --------------------------------------------------------------------------------------------------------------- Output File : /var/app/video_pre_processor/jobs/postp//var/www/html/clients/8006/video/C9C8651A-718A-2CEF-92CF-3DE3F99CB7AD.mp4 Media Duration : 00:00:35.710 Generation Time : 00:01:53.070 ---------------------------------------------------------------------------------------------------------------