上述方法均无效
版本号为v4.05
[DEBUG] 返回缓存的编解码器 Windows-264: libx264
[DEBUG] 可用 Nvidia 显卡数: 1
[DEBUG] 找到 1 个 Nvidia GPUs, 耗时: 1s
[DEBUG] 返回缓存的编解码器 Windows-265: libx265
[DEBUG] start 9 jobs
[DEBUG] app_cfg.proxy=''
[DEBUG] 可以使用 huggingface.co
[DEBUG] [TransCreate]最终配置信息:self=TransCreate(uuid='8489a3f9aa', proxy_str=None, last_down_time=0, precent=1, hasend=False, should_recogn=True, should_trans=False, should_dubbing=True, should_separate=False, should_hebing=True, source_srt_list=[], target_srt_list=[], video_time=0.0, is_copy_video=False, video_codec_num=264, ignore_align=False, is_audio_trans=False, clone_ref='', cost_duration=1784056795.6074722, should_recogn2=False)
self.cfg=[TaskCfgVTT]当前工作模式: 翻译视频或音频 单视频模式
原始输入文件名: C:/Users/xxxx/Downloads/30-Day Drawing Challenge Day 1 Practice Drawing Shapes - sk
(720p, h264).mp4,
输出结果保存到文件夹: C:/Users/xxxxx/Downloads/New folder (3)/30-Day Drawing Challenge Day 1 Practice Drawing Shapes - sk
(720p, h264)-mp4,
临时文件夹: C:/Users/xxxx/Downloads/win-pyvideotrans-v4.05-0711/tmp/25264/8489a3f9aa
已选 清理已存在
已选 启用CUDA加速
未选 降噪
语音识别:openai-whisper(本地内置), model_name: large-v3, 发音语言: 简体中文, 断句方式:默认断句
发音语言和目标语言相同,不翻译字幕
配音渠道:Edge-TTS(免费), 角色:Yunyang(Male/CN), 配音语言:简体中文, 未选 二次语音识别
音量:+0%, 语速:+0%, 已选 音频加速, 未选 视频慢速
字幕: 不嵌入字幕
代理地址:
[DEBUG] The file info after process:result={'video_fps': 30.0, 'r_frame_rate': 30.0, 'video_codec_name': 'h264', 'audio_codec_name': 'aac', 'width': 1280, 'height': 720, 'time': 138066, 'streams_len': 2, 'streams_audio': 1, 'video_streams': 1, 'color': 'yuv420p'}
[DEBUG] runffmpeg:cmd=['ffmpeg', '-hide_banner', '-nostdin', '-ignore_unknown', '-threads', '0', '-y', '-fflags', '+genpts', '-i', 'C:/Users/wangy/Downloads/30-Day Drawing Challenge Day 1 Practice Drawing Shapes - sk
(720p, h264).mp4', '-an', '-c:v', 'copy', 'novoice.mp4']
[DEBUG] [新进程任务 开始:title='STT use large-v3']
[DEBUG] 新进程任务 参数:kwargs={'prompt': '', 'detect_language': 'zh-cn', 'model_name': 'large-v3', 'logs_file': 'C:/Users/wangy/Downloads/win-pyvideotrans-v4.05-0711/tmp/25264/8489a3f9aa/openai-zh-cn-1784056795.756015.log', 'is_cuda': True, 'no_speech_threshold': 0.6, 'condition_on_previous_text': False, 'speech_timestamps': None, 'audio_file': 'C:/Users/wangy/Downloads/win-pyvideotrans-v4.05-0711/tmp/25264/8489a3f9aa/zh-cn.wav', 'jianfan': True, 'audio_duration': 138136, 'temperature': '', 'compression_ratio_threshold': 2.4, 'max_speech_ms': 5000, 'device_index': 0}
[DEBUG] GPU进程池:max_workers=1
[DEBUG] openai-whisper模式下,传递完整音频由模型large-v3 输出字级时间戳
[DEBUG] 对字级时间戳进行组合断句
[DEBUG] 断句完毕,返回结果
[DEBUG] [新进程任务 title='STT use large-v3'] 已返回
[DEBUG] [新进程任务 结束:title='STT use large-v3'],耗时44.35214138031006s
[DEBUG] 移除无效字幕行
[DEBUG] 修正重叠时间轴
[DEBUG] 开始移除每条字幕末尾标点