--------------------------------------------------------------------------------------------------------------- INITIALIZING VIDBOT, v1.7.0... --------------------------------------------------------------------------------------------------------------- [02:00:17.927] Vidbot :: start() [02:00:17.928] Vidbot :: _next(), _stepIndex:0 of 4 [02:00:17.928] index :: _onStepStarted_vidbot(), step: 1 [02:00:17.929] Vidbot :: step[0], label:Initializing Core [02:00:17.938] index :: _onStepProgress_vidbot(), percent: 20 [02:00:17.938] Vidbot :: _parse() [02:00:17.940] index :: _onStepProgress_vidbot(), percent: 40 [02:00:17.940] Vidbot :: _validate() [02:00:17.941] index :: _onStepProgress_vidbot(), percent: 60 [02:00:17.941] Vidbot :: _fonts() [02:00:17.941] FabricFontManager :: add(), id: SourceSansPro-Bold [02:00:17.941] src: /var/app/Vidbot-V2/assets/fonts/SourceSansPro/SourceSansPro-Bold.ttf [02:00:17.950] FabricFontManager :: add(), id: SourceSansPro-Light [02:00:17.950] src: /var/app/Vidbot-V2/assets/fonts/SourceSansPro/SourceSansPro-Light.ttf [02:00:17.951] FabricFontManager :: add(), id: DINOT-Bold [02:00:17.951] src: /var/app/Vidbot-V2/assets/fonts/DINOT/DINOT-Bold.otf [02:00:17.952] FabricFontManager :: add(), id: DINOT-Light [02:00:17.952] src: /var/app/Vidbot-V2/assets/fonts/DINOT/DINOT-Light.otf [02:00:17.953] FabricFontManager :: add(), id: TradeGothicLTStd-Regular [02:00:17.953] src: /var/app/Vidbot-V2/assets/fonts/TradeGothicCond/TradeGothicLTStd-Regular.otf [02:00:17.954] FabricFontManager :: add(), id: TradeGothicLTStd-Bold [02:00:17.954] src: /var/app/Vidbot-V2/assets/fonts/TradeGothicCond/TradeGothicLTStd-Bold.otf [02:00:17.955] index :: _onStepProgress_vidbot(), percent: 80 [02:00:17.955] Vidbot :: _clips() [02:00:17.956] StreamManager :: add(), id:audio_vo, type:audio [02:00:17.956] AudioClip[audio_vo] :: constructor() [02:00:17.957] InputStream[audio_vo] :: constructor() [02:00:17.957] Vidbot :: StreamMgr.on( 'ADDED' ), data: { streamID: 'audio_vo', clipId: null } [02:00:17.959] StreamManager :: add(), id:bg_music, type:audio [02:00:17.960] AudioClip[bg_music] :: constructor() [02:00:17.960] InputStream[bg_music] :: constructor() [02:00:17.960] Vidbot :: StreamMgr.on( 'ADDED' ), data: { streamID: 'bg_music', clipId: null } [02:00:17.960] StreamManager :: add(), id:simplefadedisplay, type:canvas [02:00:17.960] CanvasStream[canvas_631874362542] :: constructor() [02:00:17.961] InputStream[canvas_631874362542] :: constructor() [02:00:18.047] KenBurnsSlideshow[simplefadedisplay] :: constructor() [02:00:18.047] Overlay[simplefadedisplay] :: constructor() [02:00:18.048] CanvasClip[simplefadedisplay] :: constructor() [02:00:18.048] Clip[simplefadedisplay] :: constructor() [02:00:18.048] clip:"simplefadedisplay" added to stream:"canvas_631874362542" [02:00:18.048] Vidbot :: StreamMgr.on( 'ADDED' ), data: { streamID: 'canvas_631874362542', clipId: 'simplefadedisplay' } [02:00:18.048] StreamManager :: add(), id:map, type:canvas [02:00:18.048] RenMap[map] :: constructor() [02:00:18.049] Ren[map] :: constructor() [02:00:18.049] Overlay[map] :: constructor() [02:00:18.049] CanvasClip[map] :: constructor() [02:00:18.049] Clip[map] :: constructor() [02:00:18.049] clip:"map" added to stream:"canvas_631874362542" [02:00:18.049] Vidbot :: StreamMgr.on( 'ADDED' ), data: { streamID: 'canvas_631874362542', clipId: 'map' } [02:00:18.049] all added... [02:00:18.049] Vidbot :: _next(), _stepIndex:1 of 4 [02:00:18.049] index :: _onStepCompleted_vidbot(), step: 1 [02:00:18.050] index :: _onStepStarted_vidbot(), step: 2 [02:00:18.050] Vidbot :: step[1], label:Initializing Input Streams [02:00:18.050] StreamManager :: init() [02:00:18.051] Vidbot :: StreamMgr.on( 'STREAM_INITED' ), data: { streamID: 'audio_vo', progress: 0.3333333333333333 } [02:00:18.051] index :: _onStepProgress_vidbot(), percent: 33 [02:00:18.051] Vidbot :: StreamMgr.on( 'STREAM_INITED' ), data: { streamID: 'bg_music', progress: 0.6666666666666666 } [02:00:18.051] index :: _onStepProgress_vidbot(), percent: 67 [02:00:18.052] CanvasStream[canvas_631874362542] :: _init(), BEGIN [02:00:18.052] i:0, c.id:simplefadedisplay [02:00:18.052] KenBurnsSlideshow[simplefadedisplay] :: _init(), BEGIN [02:00:18.053] KenBurnsSlideshow[simplefadedisplay] :: _validate() [02:00:18.053] KenBurnsSlideshow[undefined] :: _validateAnim() [02:00:18.054] KenBurnsSlideshow[undefined] :: _validateTheme() [02:00:18.055] i:1, c.id:map [02:00:18.055] RenMap[map] :: _init() [02:00:18.056] RenMap[map] :: _validate() [02:00:18.057] KenBurnsSlideshow[simplefadedisplay] :: _build() [02:00:18.063] AnimatedImageFrame[aif] :: constructor() [02:00:18.065] AnimatedImageFrame[aif] :: _init(), BEGIN [02:00:18.065] CanvasClip :: LoadImageWithPromise(), src: C0A5002C-6E47-6383-1DDA-ECB79CB7DAC1_1.jpg [02:00:18.080] RenMap[map] :: _assets() [02:00:18.081] CanvasClip :: LoadSVGFromStringWithPromise() [02:00:18.115] CanvasClip :: LoadSVGFromString(), loaded [02:00:18.117] CanvasClip :: LoadImageWithPromise(), src: map_360.jpg [02:00:18.150] CanvasClip :: LoadImageWithPromise(), loaded, isError: false [02:00:18.155] AnimatedImageFrame[aif] :: _init(), END [02:00:18.157] AnimatedImageFrame[aif] :: constructor() [02:00:18.157] AnimatedImageFrame[aif] :: _init(), BEGIN [02:00:18.158] CanvasClip :: LoadImageWithPromise(), src: C0A5002C-6E47-6383-1DDA-ECB79CB7DAC1_2.jpg [02:00:18.172] CanvasClip :: LoadImageWithPromise(), loaded, isError: false [02:00:18.173] RenMap[map] :: _build() [02:00:18.208] Overlay[map] :: _animate() [02:00:18.209] CanvasStream[map] :: _init(), p.then() [02:00:18.233] CanvasClip :: LoadImageWithPromise(), loaded, isError: false [02:00:18.234] AnimatedImageFrame[aif] :: _init(), END [02:00:18.235] AnimatedImageFrame[aif] :: constructor() [02:00:18.236] AnimatedImageFrame[aif] :: _init(), BEGIN [02:00:18.236] CanvasClip :: LoadImageWithPromise(), src: C0A5002C-6E47-6383-1DDA-ECB79CB7DAC1_3.jpg [02:00:18.262] CanvasClip :: LoadImageWithPromise(), loaded, isError: false [02:00:18.263] AnimatedImageFrame[aif] :: _init(), END [02:00:18.264] AnimatedImageFrame[aif] :: constructor() [02:00:18.264] AnimatedImageFrame[aif] :: _init(), BEGIN [02:00:18.264] CanvasClip :: LoadImageWithPromise(), src: C0A5002C-6E47-6383-1DDA-ECB79CB7DAC1_4.jpg [02:00:18.288] CanvasClip :: LoadImageWithPromise(), loaded, isError: false [02:00:18.290] AnimatedImageFrame[aif] :: _init(), END [02:00:18.290] AnimatedImageFrame[aif] :: constructor() [02:00:18.290] AnimatedImageFrame[aif] :: _init(), BEGIN [02:00:18.290] CanvasClip :: LoadImageWithPromise(), src: C0A5002C-6E47-6383-1DDA-ECB79CB7DAC1_5.jpg [02:00:18.314] CanvasClip :: LoadImageWithPromise(), loaded, isError: false [02:00:18.315] AnimatedImageFrame[aif] :: _init(), END [02:00:18.316] AnimatedImageFrame[aif] :: constructor() [02:00:18.316] AnimatedImageFrame[aif] :: _init(), BEGIN [02:00:18.316] CanvasClip :: LoadImageWithPromise(), src: C0A5002C-6E47-6383-1DDA-ECB79CB7DAC1_6.jpg [02:00:18.340] CanvasClip :: LoadImageWithPromise(), loaded, isError: false [02:00:18.342] AnimatedImageFrame[aif] :: _init(), END [02:00:18.342] AnimatedImageFrame[aif] :: constructor() [02:00:18.342] AnimatedImageFrame[aif] :: _init(), BEGIN [02:00:18.343] CanvasClip :: LoadImageWithPromise(), src: C0A5002C-6E47-6383-1DDA-ECB79CB7DAC1_7.jpg [02:00:18.366] CanvasClip :: LoadImageWithPromise(), loaded, isError: false [02:00:18.367] AnimatedImageFrame[aif] :: _init(), END [02:00:18.368] AnimatedImageFrame[aif] :: constructor() [02:00:18.368] AnimatedImageFrame[aif] :: _init(), BEGIN [02:00:18.368] CanvasClip :: LoadImageWithPromise(), src: C0A5002C-6E47-6383-1DDA-ECB79CB7DAC1_8.jpg [02:00:18.391] CanvasClip :: LoadImageWithPromise(), loaded, isError: false [02:00:18.393] AnimatedImageFrame[aif] :: _init(), END [02:00:18.393] AnimatedImageFrame[aif] :: constructor() [02:00:18.393] AnimatedImageFrame[aif] :: _init(), BEGIN [02:00:18.393] CanvasClip :: LoadImageWithPromise(), src: C0A5002C-6E47-6383-1DDA-ECB79CB7DAC1_9.jpg [02:00:18.415] CanvasClip :: LoadImageWithPromise(), loaded, isError: false [02:00:18.416] AnimatedImageFrame[aif] :: _init(), END [02:00:18.417] AnimatedImageFrame[aif] :: constructor() [02:00:18.417] AnimatedImageFrame[aif] :: _init(), BEGIN [02:00:18.417] CanvasClip :: LoadImageWithPromise(), src: C0A5002C-6E47-6383-1DDA-ECB79CB7DAC1_10.jpg [02:00:18.442] CanvasClip :: LoadImageWithPromise(), loaded, isError: false [02:00:18.443] AnimatedImageFrame[aif] :: _init(), END [02:00:18.443] AnimatedImageFrame[aif] :: constructor() [02:00:18.443] AnimatedImageFrame[aif] :: _init(), BEGIN [02:00:18.444] CanvasClip :: LoadImageWithPromise(), src: C0A5002C-6E47-6383-1DDA-ECB79CB7DAC1_11.jpg [02:00:18.469] CanvasClip :: LoadImageWithPromise(), loaded, isError: false [02:00:18.470] AnimatedImageFrame[aif] :: _init(), END [02:00:18.470] AnimatedImageFrame[aif] :: constructor() [02:00:18.471] AnimatedImageFrame[aif] :: _init(), BEGIN [02:00:18.471] CanvasClip :: LoadImageWithPromise(), src: C0A5002C-6E47-6383-1DDA-ECB79CB7DAC1_12.jpg [02:00:18.496] CanvasClip :: LoadImageWithPromise(), loaded, isError: false [02:00:18.497] AnimatedImageFrame[aif] :: _init(), END [02:00:18.498] AnimatedImageFrame[aif] :: constructor() [02:00:18.498] AnimatedImageFrame[aif] :: _init(), BEGIN [02:00:18.498] CanvasClip :: LoadImageWithPromise(), src: C0A5002C-6E47-6383-1DDA-ECB79CB7DAC1_13.jpg [02:00:18.524] CanvasClip :: LoadImageWithPromise(), loaded, isError: false [02:00:18.525] AnimatedImageFrame[aif] :: _init(), END [02:00:18.526] AnimatedImageFrame[aif] :: constructor() [02:00:18.526] AnimatedImageFrame[aif] :: _init(), BEGIN [02:00:18.526] CanvasClip :: LoadImageWithPromise(), src: C0A5002C-6E47-6383-1DDA-ECB79CB7DAC1_14.jpg [02:00:18.551] CanvasClip :: LoadImageWithPromise(), loaded, isError: false [02:00:18.552] AnimatedImageFrame[aif] :: _init(), END [02:00:18.553] AnimatedImageFrame[aif] :: constructor() [02:00:18.553] AnimatedImageFrame[aif] :: _init(), BEGIN [02:00:18.553] CanvasClip :: LoadImageWithPromise(), src: C0A5002C-6E47-6383-1DDA-ECB79CB7DAC1_15.jpg [02:00:18.578] CanvasClip :: LoadImageWithPromise(), loaded, isError: false [02:00:18.579] AnimatedImageFrame[aif] :: _init(), END [02:00:18.580] AnimatedImageFrame[aif] :: constructor() [02:00:18.580] AnimatedImageFrame[aif] :: _init(), BEGIN [02:00:18.580] CanvasClip :: LoadImageWithPromise(), src: C0A5002C-6E47-6383-1DDA-ECB79CB7DAC1_16.jpg [02:00:18.616] CanvasClip :: LoadImageWithPromise(), loaded, isError: false [02:00:18.617] AnimatedImageFrame[aif] :: _init(), END [02:00:18.618] AnimatedImageFrame[aif] :: constructor() [02:00:18.618] AnimatedImageFrame[aif] :: _init(), BEGIN [02:00:18.618] CanvasClip :: LoadImageWithPromise(), src: C0A5002C-6E47-6383-1DDA-ECB79CB7DAC1_17.jpg [02:00:18.639] CanvasClip :: LoadImageWithPromise(), loaded, isError: false [02:00:18.640] AnimatedImageFrame[aif] :: _init(), END [02:00:18.641] AnimatedImageFrame[aif] :: constructor() [02:00:18.641] AnimatedImageFrame[aif] :: _init(), BEGIN [02:00:18.641] CanvasClip :: LoadImageWithPromise(), src: C0A5002C-6E47-6383-1DDA-ECB79CB7DAC1_18.jpg [02:00:18.667] CanvasClip :: LoadImageWithPromise(), loaded, isError: false [02:00:18.668] AnimatedImageFrame[aif] :: _init(), END [02:00:18.669] AnimatedImageFrame[aif] :: constructor() [02:00:18.669] AnimatedImageFrame[aif] :: _init(), BEGIN [02:00:18.669] CanvasClip :: LoadImageWithPromise(), src: C0A5002C-6E47-6383-1DDA-ECB79CB7DAC1_19.jpg [02:00:18.692] CanvasClip :: LoadImageWithPromise(), loaded, isError: false [02:00:18.693] AnimatedImageFrame[aif] :: _init(), END [02:00:18.694] AnimatedImageFrame[aif] :: constructor() [02:00:18.694] AnimatedImageFrame[aif] :: _init(), BEGIN [02:00:18.694] CanvasClip :: LoadImageWithPromise(), src: C0A5002C-6E47-6383-1DDA-ECB79CB7DAC1_20.jpg [02:00:18.716] CanvasClip :: LoadImageWithPromise(), loaded, isError: false [02:00:18.717] AnimatedImageFrame[aif] :: _init(), END [02:00:18.717] Overlay[simplefadedisplay] :: _animate() [02:00:18.718] KenBurnsSlideshow[simplefadedisplay] :: _init(), END [02:00:18.718] CanvasStream[simplefadedisplay] :: _init(), p.then() [02:00:18.718] CanvasStream[canvas_631874362542] :: _init(), promise.all.then() [02:00:18.720] CanvasStream[canvas_631874362542] :: _init(), END [02:00:18.720] StreamMangaer :: init(), stream[canvas_631874362542].then() [02:00:18.720] Vidbot :: StreamMgr.on( 'STREAM_INITED' ), data: { streamID: 'canvas_631874362542', progress: 1 } [02:00:18.721] index :: _onStepProgress_vidbot(), percent: 100 [02:00:18.721] StreamManager :: init(), promise.all.then... [02:00:18.721] Vidbot :: StreamMgr.on( 'INITED' ) [02:00:18.721] Vidbot :: _next(), _stepIndex:2 of 4 [02:00:18.721] index :: _onStepCompleted_vidbot(), step: 2 [02:00:18.721] index :: _onStepStarted_vidbot(), step: 3 [02:00:18.722] Vidbot :: step[2], label:Rendering Canvas Streams [02:00:18.722] Vidbot :: StreamMgr.on( 'RENDER_STARTED' ), data: undefined [02:00:18.722] StreamManager :: render() [02:00:18.723] CanvasStream[canvas_631874362542] :: render() [02:00:18.759] index :: _onStepProgress_vidbot(), percent: 0 [02:00:37.884] index :: _onStepProgress_vidbot(), percent: 5 [02:01:00.606] index :: _onStepProgress_vidbot(), percent: 10 [02:01:24.254] index :: _onStepProgress_vidbot(), percent: 15 [02:01:47.436] index :: _onStepProgress_vidbot(), percent: 20 [02:02:12.016] index :: _onStepProgress_vidbot(), percent: 25 [02:02:35.039] index :: _onStepProgress_vidbot(), percent: 30 [02:03:01.125] index :: _onStepProgress_vidbot(), percent: 35 [02:03:30.159] index :: _onStepProgress_vidbot(), percent: 40 [02:03:58.490] index :: _onStepProgress_vidbot(), percent: 45 [02:04:26.446] index :: _onStepProgress_vidbot(), percent: 50 [02:04:52.345] index :: _onStepProgress_vidbot(), percent: 55 [02:05:18.702] index :: _onStepProgress_vidbot(), percent: 60 [02:05:42.893] index :: _onStepProgress_vidbot(), percent: 65 [02:06:07.264] index :: _onStepProgress_vidbot(), percent: 70 [02:06:32.518] index :: _onStepProgress_vidbot(), percent: 75 [02:06:56.313] index :: _onStepProgress_vidbot(), percent: 80 [02:07:20.928] index :: _onStepProgress_vidbot(), percent: 85 [02:07:47.320] index :: _onStepProgress_vidbot(), percent: 90 [02:08:18.407] index :: _onStepProgress_vidbot(), percent: 95 [02:08:34.959] index :: _onStepProgress_vidbot(), percent: 100 [02:08:36.233] StreamManager :: render(), Promise.all.then... [02:08:36.234] Vidbot :: StreamMgr.on( 'RENDER_COMPLETED' ), data: undefined [02:08:36.234] Vidbot :: _next(), _stepIndex:3 of 4 [02:08:36.235] index :: _onStepCompleted_vidbot(), step: 3 [02:08:36.235] index :: _onStepStarted_vidbot(), step: 4 [02:08:36.236] Vidbot :: step[3], label:Encoding Media [02:08:36.238] CanvasFilters :: Overlay() [02:08:36.239] AudioStream[audio_vo] :: inputOptions() [02:08:36.239] AudioFilters :: Volume() [02:08:36.239] filter: [2:a]volume=1[2_vol] [02:08:36.239] AudioFilters :: Delay() [02:08:36.240] filter: [2_vol]adelay=0|0[2_del] [02:08:36.240] AudioStream[bg_music] :: inputOptions() [02:08:36.240] AudioFilters :: Volume() [02:08:36.240] filter: [3:a]volume=0.25[3_vol] [02:08:36.240] AudioFilters :: FadeOut() [02:08:36.240] filter: [3_vol]afade=t=out:st=60:d=1[3_fadeout] [02:08:36.240] AudioFilters :: Delay() [02:08:36.240] filter: [3_fadeout]adelay=0|0[3_del] [02:08:36.240] AudioFilters :: Mix() [02:08:36.240] filter: [2_del][3_del]amix=inputs=2:duration=longest[a_out] [02:08:36.241] mixed filter: [2_del][3_del]amix=inputs=2:duration=longest[a_out] [02:08:36.243] hang.time: 60 [02:08:36.368] Vidbot :: ffmpeg.on( 'start' ) [02:08:36.369] ffmpeg -f lavfi -i color=c=000000:s=640x360:r=30:duration=63 -r 30 -i ./tmp/canvas_631874362542_%05d.png -to 00:01:03.000 -i file:///var/www/html/clie [02:08:36.369] nts/9001/audio/C0A5002C-6E47-6383-1DDA-ECB79CB7DAC1.mp3 -to 00:01:00.000 -i file:///var/app/video_pre_processor/assets/vidbot/_files/audio/RF3_Easy_Li [02:08:36.369] stening.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=o [02:08:36.369] ut:st=60: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 [02:08:36.369] [a_out] -map [1_out] -preset veryfast -crf 18 -movflags frag_keyframe+empty_moov -pix_fmt yuv420p /var/www/html/clients/9001/video/C0A5002C-6E47-6383 [02:08:36.369] -1DDA-ECB79CB7DAC1.mp4 [02:08:36.642] index :: _onStepProgress_vidbot(), percent: -3297219773 [02:08:37.003] index :: _onStepProgress_vidbot(), percent: 1 [02:08:38.524] index :: _onStepProgress_vidbot(), percent: 6 [02:08:39.537] index :: _onStepProgress_vidbot(), percent: 10 [02:08:41.060] index :: _onStepProgress_vidbot(), percent: 15 [02:08:42.574] index :: _onStepProgress_vidbot(), percent: 21 [02:08:43.706] index :: _onStepProgress_vidbot(), percent: 25 [02:08:45.092] index :: _onStepProgress_vidbot(), percent: 31 [02:08:46.097] index :: _onStepProgress_vidbot(), percent: 36 [02:08:47.102] index :: _onStepProgress_vidbot(), percent: 41 [02:08:48.118] index :: _onStepProgress_vidbot(), percent: 46 [02:08:49.118] index :: _onStepProgress_vidbot(), percent: 51 [02:08:50.138] index :: _onStepProgress_vidbot(), percent: 56 [02:08:51.153] index :: _onStepProgress_vidbot(), percent: 60 [02:08:52.663] index :: _onStepProgress_vidbot(), percent: 67 [02:08:53.710] index :: _onStepProgress_vidbot(), percent: 71 [02:08:54.216] index :: _onStepProgress_vidbot(), percent: 75 [02:08:55.218] index :: _onStepProgress_vidbot(), percent: 81 [02:08:56.218] index :: _onStepProgress_vidbot(), percent: 86 [02:08:56.718] index :: _onStepProgress_vidbot(), percent: 90 [02:08:57.724] index :: _onStepProgress_vidbot(), percent: 95 [02:08:58.162] index :: _onStepProgress_vidbot(), percent: 100 [02:08:58.197] Vidbot :: ffmpeg.on( 'end' ), Done! [02:08:58.197] StreamManager :: dispose() [02:08:58.198] CanvasStream[canvas_631874362542] :: dispose() [02:08:58.217] Vidbot :: fflog.on( 'finish' ) [02:08:58.218] fflog.path: /var/www/html/clients/9001/video/C0A5002C-6E47-6383-1DDA-ECB79CB7DAC1.mp4.fflog [02:08:58.218] Vidbot :: _next(), _stepIndex:4 of 4 [02:08:58.218] index :: _onStepCompleted_vidbot(), step: 4 [02:08:58.218] index :: _onComplete_vidbot(), data: { stepTime: 0, appTime: 520.311, output: '/var/www/html/clients/9001/video/C0A5002C-6E47-6383-1DDA-ECB79CB7DAC1.mp4', duration: 63 } --------------------------------------------------------------------------------------------------------------- Output File : /var/app/video_pre_processor/jobs/postp//var/www/html/clients/9001/video/C0A5002C-6E47-6383-1DDA-ECB79CB7DAC1.mp4 Media Duration : 00:01:03.000 Generation Time : 00:08:40.311 ---------------------------------------------------------------------------------------------------------------