--------------------------------------------------------------------------------------------------------------- INITIALIZING VIDBOT, v1.7.0... --------------------------------------------------------------------------------------------------------------- [10:07:27.220] Vidbot :: start() [10:07:27.220] Vidbot :: _next(), _stepIndex:0 of 4 [10:07:27.220] index :: _onStepStarted_vidbot(), step: 1 [10:07:27.222] Vidbot :: step[0], label:Initializing Core [10:07:27.229] index :: _onStepProgress_vidbot(), percent: 20 [10:07:27.230] Vidbot :: _parse() [10:07:27.231] index :: _onStepProgress_vidbot(), percent: 40 [10:07:27.231] Vidbot :: _validate() [10:07:27.232] index :: _onStepProgress_vidbot(), percent: 60 [10:07:27.232] Vidbot :: _fonts() [10:07:27.232] FabricFontManager :: add(), id: SourceSansPro-Bold [10:07:27.232] src: /var/app/Vidbot-V2/assets/fonts/SourceSansPro/SourceSansPro-Bold.ttf [10:07:27.240] FabricFontManager :: add(), id: SourceSansPro-Light [10:07:27.241] src: /var/app/Vidbot-V2/assets/fonts/SourceSansPro/SourceSansPro-Light.ttf [10:07:27.241] FabricFontManager :: add(), id: DINOT-Bold [10:07:27.242] src: /var/app/Vidbot-V2/assets/fonts/DINOT/DINOT-Bold.otf [10:07:27.242] FabricFontManager :: add(), id: DINOT-Light [10:07:27.242] src: /var/app/Vidbot-V2/assets/fonts/DINOT/DINOT-Light.otf [10:07:27.243] FabricFontManager :: add(), id: TradeGothicLTStd-Regular [10:07:27.243] src: /var/app/Vidbot-V2/assets/fonts/TradeGothicCond/TradeGothicLTStd-Regular.otf [10:07:27.244] FabricFontManager :: add(), id: TradeGothicLTStd-Bold [10:07:27.244] src: /var/app/Vidbot-V2/assets/fonts/TradeGothicCond/TradeGothicLTStd-Bold.otf [10:07:27.245] index :: _onStepProgress_vidbot(), percent: 80 [10:07:27.245] Vidbot :: _clips() [10:07:27.246] StreamManager :: add(), id:audio_vo, type:audio [10:07:27.246] AudioClip[audio_vo] :: constructor() [10:07:27.246] InputStream[audio_vo] :: constructor() [10:07:27.247] Vidbot :: StreamMgr.on( 'ADDED' ), data: { streamID: 'audio_vo', clipId: null } [10:07:27.249] StreamManager :: add(), id:bg_music, type:audio [10:07:27.249] AudioClip[bg_music] :: constructor() [10:07:27.249] InputStream[bg_music] :: constructor() [10:07:27.250] Vidbot :: StreamMgr.on( 'ADDED' ), data: { streamID: 'bg_music', clipId: null } [10:07:27.250] StreamManager :: add(), id:simplefadedisplay, type:canvas [10:07:27.250] CanvasStream[canvas_1703432835943] :: constructor() [10:07:27.250] InputStream[canvas_1703432835943] :: constructor() [10:07:27.328] KenBurnsSlideshow[simplefadedisplay] :: constructor() [10:07:27.328] Overlay[simplefadedisplay] :: constructor() [10:07:27.328] CanvasClip[simplefadedisplay] :: constructor() [10:07:27.328] Clip[simplefadedisplay] :: constructor() [10:07:27.329] clip:"simplefadedisplay" added to stream:"canvas_1703432835943" [10:07:27.329] Vidbot :: StreamMgr.on( 'ADDED' ), data: { streamID: 'canvas_1703432835943', clipId: 'simplefadedisplay' } [10:07:27.329] StreamManager :: add(), id:caption, type:canvas [10:07:27.329] RenCaption[caption] :: constructor() [10:07:27.329] Ren[caption] :: constructor() [10:07:27.329] Overlay[caption] :: constructor() [10:07:27.329] CanvasClip[caption] :: constructor() [10:07:27.329] Clip[caption] :: constructor() [10:07:27.330] clip:"caption" added to stream:"canvas_1703432835943" [10:07:27.330] Vidbot :: StreamMgr.on( 'ADDED' ), data: { streamID: 'canvas_1703432835943', clipId: 'caption' } [10:07:27.330] all added... [10:07:27.330] Vidbot :: _next(), _stepIndex:1 of 4 [10:07:27.330] index :: _onStepCompleted_vidbot(), step: 1 [10:07:27.330] index :: _onStepStarted_vidbot(), step: 2 [10:07:27.331] Vidbot :: step[1], label:Initializing Input Streams [10:07:27.331] StreamManager :: init() [10:07:27.331] Vidbot :: StreamMgr.on( 'STREAM_INITED' ), data: { streamID: 'audio_vo', progress: 0.3333333333333333 } [10:07:27.331] index :: _onStepProgress_vidbot(), percent: 33 [10:07:27.331] Vidbot :: StreamMgr.on( 'STREAM_INITED' ), data: { streamID: 'bg_music', progress: 0.6666666666666666 } [10:07:27.332] index :: _onStepProgress_vidbot(), percent: 67 [10:07:27.332] CanvasStream[canvas_1703432835943] :: _init(), BEGIN [10:07:27.332] i:0, c.id:simplefadedisplay [10:07:27.332] KenBurnsSlideshow[simplefadedisplay] :: _init(), BEGIN [10:07:27.333] KenBurnsSlideshow[simplefadedisplay] :: _validate() [10:07:27.333] KenBurnsSlideshow[undefined] :: _validateAnim() [10:07:27.334] KenBurnsSlideshow[undefined] :: _validateTheme() [10:07:27.335] i:1, c.id:caption [10:07:27.335] RenCaption[caption] :: _init() [10:07:27.335] RenCaption[caption] :: _validate() [10:07:27.336] KenBurnsSlideshow[simplefadedisplay] :: _build() [10:07:27.342] AnimatedImageFrame[aif] :: constructor() [10:07:27.343] AnimatedImageFrame[aif] :: _init(), BEGIN [10:07:27.343] CanvasClip :: LoadImageWithPromise(), src: 5ACDB9E3-89A5-B07C-FDA3-364FFA005C0A_1.jpg [10:07:27.355] RenCaption[caption] :: _build() [10:07:27.371] Overlay[caption] :: _animate() [10:07:27.374] CanvasStream[caption] :: _init(), p.then() [10:07:27.395] CanvasClip :: LoadImageWithPromise(), loaded, isError: false [10:07:27.398] AnimatedImageFrame[aif] :: _init(), END [10:07:27.400] AnimatedImageFrame[aif] :: constructor() [10:07:27.400] AnimatedImageFrame[aif] :: _init(), BEGIN [10:07:27.400] CanvasClip :: LoadImageWithPromise(), src: 5ACDB9E3-89A5-B07C-FDA3-364FFA005C0A_2.jpg [10:07:27.419] CanvasClip :: LoadImageWithPromise(), loaded, isError: false [10:07:27.420] AnimatedImageFrame[aif] :: _init(), END [10:07:27.421] AnimatedImageFrame[aif] :: constructor() [10:07:27.421] AnimatedImageFrame[aif] :: _init(), BEGIN [10:07:27.421] CanvasClip :: LoadImageWithPromise(), src: 5ACDB9E3-89A5-B07C-FDA3-364FFA005C0A_3.jpg [10:07:27.438] CanvasClip :: LoadImageWithPromise(), loaded, isError: false [10:07:27.439] AnimatedImageFrame[aif] :: _init(), END [10:07:27.440] AnimatedImageFrame[aif] :: constructor() [10:07:27.440] AnimatedImageFrame[aif] :: _init(), BEGIN [10:07:27.440] CanvasClip :: LoadImageWithPromise(), src: 5ACDB9E3-89A5-B07C-FDA3-364FFA005C0A_4.jpg [10:07:27.468] CanvasClip :: LoadImageWithPromise(), loaded, isError: false [10:07:27.469] AnimatedImageFrame[aif] :: _init(), END [10:07:27.469] AnimatedImageFrame[aif] :: constructor() [10:07:27.470] AnimatedImageFrame[aif] :: _init(), BEGIN [10:07:27.470] CanvasClip :: LoadImageWithPromise(), src: 5ACDB9E3-89A5-B07C-FDA3-364FFA005C0A_5.jpg [10:07:27.486] CanvasClip :: LoadImageWithPromise(), loaded, isError: false [10:07:27.488] AnimatedImageFrame[aif] :: _init(), END [10:07:27.488] AnimatedImageFrame[aif] :: constructor() [10:07:27.488] AnimatedImageFrame[aif] :: _init(), BEGIN [10:07:27.488] CanvasClip :: LoadImageWithPromise(), src: 5ACDB9E3-89A5-B07C-FDA3-364FFA005C0A_6.jpg [10:07:27.506] CanvasClip :: LoadImageWithPromise(), loaded, isError: false [10:07:27.507] AnimatedImageFrame[aif] :: _init(), END [10:07:27.508] AnimatedImageFrame[aif] :: constructor() [10:07:27.508] AnimatedImageFrame[aif] :: _init(), BEGIN [10:07:27.508] CanvasClip :: LoadImageWithPromise(), src: 5ACDB9E3-89A5-B07C-FDA3-364FFA005C0A_7.jpg [10:07:27.525] CanvasClip :: LoadImageWithPromise(), loaded, isError: false [10:07:27.526] AnimatedImageFrame[aif] :: _init(), END [10:07:27.526] AnimatedImageFrame[aif] :: constructor() [10:07:27.527] AnimatedImageFrame[aif] :: _init(), BEGIN [10:07:27.527] CanvasClip :: LoadImageWithPromise(), src: 5ACDB9E3-89A5-B07C-FDA3-364FFA005C0A_8.jpg [10:07:27.541] CanvasClip :: LoadImageWithPromise(), loaded, isError: false [10:07:27.542] AnimatedImageFrame[aif] :: _init(), END [10:07:27.543] AnimatedImageFrame[aif] :: constructor() [10:07:27.543] AnimatedImageFrame[aif] :: _init(), BEGIN [10:07:27.543] CanvasClip :: LoadImageWithPromise(), src: 5ACDB9E3-89A5-B07C-FDA3-364FFA005C0A_9.jpg [10:07:27.558] CanvasClip :: LoadImageWithPromise(), loaded, isError: false [10:07:27.559] AnimatedImageFrame[aif] :: _init(), END [10:07:27.560] AnimatedImageFrame[aif] :: constructor() [10:07:27.560] AnimatedImageFrame[aif] :: _init(), BEGIN [10:07:27.560] CanvasClip :: LoadImageWithPromise(), src: 5ACDB9E3-89A5-B07C-FDA3-364FFA005C0A_10.jpg [10:07:27.575] CanvasClip :: LoadImageWithPromise(), loaded, isError: false [10:07:27.576] AnimatedImageFrame[aif] :: _init(), END [10:07:27.577] AnimatedImageFrame[aif] :: constructor() [10:07:27.577] AnimatedImageFrame[aif] :: _init(), BEGIN [10:07:27.577] CanvasClip :: LoadImageWithPromise(), src: 5ACDB9E3-89A5-B07C-FDA3-364FFA005C0A_11.jpg [10:07:27.593] CanvasClip :: LoadImageWithPromise(), loaded, isError: false [10:07:27.593] AnimatedImageFrame[aif] :: _init(), END [10:07:27.594] AnimatedImageFrame[aif] :: constructor() [10:07:27.594] AnimatedImageFrame[aif] :: _init(), BEGIN [10:07:27.594] CanvasClip :: LoadImageWithPromise(), src: 5ACDB9E3-89A5-B07C-FDA3-364FFA005C0A_12.jpg [10:07:27.608] CanvasClip :: LoadImageWithPromise(), loaded, isError: false [10:07:27.609] AnimatedImageFrame[aif] :: _init(), END [10:07:27.609] AnimatedImageFrame[aif] :: constructor() [10:07:27.610] AnimatedImageFrame[aif] :: _init(), BEGIN [10:07:27.610] CanvasClip :: LoadImageWithPromise(), src: 5ACDB9E3-89A5-B07C-FDA3-364FFA005C0A_13.jpg [10:07:27.626] CanvasClip :: LoadImageWithPromise(), loaded, isError: false [10:07:27.626] AnimatedImageFrame[aif] :: _init(), END [10:07:27.627] AnimatedImageFrame[aif] :: constructor() [10:07:27.627] AnimatedImageFrame[aif] :: _init(), BEGIN [10:07:27.627] CanvasClip :: LoadImageWithPromise(), src: 5ACDB9E3-89A5-B07C-FDA3-364FFA005C0A_14.jpg [10:07:27.644] CanvasClip :: LoadImageWithPromise(), loaded, isError: false [10:07:27.645] AnimatedImageFrame[aif] :: _init(), END [10:07:27.645] AnimatedImageFrame[aif] :: constructor() [10:07:27.645] AnimatedImageFrame[aif] :: _init(), BEGIN [10:07:27.645] CanvasClip :: LoadImageWithPromise(), src: 5ACDB9E3-89A5-B07C-FDA3-364FFA005C0A_15.jpg [10:07:27.660] CanvasClip :: LoadImageWithPromise(), loaded, isError: false [10:07:27.661] AnimatedImageFrame[aif] :: _init(), END [10:07:27.662] AnimatedImageFrame[aif] :: constructor() [10:07:27.662] AnimatedImageFrame[aif] :: _init(), BEGIN [10:07:27.662] CanvasClip :: LoadImageWithPromise(), src: 5ACDB9E3-89A5-B07C-FDA3-364FFA005C0A_16.jpg [10:07:27.677] CanvasClip :: LoadImageWithPromise(), loaded, isError: false [10:07:27.678] AnimatedImageFrame[aif] :: _init(), END [10:07:27.678] AnimatedImageFrame[aif] :: constructor() [10:07:27.679] AnimatedImageFrame[aif] :: _init(), BEGIN [10:07:27.679] CanvasClip :: LoadImageWithPromise(), src: 5ACDB9E3-89A5-B07C-FDA3-364FFA005C0A_17.jpg [10:07:27.699] CanvasClip :: LoadImageWithPromise(), loaded, isError: false [10:07:27.700] AnimatedImageFrame[aif] :: _init(), END [10:07:27.700] Overlay[simplefadedisplay] :: _animate() [10:07:27.701] KenBurnsSlideshow[simplefadedisplay] :: _init(), END [10:07:27.701] CanvasStream[simplefadedisplay] :: _init(), p.then() [10:07:27.701] CanvasStream[canvas_1703432835943] :: _init(), promise.all.then() [10:07:27.703] CanvasStream[canvas_1703432835943] :: _init(), END [10:07:27.703] StreamMangaer :: init(), stream[canvas_1703432835943].then() [10:07:27.703] Vidbot :: StreamMgr.on( 'STREAM_INITED' ), data: { streamID: 'canvas_1703432835943', progress: 1 } [10:07:27.703] index :: _onStepProgress_vidbot(), percent: 100 [10:07:27.704] StreamManager :: init(), promise.all.then... [10:07:27.704] Vidbot :: StreamMgr.on( 'INITED' ) [10:07:27.704] Vidbot :: _next(), _stepIndex:2 of 4 [10:07:27.704] index :: _onStepCompleted_vidbot(), step: 2 [10:07:27.704] index :: _onStepStarted_vidbot(), step: 3 [10:07:27.704] Vidbot :: step[2], label:Rendering Canvas Streams [10:07:27.705] Vidbot :: StreamMgr.on( 'RENDER_STARTED' ), data: undefined [10:07:27.705] StreamManager :: render() [10:07:27.705] CanvasStream[canvas_1703432835943] :: render() [10:07:27.736] index :: _onStepProgress_vidbot(), percent: 0 [10:07:36.791] index :: _onStepProgress_vidbot(), percent: 5 [10:07:50.903] index :: _onStepProgress_vidbot(), percent: 10 [10:08:06.634] index :: _onStepProgress_vidbot(), percent: 15 [10:08:23.744] index :: _onStepProgress_vidbot(), percent: 20 [10:08:40.264] index :: _onStepProgress_vidbot(), percent: 25 [10:08:57.059] index :: _onStepProgress_vidbot(), percent: 30 [10:09:14.432] index :: _onStepProgress_vidbot(), percent: 35 [10:09:32.068] index :: _onStepProgress_vidbot(), percent: 40 [10:09:47.020] index :: _onStepProgress_vidbot(), percent: 45 [10:10:01.109] index :: _onStepProgress_vidbot(), percent: 50 [10:10:16.444] index :: _onStepProgress_vidbot(), percent: 55 [10:10:33.735] index :: _onStepProgress_vidbot(), percent: 60 [10:10:49.990] index :: _onStepProgress_vidbot(), percent: 65 [10:11:02.829] index :: _onStepProgress_vidbot(), percent: 70 [10:11:16.196] index :: _onStepProgress_vidbot(), percent: 75 [10:11:30.386] index :: _onStepProgress_vidbot(), percent: 80 [10:11:44.975] index :: _onStepProgress_vidbot(), percent: 85 [10:11:59.324] index :: _onStepProgress_vidbot(), percent: 90 [10:12:11.029] index :: _onStepProgress_vidbot(), percent: 95 [10:12:24.168] index :: _onStepProgress_vidbot(), percent: 100 [10:12:25.310] StreamManager :: render(), Promise.all.then... [10:12:25.311] Vidbot :: StreamMgr.on( 'RENDER_COMPLETED' ), data: undefined [10:12:25.311] Vidbot :: _next(), _stepIndex:3 of 4 [10:12:25.311] index :: _onStepCompleted_vidbot(), step: 3 [10:12:25.312] index :: _onStepStarted_vidbot(), step: 4 [10:12:25.313] Vidbot :: step[3], label:Encoding Media [10:12:25.315] CanvasFilters :: Overlay() [10:12:25.316] AudioStream[audio_vo] :: inputOptions() [10:12:25.316] AudioFilters :: Volume() [10:12:25.316] filter: [2:a]volume=1[2_vol] [10:12:25.316] AudioFilters :: Delay() [10:12:25.316] filter: [2_vol]adelay=0|0[2_del] [10:12:25.317] AudioStream[bg_music] :: inputOptions() [10:12:25.317] AudioFilters :: Volume() [10:12:25.317] filter: [3:a]volume=0.25[3_vol] [10:12:25.317] AudioFilters :: FadeOut() [10:12:25.317] filter: [3_vol]afade=t=out:st=51:d=1[3_fadeout] [10:12:25.317] AudioFilters :: Delay() [10:12:25.317] filter: [3_fadeout]adelay=0|0[3_del] [10:12:25.317] AudioFilters :: Mix() [10:12:25.317] filter: [2_del][3_del]amix=inputs=2:duration=longest[a_out] [10:12:25.318] mixed filter: [2_del][3_del]amix=inputs=2:duration=longest[a_out] [10:12:25.320] hang.time: 60 [10:12:25.426] Vidbot :: ffmpeg.on( 'start' ) [10:12:25.426] ffmpeg -f lavfi -i color=c=000000:s=640x360:r=30:duration=51 -r 30 -i ./tmp/canvas_1703432835943_%05d.png -to 00:00:51.000 -i file:///var/www/html/cli [10:12:25.427] ents/6934/audio/5ACDB9E3-89A5-B07C-FDA3-364FFA005C0A.mp3 -to 00:00:51.000 -i file:///var/app/video_pre_processor/assets/vidbot/_files/audio/bgmusic.mp [10:12:25.427] 3 -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=51:d [10:12:25.427] =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_out] - [10:12:25.427] map [1_out] -preset veryfast -crf 18 -movflags frag_keyframe+empty_moov -pix_fmt yuv420p /var/www/html/clients/6934/video/5ACDB9E3-89A5-B07C-FDA3-364F [10:12:25.427] FA005C0A.mp4 [10:12:25.594] index :: _onStepProgress_vidbot(), percent: -4073036191 [10:12:26.004] index :: _onStepProgress_vidbot(), percent: 2 [10:12:26.506] index :: _onStepProgress_vidbot(), percent: 5 [10:12:27.509] index :: _onStepProgress_vidbot(), percent: 12 [10:12:28.024] index :: _onStepProgress_vidbot(), percent: 16 [10:12:29.023] index :: _onStepProgress_vidbot(), percent: 23 [10:12:29.528] index :: _onStepProgress_vidbot(), percent: 26 [10:12:30.524] index :: _onStepProgress_vidbot(), percent: 33 [10:12:31.028] index :: _onStepProgress_vidbot(), percent: 36 [10:12:32.037] index :: _onStepProgress_vidbot(), percent: 43 [10:12:32.537] index :: _onStepProgress_vidbot(), percent: 46 [10:12:33.038] index :: _onStepProgress_vidbot(), percent: 50 [10:12:34.040] index :: _onStepProgress_vidbot(), percent: 57 [10:12:34.546] index :: _onStepProgress_vidbot(), percent: 61 [10:12:35.558] index :: _onStepProgress_vidbot(), percent: 68 [10:12:36.060] index :: _onStepProgress_vidbot(), percent: 73 [10:12:36.565] index :: _onStepProgress_vidbot(), percent: 77 [10:12:37.069] index :: _onStepProgress_vidbot(), percent: 81 [10:12:37.572] index :: _onStepProgress_vidbot(), percent: 86 [10:12:38.072] index :: _onStepProgress_vidbot(), percent: 90 [10:12:38.575] index :: _onStepProgress_vidbot(), percent: 96 [10:12:39.060] index :: _onStepProgress_vidbot(), percent: 100 [10:12:39.078] Vidbot :: ffmpeg.on( 'end' ), Done! [10:12:39.079] StreamManager :: dispose() [10:12:39.079] CanvasStream[canvas_1703432835943] :: dispose() [10:12:39.084] Vidbot :: fflog.on( 'finish' ) [10:12:39.084] fflog.path: /var/www/html/clients/6934/video/5ACDB9E3-89A5-B07C-FDA3-364FFA005C0A.mp4.fflog [10:12:39.084] Vidbot :: _next(), _stepIndex:4 of 4 [10:12:39.084] index :: _onStepCompleted_vidbot(), step: 4 [10:12:39.085] index :: _onComplete_vidbot(), data: { stepTime: 0, appTime: 311.885, output: '/var/www/html/clients/6934/video/5ACDB9E3-89A5-B07C-FDA3-364FFA005C0A.mp4', duration: 51 } --------------------------------------------------------------------------------------------------------------- Output File : /var/app/video_pre_processor/jobs/postp//var/www/html/clients/6934/video/5ACDB9E3-89A5-B07C-FDA3-364FFA005C0A.mp4 Media Duration : 00:00:51.000 Generation Time : 00:05:11.884 ---------------------------------------------------------------------------------------------------------------