Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

用千问时发生错误 #490

Open
Jiang8002000 opened this issue Sep 3, 2024 · 1 comment
Open

用千问时发生错误 #490

Jiang8002000 opened this issue Sep 3, 2024 · 1 comment

Comments

@Jiang8002000
Copy link

2024-09-03 19:10:40.040 | INFO | main::783 - 开始生成视频

2024-09-03 19:10:40.042 | INFO | main::784 - {
"video_subject": "父母如何教导孩子学会拒绝",
"video_script": "在这个快节奏且充满诱惑的世界里,父母扮演着至关重要的角色,教会孩子学会拒绝显得尤为重要。首先,父母应以身作则,展示如何在适当的时候说“不”,让孩子理解拒绝不代表不友善,而是自我保护和尊重自己界限的一种方式。其次,与孩子进行开放沟通,讨论何时何地应该拒绝,比如面对不良诱惑或超出自己能力范围的请求时。还要教会孩子表达拒绝时的礼貌用语,让他们学会既坚定又尊重他人。最后,鼓励孩子在实践中体会拒绝的力量,从每一次小胜利中积累自信,逐渐成长为能够独立作出明智选择的人。",
"video_terms": "parents teaching kids to say no, role modeling boundaries for children, open communication on refusal, polite ways to decline, practicing assertiveness",
"video_aspect": "16:9",
"video_concat_mode": "random",
"video_clip_duration": 3,
"video_count": 1,
"video_source": "pexels",
"video_materials": null,
"video_language": "zh-CN",
"voice_name": "zh-CN-XiaoyiNeural-Female",
"voice_volume": 1.0,
"voice_rate": 1.0,
"bgm_type": "random",
"bgm_file": "",
"bgm_volume": 0.2,
"subtitle_enabled": true,
"subtitle_position": "bottom",
"custom_position": 70.0,
"font_name": "MicrosoftYaHeiNormal.ttc",
"text_fore_color": "#e4128f",
"text_background_color": "transparent",
"font_size": 60,
"stroke_color": "#000000",
"stroke_width": 1.5,
"n_threads": 2,
"paragraph_number": 1
}

2024-09-03 19:10:40.050 | INFO | app.services.task:start:210 - start task: 1c41e0d1-d740-46f5-b33e-26c644d30fbc, stop_at: video

2024-09-03 19:10:40.053 | INFO | app.services.task:generate_script:18 -

generating video script

2024-09-03 19:10:40.059 | DEBUG | app.services.task:generate_script:27 - video script:
在这个快节奏且充满诱惑的世界里,父母扮演着至关重要的角色,教会孩子学会拒绝显得尤为重要。首先,父母应以身作则,展示如何在适当的时候说“不”,让孩子理解拒绝不代表不友善,而是自我保护和尊重自己界限的一种方式。其次,与孩子进行开放沟通,讨论何时何地应该拒绝,比如面对不良诱惑或超出自己能力范围的请求时。还要教会孩子表达拒绝时的礼貌用语,让他们学会既坚定又尊重他人。最后,鼓励孩子在实践中体会拒绝的力量,从每一次小胜利中积累自信,逐渐成长为能够独立作出明智选择的人。

2024-09-03 19:10:40.066 | INFO | app.services.task:generate_terms:38 -

generating video terms

2024-09-03 19:10:40.069 | DEBUG | app.services.task:generate_terms:52 - video terms: [
"parents teaching kids to say no",
"role modeling boundaries for children",
"open communication on refusal",
"polite ways to decline",
"practicing assertiveness"
]

2024-09-03 19:10:40.076 | INFO | app.services.task:generate_audio:75 -

generating audio

2024-09-03 19:10:40.080 | INFO | app.services.voice:azure_tts_v1:1057 - start, voice name: zh-CN-XiaoyiNeural, try: 1

