--------------------------------------------------------------------------------------------------------------- INITIALIZING VIDBOT, v1.7.1... --------------------------------------------------------------------------------------------------------------- [04:50:10.841] Vidbot :: start() [04:50:10.842] Vidbot :: _next(), _stepIndex:0 of 4 [04:50:10.842] index :: _onStepStarted_vidbot(), step: 1 [04:50:10.844] Vidbot :: step[0], label:Initializing Core [04:50:10.853] index :: _onStepProgress_vidbot(), percent: 20 [04:50:10.853] Vidbot :: _parse() [04:50:10.855] index :: _onStepProgress_vidbot(), percent: 40 [04:50:10.855] Vidbot :: _validate() [04:50:10.856] index :: _onStepProgress_vidbot(), percent: 60 [04:50:10.856] Vidbot :: _fonts() [04:50:10.856] FabricFontManager :: add(), id: SourceSansPro-Bold [04:50:10.856] src: /var/app/Vidbot-V2/assets/fonts/SourceSansPro/SourceSansPro-Bold.ttf [04:50:10.865] FabricFontManager :: add(), id: SourceSansPro-Light [04:50:10.865] src: /var/app/Vidbot-V2/assets/fonts/SourceSansPro/SourceSansPro-Light.ttf [04:50:10.866] FabricFontManager :: add(), id: DINOT-Bold [04:50:10.866] src: /var/app/Vidbot-V2/assets/fonts/DINOT/DINOT-Bold.otf [04:50:10.867] FabricFontManager :: add(), id: DINOT-Light [04:50:10.867] src: /var/app/Vidbot-V2/assets/fonts/DINOT/DINOT-Light.otf [04:50:10.868] FabricFontManager :: add(), id: TradeGothicLTStd-Regular [04:50:10.868] src: /var/app/Vidbot-V2/assets/fonts/TradeGothicCond/TradeGothicLTStd-Regular.otf [04:50:10.869] FabricFontManager :: add(), id: TradeGothicLTStd-Bold [04:50:10.869] src: /var/app/Vidbot-V2/assets/fonts/TradeGothicCond/TradeGothicLTStd-Bold.otf [04:50:10.870] index :: _onStepProgress_vidbot(), percent: 80 [04:50:10.870] Vidbot :: _clips() [04:50:10.871] StreamManager :: add(), id:audio_vo, type:audio [04:50:10.871] AudioClip[audio_vo] :: constructor() [04:50:10.871] InputStream[audio_vo] :: constructor() [04:50:10.871] Vidbot :: StreamMgr.on( 'ADDED' ), data: { streamID: 'audio_vo', clipId: null } [04:50:10.874] StreamManager :: add(), id:bg_music, type:audio [04:50:10.874] AudioClip[bg_music] :: constructor() [04:50:10.874] InputStream[bg_music] :: constructor() [04:50:10.874] Vidbot :: StreamMgr.on( 'ADDED' ), data: { streamID: 'bg_music', clipId: null } [04:50:10.875] StreamManager :: add(), id:simplefadedisplay, type:canvas [04:50:10.875] CanvasStream[canvas_1255379193114] :: constructor() [04:50:10.875] InputStream[canvas_1255379193114] :: constructor() [04:50:10.958] KenBurnsSlideshow[simplefadedisplay] :: constructor() [04:50:10.958] Overlay[simplefadedisplay] :: constructor() [04:50:10.958] CanvasClip[simplefadedisplay] :: constructor() [04:50:10.958] Clip[simplefadedisplay] :: constructor() [04:50:10.959] clip:"simplefadedisplay" added to stream:"canvas_1255379193114" [04:50:10.959] Vidbot :: StreamMgr.on( 'ADDED' ), data: { streamID: 'canvas_1255379193114', clipId: 'simplefadedisplay' } [04:50:10.959] StreamManager :: add(), id:caption, type:canvas [04:50:10.959] RenCaption[caption] :: constructor() [04:50:10.959] Ren[caption] :: constructor() [04:50:10.959] Overlay[caption] :: constructor() [04:50:10.959] CanvasClip[caption] :: constructor() [04:50:10.959] Clip[caption] :: constructor() [04:50:10.960] clip:"caption" added to stream:"canvas_1255379193114" [04:50:10.960] Vidbot :: StreamMgr.on( 'ADDED' ), data: { streamID: 'canvas_1255379193114', clipId: 'caption' } [04:50:10.960] all added... [04:50:10.960] Vidbot :: _next(), _stepIndex:1 of 4 [04:50:10.960] index :: _onStepCompleted_vidbot(), step: 1 [04:50:10.960] index :: _onStepStarted_vidbot(), step: 2 [04:50:10.961] Vidbot :: step[1], label:Initializing Input Streams [04:50:10.961] StreamManager :: init() [04:50:10.961] Vidbot :: StreamMgr.on( 'STREAM_INITED' ), data: { streamID: 'audio_vo', progress: 0.3333333333333333 } [04:50:10.962] index :: _onStepProgress_vidbot(), percent: 33 [04:50:10.962] Vidbot :: StreamMgr.on( 'STREAM_INITED' ), data: { streamID: 'bg_music', progress: 0.6666666666666666 } [04:50:10.962] index :: _onStepProgress_vidbot(), percent: 67 [04:50:10.962] CanvasStream[canvas_1255379193114] :: _init(), BEGIN [04:50:10.963] i:0, c.id:simplefadedisplay [04:50:10.963] KenBurnsSlideshow[simplefadedisplay] :: _init(), BEGIN [04:50:10.963] KenBurnsSlideshow[simplefadedisplay] :: _validate() [04:50:10.964] KenBurnsSlideshow[undefined] :: _validateAnim() [04:50:10.964] KenBurnsSlideshow[undefined] :: _validateTheme() [04:50:10.965] i:1, c.id:caption [04:50:10.965] RenCaption[caption] :: _init() [04:50:10.966] RenCaption[caption] :: _validate() [04:50:10.967] KenBurnsSlideshow[simplefadedisplay] :: _build() [04:50:10.973] AnimatedImageFrame[aif] :: constructor() [04:50:10.974] AnimatedImageFrame[aif] :: _init(), BEGIN [04:50:10.975] CanvasClip :: LoadImageWithPromise(), src: D1CE29CB-A41A-B183-A9E3-D0358C6ADB1B_1.jpg [04:50:10.988] RenCaption[caption] :: _build() [04:50:11.018] Overlay[caption] :: _animate() [04:50:11.021] CanvasStream[caption] :: _init(), p.then() [04:50:11.035] CanvasClip :: LoadImageWithPromise(), loaded, isError: false [04:50:11.038] AnimatedImageFrame[aif] :: _init(), END [04:50:11.040] AnimatedImageFrame[aif] :: constructor() [04:50:11.040] AnimatedImageFrame[aif] :: _init(), BEGIN [04:50:11.040] CanvasClip :: LoadImageWithPromise(), src: D1CE29CB-A41A-B183-A9E3-D0358C6ADB1B_2.jpg [04:50:11.051] CanvasClip :: LoadImageWithPromise(), loaded, isError: false [04:50:11.053] AnimatedImageFrame[aif] :: _init(), END [04:50:11.053] AnimatedImageFrame[aif] :: constructor() [04:50:11.054] AnimatedImageFrame[aif] :: _init(), BEGIN [04:50:11.054] CanvasClip :: LoadImageWithPromise(), src: D1CE29CB-A41A-B183-A9E3-D0358C6ADB1B_3.jpg [04:50:11.064] CanvasClip :: LoadImageWithPromise(), loaded, isError: false [04:50:11.066] AnimatedImageFrame[aif] :: _init(), END [04:50:11.066] AnimatedImageFrame[aif] :: constructor() [04:50:11.066] AnimatedImageFrame[aif] :: _init(), BEGIN [04:50:11.067] CanvasClip :: LoadImageWithPromise(), src: D1CE29CB-A41A-B183-A9E3-D0358C6ADB1B_4.jpg [04:50:11.077] CanvasClip :: LoadImageWithPromise(), loaded, isError: false [04:50:11.078] AnimatedImageFrame[aif] :: _init(), END [04:50:11.078] AnimatedImageFrame[aif] :: constructor() [04:50:11.079] AnimatedImageFrame[aif] :: _init(), BEGIN [04:50:11.079] CanvasClip :: LoadImageWithPromise(), src: D1CE29CB-A41A-B183-A9E3-D0358C6ADB1B_1.jpg [04:50:11.089] CanvasClip :: LoadImageWithPromise(), loaded, isError: false [04:50:11.089] AnimatedImageFrame[aif] :: _init(), END [04:50:11.090] AnimatedImageFrame[aif] :: constructor() [04:50:11.090] AnimatedImageFrame[aif] :: _init(), BEGIN [04:50:11.090] CanvasClip :: LoadImageWithPromise(), src: D1CE29CB-A41A-B183-A9E3-D0358C6ADB1B_2.jpg [04:50:11.100] CanvasClip :: LoadImageWithPromise(), loaded, isError: false [04:50:11.101] AnimatedImageFrame[aif] :: _init(), END [04:50:11.101] AnimatedImageFrame[aif] :: constructor() [04:50:11.101] AnimatedImageFrame[aif] :: _init(), BEGIN [04:50:11.101] CanvasClip :: LoadImageWithPromise(), src: D1CE29CB-A41A-B183-A9E3-D0358C6ADB1B_3.jpg [04:50:11.111] CanvasClip :: LoadImageWithPromise(), loaded, isError: false [04:50:11.112] AnimatedImageFrame[aif] :: _init(), END [04:50:11.113] AnimatedImageFrame[aif] :: constructor() [04:50:11.113] AnimatedImageFrame[aif] :: _init(), BEGIN [04:50:11.113] CanvasClip :: LoadImageWithPromise(), src: D1CE29CB-A41A-B183-A9E3-D0358C6ADB1B_4.jpg [04:50:11.123] CanvasClip :: LoadImageWithPromise(), loaded, isError: false [04:50:11.124] AnimatedImageFrame[aif] :: _init(), END [04:50:11.124] AnimatedImageFrame[aif] :: constructor() [04:50:11.124] AnimatedImageFrame[aif] :: _init(), BEGIN [04:50:11.125] CanvasClip :: LoadImageWithPromise(), src: D1CE29CB-A41A-B183-A9E3-D0358C6ADB1B_1.jpg [04:50:11.135] CanvasClip :: LoadImageWithPromise(), loaded, isError: false [04:50:11.137] AnimatedImageFrame[aif] :: _init(), END [04:50:11.137] AnimatedImageFrame[aif] :: constructor() [04:50:11.137] AnimatedImageFrame[aif] :: _init(), BEGIN [04:50:11.137] CanvasClip :: LoadImageWithPromise(), src: D1CE29CB-A41A-B183-A9E3-D0358C6ADB1B_2.jpg [04:50:11.147] CanvasClip :: LoadImageWithPromise(), loaded, isError: false [04:50:11.148] AnimatedImageFrame[aif] :: _init(), END [04:50:11.149] AnimatedImageFrame[aif] :: constructor() [04:50:11.149] AnimatedImageFrame[aif] :: _init(), BEGIN [04:50:11.149] CanvasClip :: LoadImageWithPromise(), src: D1CE29CB-A41A-B183-A9E3-D0358C6ADB1B_3.jpg [04:50:11.159] CanvasClip :: LoadImageWithPromise(), loaded, isError: false [04:50:11.160] AnimatedImageFrame[aif] :: _init(), END [04:50:11.161] AnimatedImageFrame[aif] :: constructor() [04:50:11.161] AnimatedImageFrame[aif] :: _init(), BEGIN [04:50:11.161] CanvasClip :: LoadImageWithPromise(), src: D1CE29CB-A41A-B183-A9E3-D0358C6ADB1B_4.jpg [04:50:11.170] CanvasClip :: LoadImageWithPromise(), loaded, isError: false [04:50:11.171] AnimatedImageFrame[aif] :: _init(), END [04:50:11.172] AnimatedImageFrame[aif] :: constructor() [04:50:11.172] AnimatedImageFrame[aif] :: _init(), BEGIN [04:50:11.172] CanvasClip :: LoadImageWithPromise(), src: D1CE29CB-A41A-B183-A9E3-D0358C6ADB1B_1.jpg [04:50:11.182] CanvasClip :: LoadImageWithPromise(), loaded, isError: false [04:50:11.183] AnimatedImageFrame[aif] :: _init(), END [04:50:11.183] Overlay[simplefadedisplay] :: _animate() [04:50:11.184] KenBurnsSlideshow[simplefadedisplay] :: _init(), END [04:50:11.184] CanvasStream[simplefadedisplay] :: _init(), p.then() [04:50:11.184] CanvasStream[canvas_1255379193114] :: _init(), promise.all.then() [04:50:11.186] CanvasStream[canvas_1255379193114] :: _init(), END [04:50:11.187] StreamMangaer :: init(), stream[canvas_1255379193114].then() [04:50:11.187] Vidbot :: StreamMgr.on( 'STREAM_INITED' ), data: { streamID: 'canvas_1255379193114', progress: 1 } [04:50:11.187] index :: _onStepProgress_vidbot(), percent: 100 [04:50:11.187] StreamManager :: init(), promise.all.then... [04:50:11.187] Vidbot :: StreamMgr.on( 'INITED' ) [04:50:11.187] Vidbot :: _next(), _stepIndex:2 of 4 [04:50:11.187] index :: _onStepCompleted_vidbot(), step: 2 [04:50:11.188] index :: _onStepStarted_vidbot(), step: 3 [04:50:11.188] Vidbot :: step[2], label:Rendering Canvas Streams [04:50:11.188] Vidbot :: StreamMgr.on( 'RENDER_STARTED' ), data: undefined [04:50:11.188] StreamManager :: render() [04:50:11.189] CanvasStream[canvas_1255379193114] :: render() [04:50:11.225] index :: _onStepProgress_vidbot(), percent: 0 [04:50:16.482] index :: _onStepProgress_vidbot(), percent: 5 [04:50:23.853] index :: _onStepProgress_vidbot(), percent: 10 [04:50:34.107] index :: _onStepProgress_vidbot(), percent: 15 [04:50:40.837] index :: _onStepProgress_vidbot(), percent: 20 [04:50:47.587] index :: _onStepProgress_vidbot(), percent: 25 [04:50:53.132] index :: _onStepProgress_vidbot(), percent: 30 [04:50:59.335] index :: _onStepProgress_vidbot(), percent: 35 [04:51:05.645] index :: _onStepProgress_vidbot(), percent: 40 [04:51:12.128] index :: _onStepProgress_vidbot(), percent: 45 [04:51:18.618] index :: _onStepProgress_vidbot(), percent: 50 [04:51:25.120] index :: _onStepProgress_vidbot(), percent: 55 [04:51:32.361] index :: _onStepProgress_vidbot(), percent: 60 [04:51:39.873] index :: _onStepProgress_vidbot(), percent: 65 [04:51:46.114] index :: _onStepProgress_vidbot(), percent: 70 [04:51:53.500] index :: _onStepProgress_vidbot(), percent: 75 [04:52:02.273] index :: _onStepProgress_vidbot(), percent: 80 [04:52:07.954] index :: _onStepProgress_vidbot(), percent: 85 [04:52:13.492] index :: _onStepProgress_vidbot(), percent: 90 [04:52:20.644] index :: _onStepProgress_vidbot(), percent: 95 [04:52:28.235] index :: _onStepProgress_vidbot(), percent: 100 [04:52:29.303] StreamManager :: render(), Promise.all.then... [04:52:29.303] Vidbot :: StreamMgr.on( 'RENDER_COMPLETED' ), data: undefined [04:52:29.303] Vidbot :: _next(), _stepIndex:3 of 4 [04:52:29.303] index :: _onStepCompleted_vidbot(), step: 3 [04:52:29.304] index :: _onStepStarted_vidbot(), step: 4 [04:52:29.305] Vidbot :: step[3], label:Encoding Media [04:52:29.307] CanvasFilters :: Overlay() [04:52:29.308] AudioStream[audio_vo] :: inputOptions() [04:52:29.308] AudioFilters :: Volume() [04:52:29.308] filter: [2:a]volume=1[2_vol] [04:52:29.309] AudioFilters :: Delay() [04:52:29.309] filter: [2_vol]adelay=0|0[2_del] [04:52:29.309] AudioStream[bg_music] :: inputOptions() [04:52:29.309] AudioFilters :: Volume() [04:52:29.309] filter: [3:a]volume=0.25[3_vol] [04:52:29.309] AudioFilters :: FadeOut() [04:52:29.309] filter: [3_vol]afade=t=out:st=38.71:d=1[3_fadeout] [04:52:29.309] AudioFilters :: Delay() [04:52:29.309] filter: [3_fadeout]adelay=0|0[3_del] [04:52:29.310] AudioFilters :: Mix() [04:52:29.310] filter: [2_del][3_del]amix=inputs=2:duration=longest[a_out] [04:52:29.310] mixed filter: [2_del][3_del]amix=inputs=2:duration=longest[a_out] [04:52:29.312] hang.time: 60 [04:52:29.421] Vidbot :: ffmpeg.on( 'start' ) [04:52:29.421] ffmpeg -f lavfi -i color=c=000000:s=640x360:r=30:duration=38.71 -r 30 -i ./tmp/canvas_1255379193114_%05d.png -to 00:00:38.710 -i file:///var/www/html/ [04:52:29.421] clients/5218/audio/D1CE29CB-A41A-B183-A9E3-D0358C6ADB1B.mp3 -to 00:00:38.710 -i file:///var/app/video_pre_processor/assets/vidbot/_files/audio/bgmusic [04:52:29.422] .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=3 [04:52:29.422] 8.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 [a_ [04:52:29.422] out] -map [1_out] -preset veryfast -crf 18 -movflags frag_keyframe+empty_moov -pix_fmt yuv420p /var/www/html/clients/5218/video/D1CE29CB-A41A-B183-A9E [04:52:29.422] 3-D0358C6ADB1B.mp4 [04:52:29.674] index :: _onStepProgress_vidbot(), percent: -5366180463 [04:52:30.059] index :: _onStepProgress_vidbot(), percent: 1 [04:52:31.065] index :: _onStepProgress_vidbot(), percent: 7 [04:52:31.574] index :: _onStepProgress_vidbot(), percent: 10 [04:52:32.594] index :: _onStepProgress_vidbot(), percent: 17 [04:52:33.100] index :: _onStepProgress_vidbot(), percent: 20 [04:52:34.113] index :: _onStepProgress_vidbot(), percent: 26 [04:52:35.132] index :: _onStepProgress_vidbot(), percent: 33 [04:52:35.649] index :: _onStepProgress_vidbot(), percent: 36 [04:52:36.164] index :: _onStepProgress_vidbot(), percent: 40 [04:52:37.165] index :: _onStepProgress_vidbot(), percent: 47 [04:52:37.670] index :: _onStepProgress_vidbot(), percent: 51 [04:52:38.682] index :: _onStepProgress_vidbot(), percent: 57 [04:52:39.186] index :: _onStepProgress_vidbot(), percent: 60 [04:52:40.194] index :: _onStepProgress_vidbot(), percent: 67 [04:52:40.710] index :: _onStepProgress_vidbot(), percent: 70 [04:52:41.713] index :: _onStepProgress_vidbot(), percent: 77 [04:52:42.222] index :: _onStepProgress_vidbot(), percent: 81 [04:52:42.728] index :: _onStepProgress_vidbot(), percent: 85 [04:52:43.743] index :: _onStepProgress_vidbot(), percent: 94 [04:52:44.249] index :: _onStepProgress_vidbot(), percent: 98 [04:52:44.434] index :: _onStepProgress_vidbot(), percent: 100 [04:52:44.479] Vidbot :: ffmpeg.on( 'end' ), Done! [04:52:44.480] StreamManager :: dispose() [04:52:44.480] CanvasStream[canvas_1255379193114] :: dispose() [04:52:44.485] Vidbot :: fflog.on( 'finish' ) [04:52:44.485] fflog.path: /var/www/html/clients/5218/video/D1CE29CB-A41A-B183-A9E3-D0358C6ADB1B.mp4.fflog [04:52:44.485] Vidbot :: _next(), _stepIndex:4 of 4 [04:52:44.485] index :: _onStepCompleted_vidbot(), step: 4 [04:52:44.486] index :: _onComplete_vidbot(), data: { stepTime: 0, appTime: 153.666, output: '/var/www/html/clients/5218/video/D1CE29CB-A41A-B183-A9E3-D0358C6ADB1B.mp4', duration: 38.71 } --------------------------------------------------------------------------------------------------------------- Output File : /var/app/video_pre_processor/jobs/postp//var/www/html/clients/5218/video/D1CE29CB-A41A-B183-A9E3-D0358C6ADB1B.mp4 Media Duration : 00:00:38.710 Generation Time : 00:02:33.665 ---------------------------------------------------------------------------------------------------------------