--------------------------------------------------------------------------------------------------------------- INITIALIZING VIDBOT, v1.6.0... --------------------------------------------------------------------------------------------------------------- [14:20:54.384] Vidbot :: start() [14:20:54.384] Vidbot :: _next(), _stepIndex:0 of 4 [14:20:54.385] index :: _onStepStarted_vidbot(), step: 1 [14:20:54.386] Vidbot :: step[0], label:Initializing Core [14:20:54.394] index :: _onStepProgress_vidbot(), percent: 20 [14:20:54.394] Vidbot :: _parse() [14:20:54.396] index :: _onStepProgress_vidbot(), percent: 40 [14:20:54.396] Vidbot :: _validate() [14:20:54.397] index :: _onStepProgress_vidbot(), percent: 60 [14:20:54.397] Vidbot :: _fonts() [14:20:54.397] FabricFontManager :: add(), id: SourceSansPro-Bold [14:20:54.397] src: /var/app/Vidbot-V2/assets/fonts/SourceSansPro/SourceSansPro-Bold.ttf [14:20:54.406] FabricFontManager :: add(), id: SourceSansPro-Light [14:20:54.406] src: /var/app/Vidbot-V2/assets/fonts/SourceSansPro/SourceSansPro-Light.ttf [14:20:54.407] FabricFontManager :: add(), id: DINOT-Bold [14:20:54.407] src: /var/app/Vidbot-V2/assets/fonts/DINOT/DINOT-Bold.otf [14:20:54.408] FabricFontManager :: add(), id: DINOT-Light [14:20:54.408] src: /var/app/Vidbot-V2/assets/fonts/DINOT/DINOT-Light.otf [14:20:54.409] FabricFontManager :: add(), id: TradeGothicLTStd-Regular [14:20:54.409] src: /var/app/Vidbot-V2/assets/fonts/TradeGothicCond/TradeGothicLTStd-Regular.otf [14:20:54.409] FabricFontManager :: add(), id: TradeGothicLTStd-Bold [14:20:54.409] src: /var/app/Vidbot-V2/assets/fonts/TradeGothicCond/TradeGothicLTStd-Bold.otf [14:20:54.411] index :: _onStepProgress_vidbot(), percent: 80 [14:20:54.411] Vidbot :: _clips() [14:20:54.411] StreamManager :: add(), id:audio_vo, type:audio [14:20:54.412] AudioClip[audio_vo] :: constructor() [14:20:54.412] InputStream[audio_vo] :: constructor() [14:20:54.412] Vidbot :: StreamMgr.on( 'ADDED' ), data: { streamID: 'audio_vo', clipId: null } [14:20:54.415] StreamManager :: add(), id:bg_music, type:audio [14:20:54.415] AudioClip[bg_music] :: constructor() [14:20:54.415] InputStream[bg_music] :: constructor() [14:20:54.415] Vidbot :: StreamMgr.on( 'ADDED' ), data: { streamID: 'bg_music', clipId: null } [14:20:54.415] StreamManager :: add(), id:simplefadedisplay, type:canvas [14:20:54.416] CanvasStream[canvas_1554675715483] :: constructor() [14:20:54.416] InputStream[canvas_1554675715483] :: constructor() [14:20:54.499] KenBurnsSlideshow[simplefadedisplay] :: constructor() [14:20:54.499] Overlay[simplefadedisplay] :: constructor() [14:20:54.499] CanvasClip[simplefadedisplay] :: constructor() [14:20:54.499] Clip[simplefadedisplay] :: constructor() [14:20:54.500] clip:"simplefadedisplay" added to stream:"canvas_1554675715483" [14:20:54.500] Vidbot :: StreamMgr.on( 'ADDED' ), data: { streamID: 'canvas_1554675715483', clipId: 'simplefadedisplay' } [14:20:54.500] StreamManager :: add(), id:caption, type:canvas [14:20:54.500] RenCaption[caption] :: constructor() [14:20:54.500] Ren[caption] :: constructor() [14:20:54.500] Overlay[caption] :: constructor() [14:20:54.500] CanvasClip[caption] :: constructor() [14:20:54.500] Clip[caption] :: constructor() [14:20:54.501] clip:"caption" added to stream:"canvas_1554675715483" [14:20:54.501] Vidbot :: StreamMgr.on( 'ADDED' ), data: { streamID: 'canvas_1554675715483', clipId: 'caption' } [14:20:54.501] all added... [14:20:54.501] Vidbot :: _next(), _stepIndex:1 of 4 [14:20:54.501] index :: _onStepCompleted_vidbot(), step: 1 [14:20:54.501] index :: _onStepStarted_vidbot(), step: 2 [14:20:54.502] Vidbot :: step[1], label:Initializing Input Streams [14:20:54.502] StreamManager :: init() [14:20:54.502] Vidbot :: StreamMgr.on( 'STREAM_INITED' ), data: { streamID: 'audio_vo', progress: 0.3333333333333333 } [14:20:54.503] index :: _onStepProgress_vidbot(), percent: 33 [14:20:54.503] Vidbot :: StreamMgr.on( 'STREAM_INITED' ), data: { streamID: 'bg_music', progress: 0.6666666666666666 } [14:20:54.503] index :: _onStepProgress_vidbot(), percent: 67 [14:20:54.503] CanvasStream[canvas_1554675715483] :: _init(), BEGIN [14:20:54.504] i:0, c.id:simplefadedisplay [14:20:54.504] KenBurnsSlideshow[simplefadedisplay] :: _init(), BEGIN [14:20:54.504] KenBurnsSlideshow[simplefadedisplay] :: _validate() [14:20:54.505] KenBurnsSlideshow[undefined] :: _validateAnim() [14:20:54.505] KenBurnsSlideshow[undefined] :: _validateTheme() [14:20:54.506] i:1, c.id:caption [14:20:54.506] RenCaption[caption] :: _init() [14:20:54.507] RenCaption[caption] :: _validate() [14:20:54.508] KenBurnsSlideshow[simplefadedisplay] :: _build() [14:20:54.514] AnimatedImageFrame[aif] :: constructor() [14:20:54.515] AnimatedImageFrame[aif] :: _init(), BEGIN [14:20:54.515] CanvasClip :: LoadImageWithPromise(), src: 5D80FA9A-916C-BD5E-69FA-2BF33A6B64E3_1.jpg [14:20:54.528] RenCaption[caption] :: _build() [14:20:54.543] Overlay[caption] :: _animate() [14:20:54.546] CanvasStream[caption] :: _init(), p.then() [14:20:54.562] CanvasClip :: LoadImageWithPromise(), loaded, isError: false [14:20:54.565] AnimatedImageFrame[aif] :: _init(), END [14:20:54.566] AnimatedImageFrame[aif] :: constructor() [14:20:54.566] AnimatedImageFrame[aif] :: _init(), BEGIN [14:20:54.566] CanvasClip :: LoadImageWithPromise(), src: 5D80FA9A-916C-BD5E-69FA-2BF33A6B64E3_2.jpg [14:20:54.579] CanvasClip :: LoadImageWithPromise(), loaded, isError: false [14:20:54.581] AnimatedImageFrame[aif] :: _init(), END [14:20:54.581] AnimatedImageFrame[aif] :: constructor() [14:20:54.581] AnimatedImageFrame[aif] :: _init(), BEGIN [14:20:54.582] CanvasClip :: LoadImageWithPromise(), src: 5D80FA9A-916C-BD5E-69FA-2BF33A6B64E3_3.jpg [14:20:54.593] CanvasClip :: LoadImageWithPromise(), loaded, isError: false [14:20:54.594] AnimatedImageFrame[aif] :: _init(), END [14:20:54.595] AnimatedImageFrame[aif] :: constructor() [14:20:54.595] AnimatedImageFrame[aif] :: _init(), BEGIN [14:20:54.595] CanvasClip :: LoadImageWithPromise(), src: 5D80FA9A-916C-BD5E-69FA-2BF33A6B64E3_4.jpg [14:20:54.607] CanvasClip :: LoadImageWithPromise(), loaded, isError: false [14:20:54.608] AnimatedImageFrame[aif] :: _init(), END [14:20:54.608] AnimatedImageFrame[aif] :: constructor() [14:20:54.609] AnimatedImageFrame[aif] :: _init(), BEGIN [14:20:54.609] CanvasClip :: LoadImageWithPromise(), src: 5D80FA9A-916C-BD5E-69FA-2BF33A6B64E3_1.jpg [14:20:54.621] CanvasClip :: LoadImageWithPromise(), loaded, isError: false [14:20:54.621] AnimatedImageFrame[aif] :: _init(), END [14:20:54.622] AnimatedImageFrame[aif] :: constructor() [14:20:54.622] AnimatedImageFrame[aif] :: _init(), BEGIN [14:20:54.622] CanvasClip :: LoadImageWithPromise(), src: 5D80FA9A-916C-BD5E-69FA-2BF33A6B64E3_2.jpg [14:20:54.634] CanvasClip :: LoadImageWithPromise(), loaded, isError: false [14:20:54.635] AnimatedImageFrame[aif] :: _init(), END [14:20:54.635] AnimatedImageFrame[aif] :: constructor() [14:20:54.635] AnimatedImageFrame[aif] :: _init(), BEGIN [14:20:54.635] CanvasClip :: LoadImageWithPromise(), src: 5D80FA9A-916C-BD5E-69FA-2BF33A6B64E3_3.jpg [14:20:54.647] CanvasClip :: LoadImageWithPromise(), loaded, isError: false [14:20:54.648] AnimatedImageFrame[aif] :: _init(), END [14:20:54.648] AnimatedImageFrame[aif] :: constructor() [14:20:54.648] AnimatedImageFrame[aif] :: _init(), BEGIN [14:20:54.648] CanvasClip :: LoadImageWithPromise(), src: 5D80FA9A-916C-BD5E-69FA-2BF33A6B64E3_4.jpg [14:20:54.660] CanvasClip :: LoadImageWithPromise(), loaded, isError: false [14:20:54.661] AnimatedImageFrame[aif] :: _init(), END [14:20:54.661] AnimatedImageFrame[aif] :: constructor() [14:20:54.661] AnimatedImageFrame[aif] :: _init(), BEGIN [14:20:54.661] CanvasClip :: LoadImageWithPromise(), src: 5D80FA9A-916C-BD5E-69FA-2BF33A6B64E3_1.jpg [14:20:54.673] CanvasClip :: LoadImageWithPromise(), loaded, isError: false [14:20:54.674] AnimatedImageFrame[aif] :: _init(), END [14:20:54.675] AnimatedImageFrame[aif] :: constructor() [14:20:54.675] AnimatedImageFrame[aif] :: _init(), BEGIN [14:20:54.675] CanvasClip :: LoadImageWithPromise(), src: 5D80FA9A-916C-BD5E-69FA-2BF33A6B64E3_2.jpg [14:20:54.686] CanvasClip :: LoadImageWithPromise(), loaded, isError: false [14:20:54.687] AnimatedImageFrame[aif] :: _init(), END [14:20:54.688] AnimatedImageFrame[aif] :: constructor() [14:20:54.688] AnimatedImageFrame[aif] :: _init(), BEGIN [14:20:54.688] CanvasClip :: LoadImageWithPromise(), src: 5D80FA9A-916C-BD5E-69FA-2BF33A6B64E3_3.jpg [14:20:54.699] CanvasClip :: LoadImageWithPromise(), loaded, isError: false [14:20:54.700] AnimatedImageFrame[aif] :: _init(), END [14:20:54.701] AnimatedImageFrame[aif] :: constructor() [14:20:54.701] AnimatedImageFrame[aif] :: _init(), BEGIN [14:20:54.701] CanvasClip :: LoadImageWithPromise(), src: 5D80FA9A-916C-BD5E-69FA-2BF33A6B64E3_4.jpg [14:20:54.712] CanvasClip :: LoadImageWithPromise(), loaded, isError: false [14:20:54.713] AnimatedImageFrame[aif] :: _init(), END [14:20:54.713] AnimatedImageFrame[aif] :: constructor() [14:20:54.714] AnimatedImageFrame[aif] :: _init(), BEGIN [14:20:54.714] CanvasClip :: LoadImageWithPromise(), src: 5D80FA9A-916C-BD5E-69FA-2BF33A6B64E3_1.jpg [14:20:54.726] CanvasClip :: LoadImageWithPromise(), loaded, isError: false [14:20:54.726] AnimatedImageFrame[aif] :: _init(), END [14:20:54.727] AnimatedImageFrame[aif] :: constructor() [14:20:54.727] AnimatedImageFrame[aif] :: _init(), BEGIN [14:20:54.727] CanvasClip :: LoadImageWithPromise(), src: 5D80FA9A-916C-BD5E-69FA-2BF33A6B64E3_2.jpg [14:20:54.738] CanvasClip :: LoadImageWithPromise(), loaded, isError: false [14:20:54.739] AnimatedImageFrame[aif] :: _init(), END [14:20:54.740] AnimatedImageFrame[aif] :: constructor() [14:20:54.740] AnimatedImageFrame[aif] :: _init(), BEGIN [14:20:54.740] CanvasClip :: LoadImageWithPromise(), src: 5D80FA9A-916C-BD5E-69FA-2BF33A6B64E3_3.jpg [14:20:54.751] CanvasClip :: LoadImageWithPromise(), loaded, isError: false [14:20:54.752] AnimatedImageFrame[aif] :: _init(), END [14:20:54.752] AnimatedImageFrame[aif] :: constructor() [14:20:54.752] AnimatedImageFrame[aif] :: _init(), BEGIN [14:20:54.753] CanvasClip :: LoadImageWithPromise(), src: 5D80FA9A-916C-BD5E-69FA-2BF33A6B64E3_4.jpg [14:20:54.763] CanvasClip :: LoadImageWithPromise(), loaded, isError: false [14:20:54.764] AnimatedImageFrame[aif] :: _init(), END [14:20:54.765] Overlay[simplefadedisplay] :: _animate() [14:20:54.765] KenBurnsSlideshow[simplefadedisplay] :: _init(), END [14:20:54.766] CanvasStream[simplefadedisplay] :: _init(), p.then() [14:20:54.766] CanvasStream[canvas_1554675715483] :: _init(), promise.all.then() [14:20:54.768] CanvasStream[canvas_1554675715483] :: _init(), END [14:20:54.768] StreamMangaer :: init(), stream[canvas_1554675715483].then() [14:20:54.768] Vidbot :: StreamMgr.on( 'STREAM_INITED' ), data: { streamID: 'canvas_1554675715483', progress: 1 } [14:20:54.768] index :: _onStepProgress_vidbot(), percent: 100 [14:20:54.769] StreamManager :: init(), promise.all.then... [14:20:54.769] Vidbot :: StreamMgr.on( 'INITED' ) [14:20:54.769] Vidbot :: _next(), _stepIndex:2 of 4 [14:20:54.769] index :: _onStepCompleted_vidbot(), step: 2 [14:20:54.769] index :: _onStepStarted_vidbot(), step: 3 [14:20:54.769] Vidbot :: step[2], label:Rendering Canvas Streams [14:20:54.770] Vidbot :: StreamMgr.on( 'RENDER_STARTED' ), data: undefined [14:20:54.770] StreamManager :: render() [14:20:54.770] CanvasStream[canvas_1554675715483] :: render() [14:20:54.806] index :: _onStepProgress_vidbot(), percent: 0 [14:21:02.436] index :: _onStepProgress_vidbot(), percent: 5 [14:21:09.770] index :: _onStepProgress_vidbot(), percent: 10 [14:21:17.951] index :: _onStepProgress_vidbot(), percent: 15 [14:21:25.995] index :: _onStepProgress_vidbot(), percent: 20 [14:21:33.690] index :: _onStepProgress_vidbot(), percent: 25 [14:21:41.759] index :: _onStepProgress_vidbot(), percent: 30 [14:21:49.997] index :: _onStepProgress_vidbot(), percent: 35 [14:21:57.392] index :: _onStepProgress_vidbot(), percent: 40 [14:22:05.305] index :: _onStepProgress_vidbot(), percent: 45 [14:22:14.614] index :: _onStepProgress_vidbot(), percent: 50 [14:22:23.929] index :: _onStepProgress_vidbot(), percent: 55 [14:22:32.412] index :: _onStepProgress_vidbot(), percent: 60 [14:22:42.158] index :: _onStepProgress_vidbot(), percent: 65 [14:22:50.802] index :: _onStepProgress_vidbot(), percent: 70 [14:22:59.592] index :: _onStepProgress_vidbot(), percent: 75 [14:23:09.225] index :: _onStepProgress_vidbot(), percent: 80 [14:23:18.995] index :: _onStepProgress_vidbot(), percent: 85 [14:23:28.115] index :: _onStepProgress_vidbot(), percent: 90 [14:23:36.936] index :: _onStepProgress_vidbot(), percent: 95 [14:23:44.870] index :: _onStepProgress_vidbot(), percent: 100 [14:23:45.498] StreamManager :: render(), Promise.all.then... [14:23:45.498] Vidbot :: StreamMgr.on( 'RENDER_COMPLETED' ), data: undefined [14:23:45.499] Vidbot :: _next(), _stepIndex:3 of 4 [14:23:45.499] index :: _onStepCompleted_vidbot(), step: 3 [14:23:45.499] index :: _onStepStarted_vidbot(), step: 4 [14:23:45.500] Vidbot :: step[3], label:Encoding Media [14:23:45.503] CanvasFilters :: Overlay() [14:23:45.503] AudioStream[audio_vo] :: inputOptions() [14:23:45.503] AudioFilters :: Volume() [14:23:45.504] filter: [2:a]volume=1[2_vol] [14:23:45.504] AudioFilters :: Delay() [14:23:45.504] filter: [2_vol]adelay=0|0[2_del] [14:23:45.504] AudioStream[bg_music] :: inputOptions() [14:23:45.504] AudioFilters :: Volume() [14:23:45.504] filter: [3:a]volume=0.25[3_vol] [14:23:45.504] AudioFilters :: FadeOut() [14:23:45.504] filter: [3_vol]afade=t=out:st=47.66:d=1[3_fadeout] [14:23:45.504] AudioFilters :: Delay() [14:23:45.504] filter: [3_fadeout]adelay=0|0[3_del] [14:23:45.505] AudioFilters :: Mix() [14:23:45.505] filter: [2_del][3_del]amix=inputs=2:duration=longest[a_out] [14:23:45.505] mixed filter: [2_del][3_del]amix=inputs=2:duration=longest[a_out] [14:23:45.507] hang.time: 60 [14:23:45.608] Vidbot :: ffmpeg.on( 'start' ) [14:23:45.608] ffmpeg -f lavfi -i color=c=000000:s=640x360:r=30:duration=47.66 -r 30 -i ./tmp/canvas_1554675715483_%05d.png -to 00:00:47.659 -i file:///var/www/html/ [14:23:45.608] clients/806/audio/5D80FA9A-916C-BD5E-69FA-2BF33A6B64E3.mp3 -to 00:00:47.659 -i file:///var/app/video_pre_processor/assets/vidbot/_files/audio/RF6_Rock [14:23:45.609] .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=4 [14:23:45.609] 7.66: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_ [14:23:45.609] out] -map [1_out] -preset veryfast -crf 18 -movflags frag_keyframe+empty_moov -pix_fmt yuv420p /var/www/html/clients/806/video/5D80FA9A-916C-BD5E-69FA [14:23:45.609] -2BF33A6B64E3.mp4 [14:23:45.723] index :: _onStepProgress_vidbot(), percent: -4358473473 [14:23:46.183] index :: _onStepProgress_vidbot(), percent: 3 [14:23:46.689] index :: _onStepProgress_vidbot(), percent: 7 [14:23:47.194] index :: _onStepProgress_vidbot(), percent: 12 [14:23:47.695] index :: _onStepProgress_vidbot(), percent: 17 [14:23:48.205] index :: _onStepProgress_vidbot(), percent: 22 [14:23:48.706] index :: _onStepProgress_vidbot(), percent: 27 [14:23:49.208] index :: _onStepProgress_vidbot(), percent: 32 [14:23:49.708] index :: _onStepProgress_vidbot(), percent: 37 [14:23:50.210] index :: _onStepProgress_vidbot(), percent: 42 [14:23:50.711] index :: _onStepProgress_vidbot(), percent: 47 [14:23:51.211] index :: _onStepProgress_vidbot(), percent: 51 [14:23:51.728] index :: _onStepProgress_vidbot(), percent: 56 [14:23:52.743] index :: _onStepProgress_vidbot(), percent: 65 [14:23:53.245] index :: _onStepProgress_vidbot(), percent: 70 [14:23:53.745] index :: _onStepProgress_vidbot(), percent: 75 [14:23:54.246] index :: _onStepProgress_vidbot(), percent: 80 [14:23:54.747] index :: _onStepProgress_vidbot(), percent: 85 [14:23:55.249] index :: _onStepProgress_vidbot(), percent: 91 [14:23:55.749] index :: _onStepProgress_vidbot(), percent: 95 [14:23:56.323] index :: _onStepProgress_vidbot(), percent: 100 [14:23:56.340] Vidbot :: ffmpeg.on( 'end' ), Done! [14:23:56.340] StreamManager :: dispose() [14:23:56.341] CanvasStream[canvas_1554675715483] :: dispose() [14:23:56.345] Vidbot :: fflog.on( 'finish' ) [14:23:56.345] fflog.path: /var/www/html/clients/806/video/5D80FA9A-916C-BD5E-69FA-2BF33A6B64E3.mp4.fflog [14:23:56.345] Vidbot :: _next(), _stepIndex:4 of 4 [14:23:56.346] index :: _onStepCompleted_vidbot(), step: 4 [14:23:56.346] index :: _onComplete_vidbot(), data: { stepTime: 0, appTime: 181.982, output: '/var/www/html/clients/806/video/5D80FA9A-916C-BD5E-69FA-2BF33A6B64E3.mp4', duration: 47.66 } --------------------------------------------------------------------------------------------------------------- Output File : /var/app/video_pre_processor/jobs/postp//var/www/html/clients/806/video/5D80FA9A-916C-BD5E-69FA-2BF33A6B64E3.mp4 Media Duration : 00:00:47.659 Generation Time : 00:03:01.981 ---------------------------------------------------------------------------------------------------------------