2024-09-03 19:10:44.364 | INFO | app.services.voice:azure_tts_v1:1077 - completed, output file: .\storage\tasks\1c41e0d1-d740-46f5-b33e-26c644d30fbc\audio.mp3

2024-09-03 19:10:44.367 | INFO | app.services.task:generate_subtitle:103 -

generating subtitle, provider: edge

2024-09-03 19:10:44.372 | INFO | app.services.voice:create_subtitle:1262 - completed, subtitle file created: .\storage\tasks\1c41e0d1-d740-46f5-b33e-26c644d30fbc\subtitle.srt, duration: 46.225

2024-09-03 19:10:44.374 | INFO | app.services.task:get_video_materials:141 -

downloading videos from pexels

2024-09-03 19:10:44.374 | INFO | app.services.material:search_videos_pexels:47 - searching videos: https://api.pexels.com/videos/search?query=parents+teaching+kids+to+say+no&per_page=20&orientation=landscape, with proxies: {}

2024-09-03 19:10:46.611 | ERROR | app.services.material:search_videos_pexels:83 - search videos failed: Expecting value: line 1 column 1 (char 0)

2024-09-03 19:10:46.612 | INFO | app.services.material:download_videos:208 - found 0 videos for 'parents teaching kids to say no'

2024-09-03 19:10:46.613 | INFO | app.services.material:search_videos_pexels:47 - searching videos: https://api.pexels.com/videos/search?query=role+modeling+boundaries+for+children&per_page=20&orientation=landscape, with proxies: {}

2024-09-03 19:10:48.744 | ERROR | app.services.material:search_videos_pexels:83 - search videos failed: Expecting value: line 1 column 1 (char 0)

2024-09-03 19:10:48.745 | INFO | app.services.material:download_videos:208 - found 0 videos for 'role modeling boundaries for children'

2024-09-03 19:10:48.748 | INFO | app.services.material:search_videos_pexels:47 - searching videos: https://api.pexels.com/videos/search?query=open+communication+on+refusal&per_page=20&orientation=landscape, with proxies: {}

2024-09-03 19:10:50.911 | ERROR | app.services.material:search_videos_pexels:83 - search videos failed: Expecting value: line 1 column 1 (char 0)

2024-09-03 19:10:50.912 | INFO | app.services.material:download_videos:208 - found 0 videos for 'open communication on refusal'

2024-09-03 19:10:50.914 | INFO | app.services.material:search_videos_pexels:47 - searching videos: https://api.pexels.com/videos/search?query=polite+ways+to+decline&per_page=20&orientation=landscape, with proxies: {}

2024-09-03 19:10:53.087 | ERROR | app.services.material:search_videos_pexels:83 - search videos failed: Expecting value: line 1 column 1 (char 0)

2024-09-03 19:10:53.088 | INFO | app.services.material:download_videos:208 - found 0 videos for 'polite ways to decline'

2024-09-03 19:10:53.090 | INFO | app.services.material:search_videos_pexels:47 - searching videos: https://api.pexels.com/videos/search?query=practicing+assertiveness&per_page=20&orientation=landscape, with proxies: {}

2024-09-03 19:10:55.300 | ERROR | app.services.material:search_videos_pexels:83 - search videos failed: Expecting value: line 1 column 1 (char 0)

2024-09-03 19:10:55.302 | INFO | app.services.material:download_videos:208 - found 0 videos for 'practicing assertiveness'

2024-09-03 19:10:55.303 | INFO | app.services.material:download_videos:216 - found total videos: 0, required duration: 47 seconds, found duration: 0.0 seconds

2024-09-03 19:10:55.305 | SUCCESS | app.services.material:download_videos:249 - downloaded 0 videos

2024-09-03 19:10:55.306 | ERROR | app.services.task:get_video_materials:153 - failed to download videos, maybe the network is not available. if you are in China, please use a VPN.

2024-09-03 19:10:55.309 | ERROR | main::790 - 视频生成失败

@paopaojun
Copy link

一毛一样的问题

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants