--------------------------------------------------------------------------------------------------------------- INITIALIZING VIDBOT, v1.7.0... --------------------------------------------------------------------------------------------------------------- [13:43:17.497] Vidbot :: start() [13:43:17.498] Vidbot :: _next(), _stepIndex:0 of 4 [13:43:17.498] index :: _onStepStarted_vidbot(), step: 1 [13:43:17.500] Vidbot :: step[0], label:Initializing Core [13:43:17.517] index :: _onStepProgress_vidbot(), percent: 20 [13:43:17.517] Vidbot :: _parse() [13:43:17.519] index :: _onStepProgress_vidbot(), percent: 40 [13:43:17.519] Vidbot :: _validate() [13:43:17.520] index :: _onStepProgress_vidbot(), percent: 60 [13:43:17.520] Vidbot :: _fonts() [13:43:17.520] FabricFontManager :: add(), id: SourceSansPro-Bold [13:43:17.520] src: /var/app/Vidbot-V2/assets/fonts/SourceSansPro/SourceSansPro-Bold.ttf [13:43:17.529] FabricFontManager :: add(), id: SourceSansPro-Light [13:43:17.529] src: /var/app/Vidbot-V2/assets/fonts/SourceSansPro/SourceSansPro-Light.ttf [13:43:17.530] FabricFontManager :: add(), id: DINOT-Bold [13:43:17.530] src: /var/app/Vidbot-V2/assets/fonts/DINOT/DINOT-Bold.otf [13:43:17.531] FabricFontManager :: add(), id: DINOT-Light [13:43:17.531] src: /var/app/Vidbot-V2/assets/fonts/DINOT/DINOT-Light.otf [13:43:17.532] FabricFontManager :: add(), id: TradeGothicLTStd-Regular [13:43:17.532] src: /var/app/Vidbot-V2/assets/fonts/TradeGothicCond/TradeGothicLTStd-Regular.otf [13:43:17.533] FabricFontManager :: add(), id: TradeGothicLTStd-Bold [13:43:17.533] src: /var/app/Vidbot-V2/assets/fonts/TradeGothicCond/TradeGothicLTStd-Bold.otf [13:43:17.534] index :: _onStepProgress_vidbot(), percent: 80 [13:43:17.534] Vidbot :: _clips() [13:43:17.535] StreamManager :: add(), id:audio_vo, type:audio [13:43:17.535] AudioClip[audio_vo] :: constructor() [13:43:17.535] InputStream[audio_vo] :: constructor() [13:43:17.535] Vidbot :: StreamMgr.on( 'ADDED' ), data: { streamID: 'audio_vo', clipId: null } [13:43:17.538] StreamManager :: add(), id:bg_music, type:audio [13:43:17.538] AudioClip[bg_music] :: constructor() [13:43:17.538] InputStream[bg_music] :: constructor() [13:43:17.539] Vidbot :: StreamMgr.on( 'ADDED' ), data: { streamID: 'bg_music', clipId: null } [13:43:17.539] StreamManager :: add(), id:simplefadedisplay, type:canvas [13:43:17.539] CanvasStream[canvas_1172736364055] :: constructor() [13:43:17.539] InputStream[canvas_1172736364055] :: constructor() [13:43:17.624] KenBurnsSlideshow[simplefadedisplay] :: constructor() [13:43:17.624] Overlay[simplefadedisplay] :: constructor() [13:43:17.624] CanvasClip[simplefadedisplay] :: constructor() [13:43:17.624] Clip[simplefadedisplay] :: constructor() [13:43:17.624] clip:"simplefadedisplay" added to stream:"canvas_1172736364055" [13:43:17.625] Vidbot :: StreamMgr.on( 'ADDED' ), data: { streamID: 'canvas_1172736364055', clipId: 'simplefadedisplay' } [13:43:17.625] StreamManager :: add(), id:caption, type:canvas [13:43:17.625] RenCaption[caption] :: constructor() [13:43:17.625] Ren[caption] :: constructor() [13:43:17.625] Overlay[caption] :: constructor() [13:43:17.625] CanvasClip[caption] :: constructor() [13:43:17.625] Clip[caption] :: constructor() [13:43:17.625] clip:"caption" added to stream:"canvas_1172736364055" [13:43:17.625] Vidbot :: StreamMgr.on( 'ADDED' ), data: { streamID: 'canvas_1172736364055', clipId: 'caption' } [13:43:17.626] all added... [13:43:17.626] Vidbot :: _next(), _stepIndex:1 of 4 [13:43:17.626] index :: _onStepCompleted_vidbot(), step: 1 [13:43:17.626] index :: _onStepStarted_vidbot(), step: 2 [13:43:17.627] Vidbot :: step[1], label:Initializing Input Streams [13:43:17.627] StreamManager :: init() [13:43:17.627] Vidbot :: StreamMgr.on( 'STREAM_INITED' ), data: { streamID: 'audio_vo', progress: 0.3333333333333333 } [13:43:17.628] index :: _onStepProgress_vidbot(), percent: 33 [13:43:17.628] Vidbot :: StreamMgr.on( 'STREAM_INITED' ), data: { streamID: 'bg_music', progress: 0.6666666666666666 } [13:43:17.628] index :: _onStepProgress_vidbot(), percent: 67 [13:43:17.628] CanvasStream[canvas_1172736364055] :: _init(), BEGIN [13:43:17.629] i:0, c.id:simplefadedisplay [13:43:17.629] KenBurnsSlideshow[simplefadedisplay] :: _init(), BEGIN [13:43:17.629] KenBurnsSlideshow[simplefadedisplay] :: _validate() [13:43:17.630] KenBurnsSlideshow[undefined] :: _validateAnim() [13:43:17.630] KenBurnsSlideshow[undefined] :: _validateTheme() [13:43:17.631] i:1, c.id:caption [13:43:17.632] RenCaption[caption] :: _init() [13:43:17.632] RenCaption[caption] :: _validate() [13:43:17.633] KenBurnsSlideshow[simplefadedisplay] :: _build() [13:43:17.639] AnimatedImageFrame[aif] :: constructor() [13:43:17.641] AnimatedImageFrame[aif] :: _init(), BEGIN [13:43:17.641] CanvasClip :: LoadImageWithPromise(), src: 1C20DB7A-3F9B-94FE-34DA-99AA320C0AFC_1.jpg [13:43:17.654] RenCaption[caption] :: _build() [13:43:17.672] Overlay[caption] :: _animate() [13:43:17.675] CanvasStream[caption] :: _init(), p.then() [13:43:17.695] CanvasClip :: LoadImageWithPromise(), loaded, isError: false [13:43:17.698] AnimatedImageFrame[aif] :: _init(), END [13:43:17.700] AnimatedImageFrame[aif] :: constructor() [13:43:17.700] AnimatedImageFrame[aif] :: _init(), BEGIN [13:43:17.700] CanvasClip :: LoadImageWithPromise(), src: 1C20DB7A-3F9B-94FE-34DA-99AA320C0AFC_2.jpg [13:43:17.714] CanvasClip :: LoadImageWithPromise(), loaded, isError: false [13:43:17.715] AnimatedImageFrame[aif] :: _init(), END [13:43:17.716] AnimatedImageFrame[aif] :: constructor() [13:43:17.716] AnimatedImageFrame[aif] :: _init(), BEGIN [13:43:17.716] CanvasClip :: LoadImageWithPromise(), src: 1C20DB7A-3F9B-94FE-34DA-99AA320C0AFC_3.jpg [13:43:17.732] CanvasClip :: LoadImageWithPromise(), loaded, isError: false [13:43:17.734] AnimatedImageFrame[aif] :: _init(), END [13:43:17.734] AnimatedImageFrame[aif] :: constructor() [13:43:17.735] AnimatedImageFrame[aif] :: _init(), BEGIN [13:43:17.735] CanvasClip :: LoadImageWithPromise(), src: 1C20DB7A-3F9B-94FE-34DA-99AA320C0AFC_4.jpg [13:43:17.749] CanvasClip :: LoadImageWithPromise(), loaded, isError: false [13:43:17.751] AnimatedImageFrame[aif] :: _init(), END [13:43:17.751] AnimatedImageFrame[aif] :: constructor() [13:43:17.752] AnimatedImageFrame[aif] :: _init(), BEGIN [13:43:17.752] CanvasClip :: LoadImageWithPromise(), src: 1C20DB7A-3F9B-94FE-34DA-99AA320C0AFC_1.jpg [13:43:17.767] CanvasClip :: LoadImageWithPromise(), loaded, isError: false [13:43:17.768] AnimatedImageFrame[aif] :: _init(), END [13:43:17.768] AnimatedImageFrame[aif] :: constructor() [13:43:17.768] AnimatedImageFrame[aif] :: _init(), BEGIN [13:43:17.768] CanvasClip :: LoadImageWithPromise(), src: 1C20DB7A-3F9B-94FE-34DA-99AA320C0AFC_2.jpg [13:43:17.781] CanvasClip :: LoadImageWithPromise(), loaded, isError: false [13:43:17.782] AnimatedImageFrame[aif] :: _init(), END [13:43:17.782] AnimatedImageFrame[aif] :: constructor() [13:43:17.782] AnimatedImageFrame[aif] :: _init(), BEGIN [13:43:17.782] CanvasClip :: LoadImageWithPromise(), src: 1C20DB7A-3F9B-94FE-34DA-99AA320C0AFC_3.jpg [13:43:17.800] CanvasClip :: LoadImageWithPromise(), loaded, isError: false [13:43:17.801] AnimatedImageFrame[aif] :: _init(), END [13:43:17.802] AnimatedImageFrame[aif] :: constructor() [13:43:17.802] AnimatedImageFrame[aif] :: _init(), BEGIN [13:43:17.802] CanvasClip :: LoadImageWithPromise(), src: 1C20DB7A-3F9B-94FE-34DA-99AA320C0AFC_4.jpg [13:43:17.817] CanvasClip :: LoadImageWithPromise(), loaded, isError: false [13:43:17.818] AnimatedImageFrame[aif] :: _init(), END [13:43:17.819] AnimatedImageFrame[aif] :: constructor() [13:43:17.819] AnimatedImageFrame[aif] :: _init(), BEGIN [13:43:17.819] CanvasClip :: LoadImageWithPromise(), src: 1C20DB7A-3F9B-94FE-34DA-99AA320C0AFC_1.jpg [13:43:17.834] CanvasClip :: LoadImageWithPromise(), loaded, isError: false [13:43:17.835] AnimatedImageFrame[aif] :: _init(), END [13:43:17.835] AnimatedImageFrame[aif] :: constructor() [13:43:17.835] AnimatedImageFrame[aif] :: _init(), BEGIN [13:43:17.836] CanvasClip :: LoadImageWithPromise(), src: 1C20DB7A-3F9B-94FE-34DA-99AA320C0AFC_2.jpg [13:43:17.848] CanvasClip :: LoadImageWithPromise(), loaded, isError: false [13:43:17.849] AnimatedImageFrame[aif] :: _init(), END [13:43:17.850] AnimatedImageFrame[aif] :: constructor() [13:43:17.850] AnimatedImageFrame[aif] :: _init(), BEGIN [13:43:17.850] CanvasClip :: LoadImageWithPromise(), src: 1C20DB7A-3F9B-94FE-34DA-99AA320C0AFC_3.jpg [13:43:17.882] CanvasClip :: LoadImageWithPromise(), loaded, isError: false [13:43:17.883] AnimatedImageFrame[aif] :: _init(), END [13:43:17.884] AnimatedImageFrame[aif] :: constructor() [13:43:17.884] AnimatedImageFrame[aif] :: _init(), BEGIN [13:43:17.884] CanvasClip :: LoadImageWithPromise(), src: 1C20DB7A-3F9B-94FE-34DA-99AA320C0AFC_4.jpg [13:43:17.899] CanvasClip :: LoadImageWithPromise(), loaded, isError: false [13:43:17.900] AnimatedImageFrame[aif] :: _init(), END [13:43:17.901] AnimatedImageFrame[aif] :: constructor() [13:43:17.901] AnimatedImageFrame[aif] :: _init(), BEGIN [13:43:17.901] CanvasClip :: LoadImageWithPromise(), src: 1C20DB7A-3F9B-94FE-34DA-99AA320C0AFC_1.jpg [13:43:17.916] CanvasClip :: LoadImageWithPromise(), loaded, isError: false [13:43:17.917] AnimatedImageFrame[aif] :: _init(), END [13:43:17.918] AnimatedImageFrame[aif] :: constructor() [13:43:17.918] AnimatedImageFrame[aif] :: _init(), BEGIN [13:43:17.918] CanvasClip :: LoadImageWithPromise(), src: 1C20DB7A-3F9B-94FE-34DA-99AA320C0AFC_2.jpg [13:43:17.930] CanvasClip :: LoadImageWithPromise(), loaded, isError: false [13:43:17.931] AnimatedImageFrame[aif] :: _init(), END [13:43:17.932] AnimatedImageFrame[aif] :: constructor() [13:43:17.932] AnimatedImageFrame[aif] :: _init(), BEGIN [13:43:17.932] CanvasClip :: LoadImageWithPromise(), src: 1C20DB7A-3F9B-94FE-34DA-99AA320C0AFC_3.jpg [13:43:17.946] CanvasClip :: LoadImageWithPromise(), loaded, isError: false [13:43:17.947] AnimatedImageFrame[aif] :: _init(), END [13:43:17.948] AnimatedImageFrame[aif] :: constructor() [13:43:17.948] AnimatedImageFrame[aif] :: _init(), BEGIN [13:43:17.948] CanvasClip :: LoadImageWithPromise(), src: 1C20DB7A-3F9B-94FE-34DA-99AA320C0AFC_4.jpg [13:43:17.962] CanvasClip :: LoadImageWithPromise(), loaded, isError: false [13:43:17.963] AnimatedImageFrame[aif] :: _init(), END [13:43:17.964] AnimatedImageFrame[aif] :: constructor() [13:43:17.964] AnimatedImageFrame[aif] :: _init(), BEGIN [13:43:17.964] CanvasClip :: LoadImageWithPromise(), src: 1C20DB7A-3F9B-94FE-34DA-99AA320C0AFC_1.jpg [13:43:17.978] CanvasClip :: LoadImageWithPromise(), loaded, isError: false [13:43:17.979] AnimatedImageFrame[aif] :: _init(), END [13:43:17.980] Overlay[simplefadedisplay] :: _animate() [13:43:17.980] KenBurnsSlideshow[simplefadedisplay] :: _init(), END [13:43:17.980] CanvasStream[simplefadedisplay] :: _init(), p.then() [13:43:17.981] CanvasStream[canvas_1172736364055] :: _init(), promise.all.then() [13:43:17.983] CanvasStream[canvas_1172736364055] :: _init(), END [13:43:17.983] StreamMangaer :: init(), stream[canvas_1172736364055].then() [13:43:17.983] Vidbot :: StreamMgr.on( 'STREAM_INITED' ), data: { streamID: 'canvas_1172736364055', progress: 1 } [13:43:17.983] index :: _onStepProgress_vidbot(), percent: 100 [13:43:17.983] StreamManager :: init(), promise.all.then... [13:43:17.983] Vidbot :: StreamMgr.on( 'INITED' ) [13:43:17.984] Vidbot :: _next(), _stepIndex:2 of 4 [13:43:17.984] index :: _onStepCompleted_vidbot(), step: 2 [13:43:17.984] index :: _onStepStarted_vidbot(), step: 3 [13:43:17.984] Vidbot :: step[2], label:Rendering Canvas Streams [13:43:17.985] Vidbot :: StreamMgr.on( 'RENDER_STARTED' ), data: undefined [13:43:17.985] StreamManager :: render() [13:43:17.985] CanvasStream[canvas_1172736364055] :: render() [13:43:18.022] index :: _onStepProgress_vidbot(), percent: 0 [13:43:26.208] index :: _onStepProgress_vidbot(), percent: 5 [13:43:35.027] index :: _onStepProgress_vidbot(), percent: 10 [13:43:44.346] index :: _onStepProgress_vidbot(), percent: 15 [13:43:54.451] index :: _onStepProgress_vidbot(), percent: 20 [13:44:03.967] index :: _onStepProgress_vidbot(), percent: 25 [13:44:13.843] index :: _onStepProgress_vidbot(), percent: 30 [13:44:23.834] index :: _onStepProgress_vidbot(), percent: 35 [13:44:33.315] index :: _onStepProgress_vidbot(), percent: 40 [13:44:43.404] index :: _onStepProgress_vidbot(), percent: 45 [13:44:53.390] index :: _onStepProgress_vidbot(), percent: 50 [13:45:02.900] index :: _onStepProgress_vidbot(), percent: 55 [13:45:12.722] index :: _onStepProgress_vidbot(), percent: 60 [13:45:22.626] index :: _onStepProgress_vidbot(), percent: 65 [13:45:32.189] index :: _onStepProgress_vidbot(), percent: 70 [13:45:41.450] index :: _onStepProgress_vidbot(), percent: 75 [13:45:51.135] index :: _onStepProgress_vidbot(), percent: 80 [13:46:00.434] index :: _onStepProgress_vidbot(), percent: 85 [13:46:10.401] index :: _onStepProgress_vidbot(), percent: 90 [13:46:20.318] index :: _onStepProgress_vidbot(), percent: 95 [13:46:29.567] index :: _onStepProgress_vidbot(), percent: 100 [13:46:30.411] StreamManager :: render(), Promise.all.then... [13:46:30.411] Vidbot :: StreamMgr.on( 'RENDER_COMPLETED' ), data: undefined [13:46:30.411] Vidbot :: _next(), _stepIndex:3 of 4 [13:46:30.411] index :: _onStepCompleted_vidbot(), step: 3 [13:46:30.412] index :: _onStepStarted_vidbot(), step: 4 [13:46:30.413] Vidbot :: step[3], label:Encoding Media [13:46:30.415] CanvasFilters :: Overlay() [13:46:30.416] AudioStream[audio_vo] :: inputOptions() [13:46:30.416] AudioFilters :: Volume() [13:46:30.416] filter: [2:a]volume=1[2_vol] [13:46:30.416] AudioFilters :: Delay() [13:46:30.417] filter: [2_vol]adelay=0|0[2_del] [13:46:30.417] AudioStream[bg_music] :: inputOptions() [13:46:30.417] AudioFilters :: Volume() [13:46:30.417] filter: [3:a]volume=0.25[3_vol] [13:46:30.417] AudioFilters :: FadeOut() [13:46:30.417] filter: [3_vol]afade=t=out:st=49.61:d=1[3_fadeout] [13:46:30.417] AudioFilters :: Delay() [13:46:30.417] filter: [3_fadeout]adelay=0|0[3_del] [13:46:30.418] AudioFilters :: Mix() [13:46:30.418] filter: [2_del][3_del]amix=inputs=2:duration=longest[a_out] [13:46:30.418] mixed filter: [2_del][3_del]amix=inputs=2:duration=longest[a_out] [13:46:30.420] hang.time: 60 [13:46:30.526] Vidbot :: ffmpeg.on( 'start' ) [13:46:30.527] ffmpeg -f lavfi -i color=c=000000:s=640x360:r=30:duration=49.61 -r 30 -i ./tmp/canvas_1172736364055_%05d.png -to 00:00:49.609 -i file:///var/www/html/ [13:46:30.527] clients/11983/audio/1C20DB7A-3F9B-94FE-34DA-99AA320C0AFC.mp3 -to 00:00:49.609 -i file:///var/app/video_pre_processor/assets/vidbot/_files/audio/Groove [13:46:30.527] -4.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 [13:46:30.527] =49.61: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 [ [13:46:30.527] a_out] -map [1_out] -preset veryfast -crf 18 -movflags frag_keyframe+empty_moov -pix_fmt yuv420p /var/www/html/clients/11983/video/1C20DB7A-3F9B-94FE- [13:46:30.527] 34DA-99AA320C0AFC.mp4 [13:46:30.771] index :: _onStepProgress_vidbot(), percent: -4187156737 [13:46:31.136] index :: _onStepProgress_vidbot(), percent: 1 [13:46:32.141] index :: _onStepProgress_vidbot(), percent: 6 [13:46:33.145] index :: _onStepProgress_vidbot(), percent: 11 [13:46:33.648] index :: _onStepProgress_vidbot(), percent: 15 [13:46:34.663] index :: _onStepProgress_vidbot(), percent: 20 [13:46:35.665] index :: _onStepProgress_vidbot(), percent: 26 [13:46:36.168] index :: _onStepProgress_vidbot(), percent: 30 [13:46:37.179] index :: _onStepProgress_vidbot(), percent: 36 [13:46:37.681] index :: _onStepProgress_vidbot(), percent: 40 [13:46:38.687] index :: _onStepProgress_vidbot(), percent: 46 [13:46:39.710] index :: _onStepProgress_vidbot(), percent: 52 [13:46:40.221] index :: _onStepProgress_vidbot(), percent: 55 [13:46:41.236] index :: _onStepProgress_vidbot(), percent: 61 [13:46:42.249] index :: _onStepProgress_vidbot(), percent: 67 [13:46:42.753] index :: _onStepProgress_vidbot(), percent: 70 [13:46:44.283] index :: _onStepProgress_vidbot(), percent: 77 [13:46:45.289] index :: _onStepProgress_vidbot(), percent: 82 [13:46:45.805] index :: _onStepProgress_vidbot(), percent: 85 [13:46:46.823] index :: _onStepProgress_vidbot(), percent: 92 [13:46:47.323] index :: _onStepProgress_vidbot(), percent: 95 [13:46:48.101] index :: _onStepProgress_vidbot(), percent: 100 [13:46:48.121] Vidbot :: ffmpeg.on( 'end' ), Done! [13:46:48.122] StreamManager :: dispose() [13:46:48.122] CanvasStream[canvas_1172736364055] :: dispose() [13:46:48.127] Vidbot :: fflog.on( 'finish' ) [13:46:48.127] fflog.path: /var/www/html/clients/11983/video/1C20DB7A-3F9B-94FE-34DA-99AA320C0AFC.mp4.fflog [13:46:48.127] Vidbot :: _next(), _stepIndex:4 of 4 [13:46:48.127] index :: _onStepCompleted_vidbot(), step: 4 [13:46:48.128] index :: _onComplete_vidbot(), data: { stepTime: 0, appTime: 210.651, output: '/var/www/html/clients/11983/video/1C20DB7A-3F9B-94FE-34DA-99AA320C0AFC.mp4', duration: 49.61 } --------------------------------------------------------------------------------------------------------------- Output File : /var/app/video_pre_processor/jobs/postp//var/www/html/clients/11983/video/1C20DB7A-3F9B-94FE-34DA-99AA320C0AFC.mp4 Media Duration : 00:00:49.609 Generation Time : 00:03:30.651 ---------------------------------------------------------------------------------------------------------------