全自动合成一个高清的短视频-MoneyPrinterTurbo使用
- 2024-05-23 20:15:00
- pjd
- 原创 193
开源地址: https://github.com/harry0703/MoneyPrinterTurbo
一、摘录介绍文档
只需提供一个视频 主题 或 关键词 ,就可以全自动生成视频文案、视频素材、视频字幕、视频背景音乐,然后合成一个高清的短视频。
由于该项目的 部署 和 使用,对于一些小白用户来说,还是 有一定的门槛,在此特别感谢 录咖(AI智能 多媒体服务平台) 网站基于该项目,提供的免费AI视频生成器服务,可以不用部署,直接在线使用,非常方便。
- 中文版: https://reccloud.cn
- 英文版: https://reccloud.com
功能特性
- 完整的 MVC架构,代码 结构清晰,易于维护,支持 API 和 Web界面
- 支持视频文案 AI自动生成,也可以自定义文案
- 支持多种 高清视频 尺寸
- 竖屏 9:16,1080x1920
- 横屏 16:9,1920x1080
- 支持 批量视频生成,可以一次生成多个视频,然后选择一个最满意的
- 支持 视频片段时长 设置,方便调节素材切换频率
- 支持 中文 和 英文 视频文案
- 支持 多种语音 合成,可 实时试听 效果
- 支持 字幕生成,可以调整 字体、位置、颜色、大小,同时支持字幕描边设置
- 支持 背景音乐,随机或者指定音乐文件,可设置背景音乐音量
- 视频素材来源 高清,而且 无版权,也可以使用自己的 本地素材
- 支持 OpenAI、Moonshot、Azure、gpt4free、one-api、通义千问、Google Gemini、Ollama、 DeepSeek 等多种模型接入
- 中国用户建议使用 DeepSeek 或 Moonshot 作为大模型提供商(国内可直接访问,不需要VPN。注册就送额度,基本够用)
二、本地试用
1、界面
2、生成的视频
3、生成记录
2024-05-23 21:22:06.908 | INFO | __main__:<module>:525 - 开始生成视频 2024-05-23 21:22:06.909 | INFO | __main__:<module>:526 - { "video_subject": "谷歌搜索", "video_script": "谷歌搜索 第一部分:背景谷歌是全球最大的搜索引擎,拥有数亿的用户。它提供各种信息,从新闻和天气预报到购物和地图导航。 第二部分:产品特点谷歌的特点包括它的搜索算法,以及它在隐私保护方面的承诺。 第三部分:功能谷歌的主要功能包括搜索、图片浏览、视频播放等。 第四部分:使用谷歌易于使用,只需简单的搜索即可找到所需的信息。 语音旁白:欢迎来到谷歌搜索!这是一种快速且全面的搜索引擎,能够帮助你快速查找你需要的信息。 第五部分:介绍谷歌是一种全球领先的搜索引擎,其搜索算法使得我们能够在短时间内找到最相关的结果。此外,谷歌还为我们提供了许多其他的服务,如图片浏览、视频播放等。 第六部分:使用指南谷歌搜索引擎非常简单易用,只需要简单的搜索就能找到你需要的信息。如果你有任何问题,都可以通过谷歌的帮助中心来寻求解答。", "video_terms": "Google Search Part 1: Background Google is the world's largest search engine, with hundreds of millions of users. It provides a variety of information, from news and weather forecasts to shopping and map navigation. Part 2: Product Features Google's features include its search algorithm and its commitment to privacy protection. Part Three: Functions Google's main functions include search, image browsing, video playback, etc. Part 4: Using Google is easy to use and you can find the information you need with a simple search. Voice Narrator: Welcome to Google Search! This is a fast and comprehensive search engine that helps you find the information you need quickly. Part 5: Introduction Google is a world-leading search engine whose search algorithm allows us to find the most relevant results in a short time. In addition, Google also provides us with many other services, such as picture browsing, video playback, etc. Part 6: User Guide The Google search engine is very easy to use, and you can find the information you need with just a simple search. If you have any questions, you can seek answers through Google's Help Center。", "video_aspect": "9:16", "video_concat_mode": "random", "video_clip_duration": 3, "video_count": 1, "video_language": "", "voice_name": "en-US-EmmaNeural-Female", "voice_volume": 1.0, "bgm_type": "random", "bgm_file": "", "bgm_volume": 0.2, "subtitle_enabled": true, "subtitle_position": "bottom", "font_name": "MicrosoftYaHeiBold.ttc", "text_fore_color": "#ce8e8e", "text_background_color": "transparent", "font_size": 60, "stroke_color": "#000000", "stroke_width": 1.5, "n_threads": 2, "paragraph_number": 1 } 2024-05-23 21:22:06.909 | INFO | app.services.task:start:30 - start task: 308f6060-2ada-47d2-942b-ffdc2c0dfdb7 2024-05-23 21:22:06.910 | INFO | app.services.task:start:39 - ## generating video script 2024-05-23 21:22:06.910 | DEBUG | app.services.task:start:45 - video script: 谷歌搜索 第一部分:背景谷歌是全球最大的搜索引擎,拥有数亿的用户。它提供各种信息,从新闻和天气预报到购物和地图导航。 第二部分:产品特点谷歌的特点包括它的搜索算法,以及它在隐私保护方面的承诺。 第三部分:功能谷歌的主要功能包括搜索、图片浏览、视频播放等。 第四部分:使用谷歌易于使用,只需简单的搜索即可找到所需的信息。 语音旁白:欢迎来到谷歌搜索!这是一种快速且全面的搜索引擎,能够帮助你快速查找你需要的信息。 第五部分:介绍谷歌是一种全球领先的搜索引擎,其搜索算法使得我们能够在短时间内找到最相关的结果。此外,谷歌还为我们提供了许多其他的服务,如图片浏览、视频播放等。 第六部分:使用指南谷歌搜索引擎非常简单易用,只需要简单的搜索就能找到你需要的信息。如果你有任何问题,都可以通过谷歌的帮助中心来寻求解答。 2024-05-23 21:22:06.910 | INFO | app.services.task:start:49 - ## generating video terms 2024-05-23 21:22:06.911 | DEBUG | app.services.task:start:61 - video terms: [ "Google Search Part 1: Background Google is the world's largest search engine", "with hundreds of millions of users. It provides a variety of information", "from news and weather forecasts to shopping and map navigation. Part 2: Product Features Google's features include its search algorithm and its commitment to privacy protection. Part Three: Functions Google's main functions include search", "image browsing", "video playback", "etc. Part 4: Using Google is easy to use and you can find the information you need with a simple search. Voice Narrator: Welcome to Google Search! This is a fast and comprehensive search engine that helps you find the information you need quickly. Part 5: Introduction Google is a world-leading search engine whose search algorithm allows us to find the most relevant results in a short time. In addition", "Google also provides us with many other services", "such as picture browsing", "video playback", "etc. Part 6: User Guide The Google search engine is very easy to use", "and you can find the information you need with just a simple search. If you have any questions", "you can seek answers through Google's Help Center。" ] 2024-05-23 21:22:06.912 | INFO | app.services.task:start:75 - ## generating audio 2024-05-23 21:22:06.913 | INFO | app.services.voice:azure_tts_v1:1041 - start, voice name: en-US-EmmaNeural, try: 1 2024-05-23 21:22:19.252 | INFO | app.services.voice:azure_tts_v1:1059 - completed, output file: ./storage/tasks/308f6060-2ada-47d2-942b-ffdc2c0dfdb7/audio.mp3 2024-05-23 21:22:19.255 | INFO | app.services.task:start:97 - ## generating subtitle, provider: whisper 2024-05-23 21:22:19.257 | INFO | app.services.subtitle:create:26 - loading model: ./models/whisper-large-v3, device: CPU, compute_type: int8 2024-05-23 21:22:22.027 | INFO | app.services.subtitle:create:31 - start, output file: ./storage/tasks/308f6060-2ada-47d2-942b-ffdc2c0dfdb7/subtitle.srt 2024-05-23 21:22:25.940 | INFO | app.services.subtitle:create:43 - detected language: 'zh', probability: 0.99 2024-05-23 21:22:37.225 | DEBUG | app.services.subtitle:recognized:54 - [0.00s -> 0.90s] 谷歌搜索 2024-05-23 21:22:37.225 | DEBUG | app.services.subtitle:recognized:54 - [1.04s -> 1.88s] 第一部分 2024-05-23 21:22:37.226 | DEBUG | app.services.subtitle:recognized:54 - [2.12s -> 5.68s] 背景谷歌是全球最大的搜索引擎 2024-05-23 21:22:37.226 | DEBUG | app.services.subtitle:recognized:54 - [5.76s -> 7.46s] 拥有数亿的用户 2024-05-23 21:22:37.226 | DEBUG | app.services.subtitle:recognized:54 - [7.46s -> 9.48s] 它提供各种信息 2024-05-23 21:22:37.226 | DEBUG | app.services.subtitle:recognized:54 - [9.66s -> 13.52s] 从新闻和天气预报到购物和地图导航 2024-05-23 21:22:37.227 | DEBUG | app.services.subtitle:recognized:54 - [13.52s -> 14.70s] 第二部分 2024-05-23 21:22:37.227 | DEBUG | app.services.subtitle:recognized:54 - [15.08s -> 18.84s] 产品特点谷歌的特点包括它的搜索算法 2024-05-23 21:22:37.227 | DEBUG | app.services.subtitle:recognized:54 - [19.00s -> 21.96s] 以及它在隐私保护方面的承诺 2024-05-23 21:22:37.227 | DEBUG | app.services.subtitle:recognized:54 - [21.96s -> 23.12s] 第三部分 2024-05-23 21:22:37.228 | DEBUG | app.services.subtitle:recognized:54 - [23.78s -> 26.48s] 功能谷歌的主要功能包括搜索 2024-05-23 21:22:37.228 | DEBUG | app.services.subtitle:recognized:54 - [26.64s -> 27.72s] 图片浏览 2024-05-23 21:22:37.228 | DEBUG | app.services.subtitle:recognized:54 - [27.92s -> 29.14s] 视频播放等 2024-05-23 21:23:04.190 | DEBUG | app.services.subtitle:recognized:54 - [29.14s -> 30.34s] 第四部分 2024-05-23 21:23:04.190 | DEBUG | app.services.subtitle:recognized:54 - [30.58s -> 32.60s] 使用谷歌易于使用 2024-05-23 21:23:04.191 | DEBUG | app.services.subtitle:recognized:54 - [32.68s -> 36.32s] 只需简单地搜索即可找到所需的信息 2024-05-23 21:23:04.191 | DEBUG | app.services.subtitle:recognized:54 - [36.32s -> 37.66s] 语音旁白 2024-05-23 21:23:04.191 | DEBUG | app.services.subtitle:recognized:54 - [37.88s -> 39.94s] 欢迎来到谷歌搜索 2024-05-23 21:23:04.191 | DEBUG | app.services.subtitle:recognized:54 - [40.08s -> 43.42s] 这是一种快速且全面的搜索引擎 2024-05-23 21:23:04.192 | DEBUG | app.services.subtitle:recognized:54 - [43.50s -> 46.86s] 能够帮助你快速查找你需要的信息 2024-05-23 21:23:04.192 | DEBUG | app.services.subtitle:recognized:54 - [46.86s -> 48.10s] 第五部分 2024-05-23 21:23:04.192 | DEBUG | app.services.subtitle:recognized:54 - [48.40s -> 52.14s] 介绍谷歌是一种全球领先的搜索引擎 2024-05-23 21:23:04.193 | DEBUG | app.services.subtitle:recognized:54 - [52.24s -> 57.42s] 其搜索算法使得我们能够在短时间内找到最相关的结果 2024-05-23 21:23:04.193 | DEBUG | app.services.subtitle:recognized:54 - [57.42s -> 58.28s] 此外 2024-05-23 21:23:04.193 | DEBUG | app.services.subtitle:recognized:54 - [58.50s -> 59.12s] 谷歌是一种全球领先的搜索引擎 2024-05-23 21:23:04.194 | DEBUG | app.services.subtitle:recognized:54 - [59.12s -> 59.12s] 其搜索算法使得我们能够在短时间内找到最相关的结果 2024-05-23 21:23:18.636 | DEBUG | app.services.subtitle:recognized:54 - [59.12s -> 61.92s] 谷歌还为我们提供了许多其他的服务 2024-05-23 21:23:18.637 | DEBUG | app.services.subtitle:recognized:54 - [61.98s -> 63.36s] 如图片浏览 2024-05-23 21:23:18.637 | DEBUG | app.services.subtitle:recognized:54 - [63.48s -> 64.70s] 视频播放等 2024-05-23 21:23:18.637 | DEBUG | app.services.subtitle:recognized:54 - [64.70s -> 65.88s] 第六部分 2024-05-23 21:23:18.638 | DEBUG | app.services.subtitle:recognized:54 - [66.18s -> 69.76s] 使用指南谷歌搜索引擎非常简单易用 2024-05-23 21:23:18.638 | DEBUG | app.services.subtitle:recognized:54 - [69.88s -> 73.84s] 只需要简单地搜索就能找到你需要的信息 2024-05-23 21:23:18.638 | DEBUG | app.services.subtitle:recognized:54 - [73.84s -> 75.82s] 如果你有任何问题 2024-05-23 21:23:18.638 | DEBUG | app.services.subtitle:recognized:54 - [76.14s -> 80.00s] 都可以通过谷歌的帮助中心来寻求解答 2024-05-23 21:23:18.641 | INFO | app.services.subtitle:create:106 - complete, elapsed: 52.70 s 2024-05-23 21:23:18.642 | INFO | app.services.subtitle:create:119 - subtitle file created: ./storage/tasks/308f6060-2ada-47d2-942b-ffdc2c0dfdb7/subtitle.srt 2024-05-23 21:23:18.642 | INFO | app.services.task:start:107 - ## correcting subtitle 2024-05-23 21:23:18.643 | SUCCESS | app.services.subtitle:correct:161 - subtitle is correct 2024-05-23 21:23:18.643 | INFO | app.services.task:start:117 - ## downloading videos 2024-05-23 21:23:18.644 | INFO | app.services.material:search_videos:51 - searching videos: https://api.pexels.com/videos/search?query=Google+Search+Part+1%3A+Background+Google+is+the+world%27s+largest+search+engine&per_page=20&orientation=portrait, with proxies: {} 2024-05-23 21:23:20.173 | INFO | app.services.material:download_videos:140 - found 3 videos for 'Google Search Part 1: Background Google is the world's largest search engine' 2024-05-23 21:23:20.176 | INFO | app.services.material:search_videos:51 - searching videos: https://api.pexels.com/videos/search?query=with+hundreds+of+millions+of+users.+It+provides+a+variety+of+information&per_page=20&orientation=portrait, with proxies: {} 2024-05-23 21:23:21.768 | INFO | app.services.material:download_videos:140 - found 14 videos for 'with hundreds of millions of users. It provides a variety of information' 2024-05-23 21:23:21.773 | INFO | app.services.material:search_videos:51 - searching videos: https://api.pexels.com/videos/search?query=from+news+and+weather+forecasts+to+shopping+and+map+navigation.+Part+2%3A+Product+Features+Google%27s+features+include+its+search+algorithm+and+its+commitment+to+privacy+protection.+Part+Three%3A+Functions+Google%27s+main+functions+include+search&per_page=20&orientation=portrait, with proxies: {} 2024-05-23 21:23:25.141 | INFO | app.services.material:download_videos:140 - found 3 videos for 'from news and weather forecasts to shopping and map navigation. Part 2: Product Features Google's features include its search algorithm and its commitment to privacy protection. Part Three: Functions Google's main functions include search' 2024-05-23 21:23:25.144 | INFO | app.services.material:search_videos:51 - searching videos: https://api.pexels.com/videos/search?query=image+browsing&per_page=20&orientation=portrait, with proxies: {} 2024-05-23 21:23:26.608 | INFO | app.services.material:download_videos:140 - found 15 videos for 'image browsing' 2024-05-23 21:23:26.611 | INFO | app.services.material:search_videos:51 - searching videos: https://api.pexels.com/videos/search?query=video+playback&per_page=20&orientation=portrait, with proxies: {} 2024-05-23 21:23:28.219 | INFO | app.services.material:download_videos:140 - found 17 videos for 'video playback' 2024-05-23 21:23:28.222 | INFO | app.services.material:search_videos:51 - searching videos: https://api.pexels.com/videos/search?query=etc.+Part+4%3A+Using+Google+is+easy+to+use+and+you+can+find+the+information+you+need+with+a+simple+search.+Voice+Narrator%3A+Welcome+to+Google+Search%21+This+is+a+fast+and+comprehensive+search+engine+that+helps+you+find+the+information+you+need+quickly.+Part+5%3A+Introduction+Google+is+a+world-leading+search+engine+whose+search+algorithm+allows+us+to+find+the+most+relevant+results+in+a+short+time.+In+addition&per_page=20&orientation=portrait, with proxies: {} 2024-05-23 21:23:29.650 | INFO | app.services.material:download_videos:140 - found 4 videos for 'etc. Part 4: Using Google is easy to use and you can find the information you need with a simple search. Voice Narrator: Welcome to Google Search! This is a fast and comprehensive search engine that helps you find the information you need quickly. Part 5: Introduction Google is a world-leading search engine whose search algorithm allows us to find the most relevant results in a short time. In addition' 2024-05-23 21:23:29.654 | INFO | app.services.material:search_videos:51 - searching videos: https://api.pexels.com/videos/search?query=Google+also+provides+us+with+many+other+services&per_page=20&orientation=portrait, with proxies: {} 2024-05-23 21:23:31.964 | INFO | app.services.material:download_videos:140 - found 10 videos for 'Google also provides us with many other services' 2024-05-23 21:23:31.968 | INFO | app.services.material:search_videos:51 - searching videos: https://api.pexels.com/videos/search?query=such+as+picture+browsing&per_page=20&orientation=portrait, with proxies: {} 2024-05-23 21:23:34.259 | INFO | app.services.material:download_videos:140 - found 16 videos for 'such as picture browsing' 2024-05-23 21:23:34.262 | INFO | app.services.material:search_videos:51 - searching videos: https://api.pexels.com/videos/search?query=video+playback&per_page=20&orientation=portrait, with proxies: {} 2024-05-23 21:23:35.161 | INFO | app.services.material:download_videos:140 - found 17 videos for 'video playback' 2024-05-23 21:23:35.164 | INFO | app.services.material:search_videos:51 - searching videos: https://api.pexels.com/videos/search?query=etc.+Part+6%3A+User+Guide+The+Google+search+engine+is+very+easy+to+use&per_page=20&orientation=portrait, with proxies: {} 2024-05-23 21:23:36.857 | INFO | app.services.material:download_videos:140 - found 4 videos for 'etc. Part 6: User Guide The Google search engine is very easy to use' 2024-05-23 21:23:36.860 | INFO | app.services.material:search_videos:51 - searching videos: https://api.pexels.com/videos/search?query=and+you+can+find+the+information+you+need+with+just+a+simple+search.+If+you+have+any+questions&per_page=20&orientation=portrait, with proxies: {} 2024-05-23 21:23:38.506 | INFO | app.services.material:download_videos:140 - found 15 videos for 'and you can find the information you need with just a simple search. If you have any questions' 2024-05-23 21:23:38.510 | INFO | app.services.material:search_videos:51 - searching videos: https://api.pexels.com/videos/search?query=you+can+seek+answers+through+Google%27s+Help+Center%E3%80%82&per_page=20&orientation=portrait, with proxies: {} 2024-05-23 21:23:40.660 | INFO | app.services.material:download_videos:140 - found 9 videos for 'you can seek answers through Google's Help Center。' 2024-05-23 21:23:40.663 | INFO | app.services.material:download_videos:148 - found total videos: 95, required duration: 81 seconds, found duration: 1278.0 seconds 2024-05-23 21:23:40.667 | INFO | app.services.material:download_videos:164 - downloading video: https://videos.pexels.com/video-files/6773635/6773635-hd_1080_1920_30fps.mp4 2024-05-23 21:23:43.314 | INFO | app.services.material:download_videos:167 - video saved: ./storage/cache_videos/vid-b042f94f4e4dcaa7629e86c5cf5028b8.mp4 2024-05-23 21:23:43.317 | INFO | app.services.material:download_videos:164 - downloading video: https://videos.pexels.com/video-files/6154836/6154836-hd_1080_1920_30fps.mp4 2024-05-23 21:24:05.408 | INFO | app.services.material:download_videos:167 - video saved: ./storage/cache_videos/vid-cd90c751a5d5af14fcbc33205a3448e7.mp4 2024-05-23 21:24:05.410 | INFO | app.services.material:download_videos:164 - downloading video: https://videos.pexels.com/video-files/5585983/5585983-hd_1080_1920_30fps.mp4 2024-05-23 21:24:07.267 | INFO | app.services.material:download_videos:167 - video saved: ./storage/cache_videos/vid-917311179a25817b611b6265272cf09c.mp4 2024-05-23 21:24:07.268 | INFO | app.services.material:download_videos:164 - downloading video: https://videos.pexels.com/video-files/8802330/8802330-hd_1080_1920_30fps.mp4 2024-05-23 21:24:12.941 | INFO | app.services.material:download_videos:167 - video saved: ./storage/cache_videos/vid-a239a7bb8ecd14860c10e503f2c0a53b.mp4 2024-05-23 21:24:12.942 | INFO | app.services.material:download_videos:164 - downloading video: https://videos.pexels.com/video-files/6761637/6761637-hd_1080_1920_25fps.mp4 2024-05-23 21:24:16.313 | INFO | app.services.material:download_videos:167 - video saved: ./storage/cache_videos/vid-897bd6eab57d94c72f1508459b178062.mp4 2024-05-23 21:24:16.314 | INFO | app.services.material:download_videos:164 - downloading video: https://videos.pexels.com/video-files/4625678/4625678-hd_1080_1920_30fps.mp4 2024-05-23 21:24:20.005 | INFO | app.services.material:download_videos:167 - video saved: ./storage/cache_videos/vid-cd2e5c8d39eabc875eabd1efc048deda.mp4 2024-05-23 21:24:20.006 | INFO | app.services.material:download_videos:164 - downloading video: https://videos.pexels.com/video-files/5137607/5137607-hd_1080_1920_30fps.mp4 2024-05-23 21:24:22.012 | INFO | app.services.material:download_videos:167 - video saved: ./storage/cache_videos/vid-a0fe03387c393f5a44708605cd278cff.mp4 2024-05-23 21:24:22.013 | INFO | app.services.material:download_videos:164 - downloading video: https://videos.pexels.com/video-files/6003997/6003997-hd_1080_1920_30fps.mp4 2024-05-23 21:24:24.123 | INFO | app.services.material:download_videos:167 - video saved: ./storage/cache_videos/vid-0f6233e722f514280cd3cb5e6bff3b57.mp4 2024-05-23 21:24:24.124 | INFO | app.services.material:download_videos:164 - downloading video: https://videos.pexels.com/video-files/5871270/5871270-hd_1080_1920_24fps.mp4 2024-05-23 21:24:27.269 | INFO | app.services.material:download_videos:167 - video saved: ./storage/cache_videos/vid-0a39f804ff68af8b5c4c630974414305.mp4 2024-05-23 21:24:27.272 | INFO | app.services.material:download_videos:164 - downloading video: https://videos.pexels.com/video-files/5190121/5190121-hd_1080_1920_30fps.mp4 2024-05-23 21:24:29.244 | INFO | app.services.material:download_videos:167 - video saved: ./storage/cache_videos/vid-b29fb4ca0b11c9d8055e7bf3343da92f.mp4 2024-05-23 21:24:29.246 | INFO | app.services.material:download_videos:164 - downloading video: https://videos.pexels.com/video-files/8472296/8472296-hd_1080_1920_25fps.mp4 2024-05-23 21:24:33.028 | INFO | app.services.material:download_videos:167 - video saved: ./storage/cache_videos/vid-17fde81867c0b09f8bb53c8407c85c95.mp4 2024-05-23 21:24:33.029 | INFO | app.services.material:download_videos:164 - downloading video: https://videos.pexels.com/video-files/6446054/6446054-hd_1080_1920_25fps.mp4 2024-05-23 21:24:35.907 | INFO | app.services.material:download_videos:167 - video saved: ./storage/cache_videos/vid-23fcb4dca9ad16c9d022d3e1b7615752.mp4 2024-05-23 21:24:35.908 | INFO | app.services.material:download_videos:164 - downloading video: https://videos.pexels.com/video-files/6297711/6297711-hd_1080_1920_24fps.mp4 2024-05-23 21:24:38.185 | INFO | app.services.material:download_videos:167 - video saved: ./storage/cache_videos/vid-049084224b649b4f171d22a550d1258d.mp4 2024-05-23 21:24:38.187 | INFO | app.services.material:download_videos:164 - downloading video: https://videos.pexels.com/video-files/6225473/6225473-hd_1080_1920_30fps.mp4 2024-05-23 21:24:40.600 | INFO | app.services.material:download_videos:167 - video saved: ./storage/cache_videos/vid-5af0a69cc3f2d9986f98c57115190d80.mp4 2024-05-23 21:24:40.602 | INFO | app.services.material:download_videos:164 - downloading video: https://videos.pexels.com/video-files/8348724/8348724-hd_1080_1920_25fps.mp4 2024-05-23 21:24:43.383 | INFO | app.services.material:download_videos:167 - video saved: ./storage/cache_videos/vid-1a37e06e16de5e050abdf301f12636cc.mp4 2024-05-23 21:24:43.384 | INFO | app.services.material:download_videos:164 - downloading video: https://videos.pexels.com/video-files/5712757/5712757-hd_1080_1920_25fps.mp4 2024-05-23 21:24:46.230 | INFO | app.services.material:download_videos:167 - video saved: ./storage/cache_videos/vid-ec5e6e5b42b1693237d455234c79fb86.mp4 2024-05-23 21:24:46.231 | INFO | app.services.material:download_videos:164 - downloading video: https://videos.pexels.com/video-files/6549651/6549651-hd_1080_1920_25fps.mp4 2024-05-23 21:24:48.054 | INFO | app.services.material:download_videos:167 - video saved: ./storage/cache_videos/vid-3c69a4a38e44175de163f0528405ef98.mp4 2024-05-23 21:24:48.055 | INFO | app.services.material:download_videos:164 - downloading video: https://videos.pexels.com/video-files/5825788/5825788-hd_1080_1920_24fps.mp4 2024-05-23 21:24:52.814 | INFO | app.services.material:download_videos:167 - video saved: ./storage/cache_videos/vid-267df10a123c9436bc73be3b178646f4.mp4 2024-05-23 21:24:52.815 | INFO | app.services.material:download_videos:164 - downloading video: https://videos.pexels.com/video-files/6549266/6549266-hd_1080_1920_25fps.mp4 2024-05-23 21:24:55.542 | INFO | app.services.material:download_videos:167 - video saved: ./storage/cache_videos/vid-75cbc96bbe70bb9a245695d7cf94b35d.mp4 2024-05-23 21:24:55.543 | INFO | app.services.material:download_videos:164 - downloading video: https://videos.pexels.com/video-files/7677696/7677696-hd_1080_1920_25fps.mp4 2024-05-23 21:24:58.894 | INFO | app.services.material:download_videos:167 - video saved: ./storage/cache_videos/vid-26dae0e2c9a09ed451d7e385829d7a11.mp4 2024-05-23 21:24:58.895 | INFO | app.services.material:download_videos:164 - downloading video: https://videos.pexels.com/video-files/5981416/5981416-hd_1080_1920_24fps.mp4 2024-05-23 21:25:01.900 | INFO | app.services.material:download_videos:167 - video saved: ./storage/cache_videos/vid-605ffcbce3826d644d1b4477f123f564.mp4 2024-05-23 21:25:01.901 | INFO | app.services.material:download_videos:164 - downloading video: https://videos.pexels.com/video-files/8677656/8677656-hd_1080_1920_30fps.mp4 2024-05-23 21:25:03.925 | INFO | app.services.material:download_videos:167 - video saved: ./storage/cache_videos/vid-bba00020aed9627c146d7f099d5a6538.mp4 2024-05-23 21:25:03.926 | INFO | app.services.material:download_videos:164 - downloading video: https://videos.pexels.com/video-files/6952469/6952469-hd_1080_1920_30fps.mp4 2024-05-23 21:25:06.010 | INFO | app.services.material:download_videos:167 - video saved: ./storage/cache_videos/vid-b373f5e53f947e99622c3525fece0687.mp4 2024-05-23 21:25:06.012 | INFO | app.services.material:download_videos:164 - downloading video: https://videos.pexels.com/video-files/7235655/7235655-hd_1080_1920_30fps.mp4 2024-05-23 21:25:08.424 | INFO | app.services.material:download_videos:167 - video saved: ./storage/cache_videos/vid-6790b0b491604cca97b0ec74f87ab737.mp4 2024-05-23 21:25:08.426 | INFO | app.services.material:download_videos:164 - downloading video: https://videos.pexels.com/video-files/3833491/3833491-hd_1080_1920_30fps.mp4 2024-05-23 21:25:10.109 | INFO | app.services.material:download_videos:167 - video saved: ./storage/cache_videos/vid-94b547809e63e4a132d2935ce8bfc1c6.mp4 2024-05-23 21:25:10.112 | INFO | app.services.material:download_videos:164 - downloading video: https://videos.pexels.com/video-files/8075816/8075816-hd_1080_1920_24fps.mp4 2024-05-23 21:25:14.060 | INFO | app.services.material:download_videos:167 - video saved: ./storage/cache_videos/vid-a4655132a1e3567ac20fab1704e3d1c2.mp4 2024-05-23 21:25:14.062 | INFO | app.services.material:download_videos:164 - downloading video: https://videos.pexels.com/video-files/6775035/6775035-hd_1080_1920_30fps.mp4 2024-05-23 21:25:16.817 | INFO | app.services.material:download_videos:167 - video saved: ./storage/cache_videos/vid-c9615c166ffaba538c5dcf1146e6090c.mp4 2024-05-23 21:25:16.818 | INFO | app.services.material:download_videos:164 - downloading video: https://videos.pexels.com/video-files/7392279/7392279-hd_1080_1920_25fps.mp4 2024-05-23 21:25:19.969 | INFO | app.services.material:download_videos:167 - video saved: ./storage/cache_videos/vid-34e3fb7ef0cf5e320cf09334adb7d578.mp4 2024-05-23 21:25:19.970 | INFO | app.services.material:download_videos:172 - total duration of downloaded videos: 84.0 seconds, skip downloading more 2024-05-23 21:25:19.971 | SUCCESS | app.services.material:download_videos:176 - downloaded 28 videos 2024-05-23 21:25:19.972 | INFO | app.services.task:start:143 - ## combining video: 1 => ./storage/tasks/308f6060-2ada-47d2-942b-ffdc2c0dfdb7/combined-1.mp4 2024-05-23 21:25:20.161 | INFO | app.services.video:combine_videos:39 - max duration of audio: 80.59 seconds 2024-05-23 21:25:20.162 | INFO | app.services.video:combine_videos:43 - each clip will be maximum 3 seconds long 2024-05-23 21:25:23.007 | INFO | app.services.video:combine_videos:95 - resizing video to 1080 x 1920, clip size: 720 x 1280 2024-05-23 21:25:25.041 | INFO | app.services.video:combine_videos:95 - resizing video to 1080 x 1920, clip size: 720 x 1280 2024-05-23 21:25:26.094 | INFO | app.services.video:combine_videos:95 - resizing video to 1080 x 1920, clip size: 720 x 1280 2024-05-23 21:25:28.337 | INFO | app.services.video:combine_videos:95 - resizing video to 1080 x 1920, clip size: 720 x 1280 2024-05-23 21:25:29.489 | INFO | app.services.video:combine_videos:105 - writing 2024-05-23 21:26:33.340 | SUCCESS | app.services.video:combine_videos:115 - completed 2024-05-23 21:26:33.342 | INFO | app.services.task:start:157 - ## generating video: 1 => ./storage/tasks/308f6060-2ada-47d2-942b-ffdc2c0dfdb7/final-1.mp4 2024-05-23 21:26:33.342 | INFO | app.services.video:generate_video:186 - start, video size: 1080 x 1920 2024-05-23 21:26:33.343 | INFO | app.services.video:generate_video:187 - ① video: ./storage/tasks/308f6060-2ada-47d2-942b-ffdc2c0dfdb7/combined-1.mp4 2024-05-23 21:26:33.343 | INFO | app.services.video:generate_video:188 - ② audio: ./storage/tasks/308f6060-2ada-47d2-942b-ffdc2c0dfdb7/audio.mp3 2024-05-23 21:26:33.344 | INFO | app.services.video:generate_video:189 - ③ subtitle: ./storage/tasks/308f6060-2ada-47d2-942b-ffdc2c0dfdb7/subtitle.srt 2024-05-23 21:26:33.344 | INFO | app.services.video:generate_video:190 - ④ output: ./storage/tasks/308f6060-2ada-47d2-942b-ffdc2c0dfdb7/final-1.mp4 2024-05-23 21:26:33.345 | INFO | app.services.video:generate_video:205 - using font: ./resource/fonts/MicrosoftYaHeiBold.ttc 2024-05-23 21:27:41.380 | SUCCESS | app.services.video:generate_video:268 - completed 2024-05-23 21:27:41.381 | SUCCESS | app.services.task:start:172 - task 308f6060-2ada-47d2-942b-ffdc2c0dfdb7 finished, generated 1 videos. 2024-05-23 21:27:41.467 | INFO | __main__:<module>:547 - 视频生成完成