--------------------------------------------------------------------------------------------------------------- INITIALIZING VIDBOT, v1.6.0... --------------------------------------------------------------------------------------------------------------- [07:20:07.112] Vidbot :: start() [07:20:07.112] Vidbot :: _next(), _stepIndex:0 of 4 [07:20:07.113] index :: _onStepStarted_vidbot(), step: 1 [07:20:07.114] Vidbot :: step[0], label:Initializing Core [07:20:07.124] index :: _onStepProgress_vidbot(), percent: 20 [07:20:07.125] Vidbot :: _parse() [07:20:07.126] index :: _onStepProgress_vidbot(), percent: 40 [07:20:07.126] Vidbot :: _validate() [07:20:07.128] index :: _onStepProgress_vidbot(), percent: 60 [07:20:07.128] Vidbot :: _fonts() [07:20:07.128] FabricFontManager :: add(), id: SourceSansPro-Bold [07:20:07.128] src: /var/app/Vidbot-V2/assets/fonts/SourceSansPro/SourceSansPro-Bold.ttf [07:20:07.138] FabricFontManager :: add(), id: SourceSansPro-Light [07:20:07.138] src: /var/app/Vidbot-V2/assets/fonts/SourceSansPro/SourceSansPro-Light.ttf [07:20:07.139] FabricFontManager :: add(), id: DINOT-Bold [07:20:07.139] src: /var/app/Vidbot-V2/assets/fonts/DINOT/DINOT-Bold.otf [07:20:07.140] FabricFontManager :: add(), id: DINOT-Light [07:20:07.140] src: /var/app/Vidbot-V2/assets/fonts/DINOT/DINOT-Light.otf [07:20:07.141] FabricFontManager :: add(), id: TradeGothicLTStd-Regular [07:20:07.141] src: /var/app/Vidbot-V2/assets/fonts/TradeGothicCond/TradeGothicLTStd-Regular.otf [07:20:07.142] FabricFontManager :: add(), id: TradeGothicLTStd-Bold [07:20:07.142] src: /var/app/Vidbot-V2/assets/fonts/TradeGothicCond/TradeGothicLTStd-Bold.otf [07:20:07.144] index :: _onStepProgress_vidbot(), percent: 80 [07:20:07.144] Vidbot :: _clips() [07:20:07.144] StreamManager :: add(), id:audio_vo, type:audio [07:20:07.145] AudioClip[audio_vo] :: constructor() [07:20:07.145] InputStream[audio_vo] :: constructor() [07:20:07.145] Vidbot :: StreamMgr.on( 'ADDED' ), data: { streamID: 'audio_vo', clipId: null } [07:20:07.149] StreamManager :: add(), id:bg_music, type:audio [07:20:07.149] AudioClip[bg_music] :: constructor() [07:20:07.149] InputStream[bg_music] :: constructor() [07:20:07.149] Vidbot :: StreamMgr.on( 'ADDED' ), data: { streamID: 'bg_music', clipId: null } [07:20:07.149] StreamManager :: add(), id:intro, type:video [07:20:07.150] VideoStream[intro] :: constructor() [07:20:07.150] InputStream[intro] :: constructor() [07:20:07.150] Vidbot :: StreamMgr.on( 'ADDED' ), data: { streamID: 'intro', clipId: null } [07:20:07.150] StreamManager :: add(), id:simplefadedisplay, type:canvas [07:20:07.151] CanvasStream[canvas_1197918323789] :: constructor() [07:20:07.151] InputStream[canvas_1197918323789] :: constructor() [07:20:07.251] KenBurnsSlideshow[simplefadedisplay] :: constructor() [07:20:07.251] Overlay[simplefadedisplay] :: constructor() [07:20:07.252] CanvasClip[simplefadedisplay] :: constructor() [07:20:07.252] Clip[simplefadedisplay] :: constructor() [07:20:07.252] clip:"simplefadedisplay" added to stream:"canvas_1197918323789" [07:20:07.252] Vidbot :: StreamMgr.on( 'ADDED' ), data: { streamID: 'canvas_1197918323789', clipId: 'simplefadedisplay' } [07:20:07.252] StreamManager :: add(), id:caption, type:canvas [07:20:07.253] RenCaption[caption] :: constructor() [07:20:07.253] Ren[caption] :: constructor() [07:20:07.253] Overlay[caption] :: constructor() [07:20:07.253] CanvasClip[caption] :: constructor() [07:20:07.253] Clip[caption] :: constructor() [07:20:07.253] clip:"caption" added to stream:"canvas_1197918323789" [07:20:07.253] Vidbot :: StreamMgr.on( 'ADDED' ), data: { streamID: 'canvas_1197918323789', clipId: 'caption' } [07:20:07.253] StreamManager :: add(), id:outro, type:video [07:20:07.253] VideoStream[outro] :: constructor() [07:20:07.254] InputStream[outro] :: constructor() [07:20:07.254] Vidbot :: StreamMgr.on( 'ADDED' ), data: { streamID: 'outro', clipId: null } [07:20:07.254] all added... [07:20:07.254] Vidbot :: _next(), _stepIndex:1 of 4 [07:20:07.254] index :: _onStepCompleted_vidbot(), step: 1 [07:20:07.255] index :: _onStepStarted_vidbot(), step: 2 [07:20:07.255] Vidbot :: step[1], label:Initializing Input Streams [07:20:07.255] StreamManager :: init() [07:20:07.256] Vidbot :: StreamMgr.on( 'STREAM_INITED' ), data: { streamID: 'audio_vo', progress: 0.2 } [07:20:07.256] index :: _onStepProgress_vidbot(), percent: 20 [07:20:07.256] Vidbot :: StreamMgr.on( 'STREAM_INITED' ), data: { streamID: 'bg_music', progress: 0.4 } [07:20:07.256] index :: _onStepProgress_vidbot(), percent: 40 [07:20:07.256] Vidbot :: StreamMgr.on( 'STREAM_INITED' ), data: { streamID: 'intro', progress: 0.6 } [07:20:07.257] index :: _onStepProgress_vidbot(), percent: 60 [07:20:07.257] CanvasStream[canvas_1197918323789] :: _init(), BEGIN [07:20:07.257] i:0, c.id:simplefadedisplay [07:20:07.258] KenBurnsSlideshow[simplefadedisplay] :: _init(), BEGIN [07:20:07.258] KenBurnsSlideshow[simplefadedisplay] :: _validate() [07:20:07.259] KenBurnsSlideshow[undefined] :: _validateAnim() [07:20:07.259] KenBurnsSlideshow[undefined] :: _validateTheme() [07:20:07.261] i:1, c.id:caption [07:20:07.261] RenCaption[caption] :: _init() [07:20:07.261] RenCaption[caption] :: _validate() [07:20:07.262] Vidbot :: StreamMgr.on( 'STREAM_INITED' ), data: { streamID: 'outro', progress: 0.8 } [07:20:07.262] index :: _onStepProgress_vidbot(), percent: 80 [07:20:07.263] KenBurnsSlideshow[simplefadedisplay] :: _build() [07:20:07.270] AnimatedImageFrame[aif] :: constructor() [07:20:07.272] AnimatedImageFrame[aif] :: _init(), BEGIN [07:20:07.272] CanvasClip :: LoadImageWithPromise(), src: 3AAA41FC-CFBB-A961-10BA-331EA77C0CE7_1.jpg [07:20:07.285] RenCaption[caption] :: _build() [07:20:07.310] Overlay[caption] :: _animate() [07:20:07.313] CanvasStream[caption] :: _init(), p.then() [07:20:07.332] CanvasClip :: LoadImageWithPromise(), loaded, isError: false [07:20:07.336] AnimatedImageFrame[aif] :: _init(), END [07:20:07.338] AnimatedImageFrame[aif] :: constructor() [07:20:07.338] AnimatedImageFrame[aif] :: _init(), BEGIN [07:20:07.339] CanvasClip :: LoadImageWithPromise(), src: 3AAA41FC-CFBB-A961-10BA-331EA77C0CE7_2.jpg [07:20:07.354] CanvasClip :: LoadImageWithPromise(), loaded, isError: false [07:20:07.356] AnimatedImageFrame[aif] :: _init(), END [07:20:07.357] AnimatedImageFrame[aif] :: constructor() [07:20:07.358] AnimatedImageFrame[aif] :: _init(), BEGIN [07:20:07.358] CanvasClip :: LoadImageWithPromise(), src: 3AAA41FC-CFBB-A961-10BA-331EA77C0CE7_3.jpg [07:20:07.372] CanvasClip :: LoadImageWithPromise(), loaded, isError: false [07:20:07.374] AnimatedImageFrame[aif] :: _init(), END [07:20:07.375] AnimatedImageFrame[aif] :: constructor() [07:20:07.375] AnimatedImageFrame[aif] :: _init(), BEGIN [07:20:07.375] CanvasClip :: LoadImageWithPromise(), src: 3AAA41FC-CFBB-A961-10BA-331EA77C0CE7_4.jpg [07:20:07.390] CanvasClip :: LoadImageWithPromise(), loaded, isError: false [07:20:07.391] AnimatedImageFrame[aif] :: _init(), END [07:20:07.392] AnimatedImageFrame[aif] :: constructor() [07:20:07.392] AnimatedImageFrame[aif] :: _init(), BEGIN [07:20:07.392] CanvasClip :: LoadImageWithPromise(), src: 3AAA41FC-CFBB-A961-10BA-331EA77C0CE7_1.jpg [07:20:07.405] CanvasClip :: LoadImageWithPromise(), loaded, isError: false [07:20:07.406] AnimatedImageFrame[aif] :: _init(), END [07:20:07.407] AnimatedImageFrame[aif] :: constructor() [07:20:07.407] AnimatedImageFrame[aif] :: _init(), BEGIN [07:20:07.407] CanvasClip :: LoadImageWithPromise(), src: 3AAA41FC-CFBB-A961-10BA-331EA77C0CE7_2.jpg [07:20:07.419] CanvasClip :: LoadImageWithPromise(), loaded, isError: false [07:20:07.420] AnimatedImageFrame[aif] :: _init(), END [07:20:07.420] AnimatedImageFrame[aif] :: constructor() [07:20:07.420] AnimatedImageFrame[aif] :: _init(), BEGIN [07:20:07.420] CanvasClip :: LoadImageWithPromise(), src: 3AAA41FC-CFBB-A961-10BA-331EA77C0CE7_3.jpg [07:20:07.432] CanvasClip :: LoadImageWithPromise(), loaded, isError: false [07:20:07.433] AnimatedImageFrame[aif] :: _init(), END [07:20:07.433] AnimatedImageFrame[aif] :: constructor() [07:20:07.433] AnimatedImageFrame[aif] :: _init(), BEGIN [07:20:07.433] CanvasClip :: LoadImageWithPromise(), src: 3AAA41FC-CFBB-A961-10BA-331EA77C0CE7_4.jpg [07:20:07.444] CanvasClip :: LoadImageWithPromise(), loaded, isError: false [07:20:07.445] AnimatedImageFrame[aif] :: _init(), END [07:20:07.445] AnimatedImageFrame[aif] :: constructor() [07:20:07.445] AnimatedImageFrame[aif] :: _init(), BEGIN [07:20:07.445] CanvasClip :: LoadImageWithPromise(), src: 3AAA41FC-CFBB-A961-10BA-331EA77C0CE7_1.jpg [07:20:07.456] CanvasClip :: LoadImageWithPromise(), loaded, isError: false [07:20:07.457] AnimatedImageFrame[aif] :: _init(), END [07:20:07.457] AnimatedImageFrame[aif] :: constructor() [07:20:07.457] AnimatedImageFrame[aif] :: _init(), BEGIN [07:20:07.457] CanvasClip :: LoadImageWithPromise(), src: 3AAA41FC-CFBB-A961-10BA-331EA77C0CE7_2.jpg [07:20:07.468] CanvasClip :: LoadImageWithPromise(), loaded, isError: false [07:20:07.469] AnimatedImageFrame[aif] :: _init(), END [07:20:07.469] AnimatedImageFrame[aif] :: constructor() [07:20:07.469] AnimatedImageFrame[aif] :: _init(), BEGIN [07:20:07.469] CanvasClip :: LoadImageWithPromise(), src: 3AAA41FC-CFBB-A961-10BA-331EA77C0CE7_3.jpg [07:20:07.480] CanvasClip :: LoadImageWithPromise(), loaded, isError: false [07:20:07.480] AnimatedImageFrame[aif] :: _init(), END [07:20:07.481] AnimatedImageFrame[aif] :: constructor() [07:20:07.481] AnimatedImageFrame[aif] :: _init(), BEGIN [07:20:07.481] CanvasClip :: LoadImageWithPromise(), src: 3AAA41FC-CFBB-A961-10BA-331EA77C0CE7_4.jpg [07:20:07.491] CanvasClip :: LoadImageWithPromise(), loaded, isError: false [07:20:07.492] AnimatedImageFrame[aif] :: _init(), END [07:20:07.492] AnimatedImageFrame[aif] :: constructor() [07:20:07.493] AnimatedImageFrame[aif] :: _init(), BEGIN [07:20:07.493] CanvasClip :: LoadImageWithPromise(), src: 3AAA41FC-CFBB-A961-10BA-331EA77C0CE7_1.jpg [07:20:07.504] CanvasClip :: LoadImageWithPromise(), loaded, isError: false [07:20:07.504] AnimatedImageFrame[aif] :: _init(), END [07:20:07.505] Overlay[simplefadedisplay] :: _animate() [07:20:07.505] KenBurnsSlideshow[simplefadedisplay] :: _init(), END [07:20:07.505] CanvasStream[simplefadedisplay] :: _init(), p.then() [07:20:07.506] CanvasStream[canvas_1197918323789] :: _init(), promise.all.then() [07:20:07.507] CanvasStream[canvas_1197918323789] :: _init(), END [07:20:07.508] StreamMangaer :: init(), stream[canvas_1197918323789].then() [07:20:07.508] Vidbot :: StreamMgr.on( 'STREAM_INITED' ), data: { streamID: 'canvas_1197918323789', progress: 1 } [07:20:07.508] index :: _onStepProgress_vidbot(), percent: 100 [07:20:07.508] StreamManager :: init(), promise.all.then... [07:20:07.508] Vidbot :: StreamMgr.on( 'INITED' ) [07:20:07.508] Vidbot :: _next(), _stepIndex:2 of 4 [07:20:07.508] index :: _onStepCompleted_vidbot(), step: 2 [07:20:07.509] index :: _onStepStarted_vidbot(), step: 3 [07:20:07.509] Vidbot :: step[2], label:Rendering Canvas Streams [07:20:07.509] Vidbot :: StreamMgr.on( 'RENDER_STARTED' ), data: undefined [07:20:07.509] StreamManager :: render() [07:20:07.510] CanvasStream[canvas_1197918323789] :: render() [07:20:07.540] index :: _onStepProgress_vidbot(), percent: 0 [07:20:09.872] index :: _onStepProgress_vidbot(), percent: 5 [07:20:12.471] index :: _onStepProgress_vidbot(), percent: 10 [07:20:14.995] index :: _onStepProgress_vidbot(), percent: 15 [07:20:17.533] index :: _onStepProgress_vidbot(), percent: 20 [07:20:20.087] index :: _onStepProgress_vidbot(), percent: 25 [07:20:22.661] index :: _onStepProgress_vidbot(), percent: 30 [07:20:25.248] index :: _onStepProgress_vidbot(), percent: 35 [07:20:27.844] index :: _onStepProgress_vidbot(), percent: 40 [07:20:36.714] index :: _onStepProgress_vidbot(), percent: 45 [07:20:50.196] index :: _onStepProgress_vidbot(), percent: 50 [07:21:04.496] index :: _onStepProgress_vidbot(), percent: 55 [07:21:18.923] index :: _onStepProgress_vidbot(), percent: 60 [07:21:31.993] index :: _onStepProgress_vidbot(), percent: 65 [07:21:43.538] index :: _onStepProgress_vidbot(), percent: 70 [07:21:56.142] index :: _onStepProgress_vidbot(), percent: 75 [07:22:08.732] index :: _onStepProgress_vidbot(), percent: 80 [07:22:21.130] index :: _onStepProgress_vidbot(), percent: 85 [07:22:34.200] index :: _onStepProgress_vidbot(), percent: 90 [07:22:46.360] index :: _onStepProgress_vidbot(), percent: 95 [07:22:58.380] index :: _onStepProgress_vidbot(), percent: 100 [07:22:58.654] StreamManager :: render(), Promise.all.then... [07:22:58.655] Vidbot :: StreamMgr.on( 'RENDER_COMPLETED' ), data: undefined [07:22:58.655] Vidbot :: _next(), _stepIndex:3 of 4 [07:22:58.655] index :: _onStepCompleted_vidbot(), step: 3 [07:22:58.656] index :: _onStepStarted_vidbot(), step: 4 [07:22:58.657] Vidbot :: step[3], label:Encoding Media [07:22:58.659] VideoStream[intro] :: inputOptions() [07:22:58.660] VideoFilters :: Scale() [07:22:58.660] VideoFilters :: Overlay() [07:22:58.661] CanvasFilters :: Overlay() [07:22:58.661] VideoStream[outro] :: inputOptions() [07:22:58.661] VideoFilters :: Tpad() [07:22:58.661] VideoFilters :: Scale() [07:22:58.662] VideoFilters :: Overlay() [07:22:58.662] AudioStream[audio_vo] :: inputOptions() [07:22:58.662] AudioFilters :: Volume() [07:22:58.662] filter: [4:a]volume=1[4_vol] [07:22:58.663] AudioFilters :: Delay() [07:22:58.663] filter: [4_vol]adelay=28040|28040[4_del] [07:22:58.663] AudioStream[bg_music] :: inputOptions() [07:22:58.663] AudioFilters :: Volume() [07:22:58.663] filter: [5:a]volume=0.25[5_vol] [07:22:58.663] AudioFilters :: FadeOut() [07:22:58.663] filter: [5_vol]afade=t=out:st=38.75:d=1[5_fadeout] [07:22:58.663] AudioFilters :: Delay() [07:22:58.663] filter: [5_fadeout]adelay=28040|28040[5_del] [07:22:58.663] VideoStream[intro] :: inputOptions() [07:22:58.663] AudioFilters :: Volume() [07:22:58.664] filter: [6:a]volume=1[6_vol] [07:22:58.664] AudioFilters :: Delay() [07:22:58.664] filter: [6_vol]adelay=0|0[6_del] [07:22:58.664] VideoStream[outro] :: inputOptions() [07:22:58.664] AudioFilters :: Volume() [07:22:58.664] filter: [7:a]volume=1[7_vol] [07:22:58.664] AudioFilters :: Delay() [07:22:58.664] filter: [7_vol]adelay=66790|66790[7_del] [07:22:58.664] AudioFilters :: Mix() [07:22:58.664] filter: [4_del][5_del][6_del][7_del]amix=inputs=4:duration=longest[a_out] [07:22:58.664] mixed filter: [4_del][5_del][6_del][7_del]amix=inputs=4:duration=longest[a_out] [07:22:58.667] hang.time: 60 [07:22:58.776] Vidbot :: ffmpeg.on( 'start' ) [07:22:58.776] ffmpeg -f lavfi -i color=c=000000:s=640x360:r=30:duration=72.89 -to 00:00:28.039 -i file:///var/www/html/clients/9064/library/intro.mp4 -r 30 -i ./tmp [07:22:58.776] /canvas_1197918323789_%05d.png -to 00:00:06.099 -i file:///var/www/html/clients/9064/library/outro.mp4 -to 00:00:38.750 -i file:///var/www/html/client [07:22:58.776] s/9064/audio/3AAA41FC-CFBB-A961-10BA-331EA77C0CE7.mp3 -to 00:00:38.750 -i file:///var/app/video_pre_processor/assets/vidbot/_files/audio/RF2_Soft_Acou [07:22:58.776] stic.mp3 -to 00:00:28.039 -i file:///var/www/html/clients/9064/library/intro.mp4 -to 00:00:06.099 -i file:///var/www/html/clients/9064/library/outro.m [07:22:58.776] p4 -y -filter_complex [1:v]scale=w=640:h=360[1_scaled];[0:v][1_scaled]overlay=x=0:y=0:enable='between(t,0,28.04)'[1_out];[1_out][2:v]overlay=x=0:y=0[2 [07:22:58.776] _out];[3:v]tpad=start_duration=66.74000000000001[3_tpad];[3_tpad]scale=w=640:h=360[3_scaled];[2_out][3_scaled]overlay=x=0:y=0:enable='between(t,66.79, [07:22:58.776] 72.89)'[3_out];[4:a]volume=1[4_vol];[4_vol]adelay=28040|28040[4_del];[5:a]volume=0.25[5_vol];[5_vol]afade=t=out:st=38.75:d=1[5_fadeout];[5_fadeout]ade [07:22:58.776] lay=28040|28040[5_del];[6:a]volume=1[6_vol];[6_vol]adelay=0|0[6_del];[7:a]volume=1[7_vol];[7_vol]adelay=66790|66790[7_del];[4_del][5_del][6_del][7_del [07:22:58.777] ]amix=inputs=4:duration=longest[a_out] -acodec aac -vcodec libx264 -r 30 -f mp4 -map [a_out] -map [3_out] -preset veryfast -crf 18 -movflags frag_keyf [07:22:58.777] rame+empty_moov -pix_fmt yuv420p /var/www/html/clients/9064/video/3AAA41FC-CFBB-A961-10BA-331EA77C0CE7.mp4 [07:22:59.154] index :: _onStepProgress_vidbot(), percent: -2849840111 [07:22:59.524] index :: _onStepProgress_vidbot(), percent: 1 [07:23:01.536] index :: _onStepProgress_vidbot(), percent: 5 [07:23:03.563] index :: _onStepProgress_vidbot(), percent: 10 [07:23:05.580] index :: _onStepProgress_vidbot(), percent: 15 [07:23:07.091] index :: _onStepProgress_vidbot(), percent: 20 [07:23:08.625] index :: _onStepProgress_vidbot(), percent: 25 [07:23:10.137] index :: _onStepProgress_vidbot(), percent: 30 [07:23:12.158] index :: _onStepProgress_vidbot(), percent: 36 [07:23:13.674] index :: _onStepProgress_vidbot(), percent: 40 [07:23:15.179] index :: _onStepProgress_vidbot(), percent: 46 [07:23:16.192] index :: _onStepProgress_vidbot(), percent: 50 [07:23:17.707] index :: _onStepProgress_vidbot(), percent: 56 [07:23:19.220] index :: _onStepProgress_vidbot(), percent: 61 [07:23:20.221] index :: _onStepProgress_vidbot(), percent: 65 [07:23:22.241] index :: _onStepProgress_vidbot(), percent: 71 [07:23:23.254] index :: _onStepProgress_vidbot(), percent: 75 [07:23:24.765] index :: _onStepProgress_vidbot(), percent: 80 [07:23:26.285] index :: _onStepProgress_vidbot(), percent: 85 [07:23:27.805] index :: _onStepProgress_vidbot(), percent: 90 [07:23:28.793] index :: _onStepProgress_vidbot(), percent: 95 [07:23:29.494] index :: _onStepProgress_vidbot(), percent: 100 [07:23:29.580] Vidbot :: ffmpeg.on( 'end' ), Done! [07:23:29.580] StreamManager :: dispose() [07:23:29.580] CanvasStream[canvas_1197918323789] :: dispose() [07:23:29.609] Vidbot :: fflog.on( 'finish' ) [07:23:29.609] fflog.path: /var/www/html/clients/9064/video/3AAA41FC-CFBB-A961-10BA-331EA77C0CE7.mp4.fflog [07:23:29.609] Vidbot :: _next(), _stepIndex:4 of 4 [07:23:29.609] index :: _onStepCompleted_vidbot(), step: 4 [07:23:29.610] index :: _onComplete_vidbot(), data: { stepTime: 0, appTime: 202.521, output: '/var/www/html/clients/9064/video/3AAA41FC-CFBB-A961-10BA-331EA77C0CE7.mp4', duration: 72.89 } --------------------------------------------------------------------------------------------------------------- Output File : /var/app/video_pre_processor/jobs/postp//var/www/html/clients/9064/video/3AAA41FC-CFBB-A961-10BA-331EA77C0CE7.mp4 Media Duration : 00:01:12.890 Generation Time : 00:03:22.520 ---------------------------------------------------------------------------------------------------------------