[DEBUG] 可用 Nvidia 显卡数: 1
[DEBUG] [TransCreate.__post_init__] font_size=0, subtitle_type=0
[DEBUG] [TransCreate]最终配置信息:self=TransCreate(uuid='0706e8c435', proxy_str='http://127.0.0.1:7897', last_down_time=0, precent=1, hasend=False, should_recogn=True, should_trans=True, should_dubbing=False, should_separate=False, should_hebing=False, 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=1783480155.4277678, should_recogn2=False)
self.cfg=[TaskCfgVTT]当前工作模式: 翻译视频或音频 单视频模式
原始输入文件名: //192.168.1.109/共享素材库/fy/0708-1/测试2.mp4,
输出结果保存到文件夹: \192.168.1.109\共享素材库\fy\0708-1\中文,
临时文件夹: C:/Users/phf/Desktop/fy/pyvideotrans-main/tmp/24456/0706e8c435
未选 清理已存在
已选 启用CUDA加速
未选 降噪
语音识别:faster-whisper(本地内置), model_name: large-v3-turbo, 发音语言: th, 断句方式:默认断句
翻译渠道:Google(免费),原始语言:None,目标语言:None, 已选 发送完整字幕
未选 配音角色,不进行配音
字幕: 不嵌入字幕
代理地址:
[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': 1080, 'height': 1620, 'time': 21900, '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', '//192.168.1.109/共享素材库/fy/0708-1/测试2.mp4', '-an', '-c:v', 'copy', 'novoice.mp4']
[DEBUG] app_cfg.proxy='http://127.0.0.1:7897'
[DEBUG] 可以使用 huggingface.co
[DEBUG] [新进程任务 开始:title='STT use large-v3-turbo']
[DEBUG] 新进程任务 参数:kwargs={'detect_language': 'th', 'model_name': 'large-v3-turbo', 'logs_file': 'C:/Users/phf/Desktop/fy/pyvideotrans-main/tmp/24456/0706e8c435/faster-th-1783480157.641788.log', 'is_cuda': True, 'no_speech_threshold': 0.6, 'condition_on_previous_text': False, 'speech_timestamps': None, 'audio_file': 'C:/Users/phf/Desktop/fy/pyvideotrans-main/tmp/24456/0706e8c435/th.wav', 'local_dir': 'C:/Users/phf/Desktop/fy/pyvideotrans-main/models/models--mobiuslabsgmbh--faster-whisper-large-v3-turbo', 'compute_type': 'default', 'jianfan': False, 'audio_duration': 22016, 'hotwords': '', 'prompt': 'สวัสดีครับ วันนี้อากาศดีมาก ขอบคุณครับ ขอแนะนำสินค้าของเรา อลูมิเนียม สแตนเลส พลาสติก คุณภาพดี ราคาถูก ใช้งานง่าย ติดตั้งสะดวก ทนทาน ไม่เป็นสนิม ไม่ลอก ไม่หลุดง่าย รับน้ำหนักได้ดี เหมาะกับการใช้งานในห้องน้ำ ห้องครัว และพื้นที่อื่นๆ ขอบคุณครับ', 'beam_size': 5, 'best_of': 5, 'temperature': '', 'repetition_penalty': 1.0, 'compression_ratio_threshold': 2.4, 'max_speech_ms': 5000, 'subtitle_srt': 'C:/Users/phf/Desktop/fy/pyvideotrans-main/tmp/faster-20260708-11_09_17.srt', 'device_index': 0}
[DEBUG] GPU进程池:max_workers=1
[DEBUG] 开始加载 faster-whisper模型large-v3-turbo,数据类型:default
[DEBUG] [faster_whisper]加载模型large-v3-turbo: is_cuda=True,_compute_type='default'
[DEBUG] 直接传递完整音频,由faster-whisper内部VAD处理,返回字级时间戳数据
[DEBUG] faster-whisper模式下,对large-v3-turbo模型返回的字级时间戳进行断句
[DEBUG] 断句完毕返回结果
[DEBUG] faster-whisper下已临时保存识别结果到 C:/Users/phf/Desktop/fy/pyvideotrans-main/tmp/faster-20260708-11_09_17.srt,防止进程崩溃后永久等待
[DEBUG] [新进程任务 title='STT use large-v3-turbo'] 已返回
[DEBUG] [新进程任务 结束:title='STT use large-v3-turbo'],耗时88.83222699165344s
[DEBUG] 移除无效字幕行
[DEBUG] 修正重叠时间轴
[DEBUG] 开始移除每条字幕末尾标点
[DEBUG] 以纯文本行形式翻译,每次翻译10行,翻译后暂停0.0s
[INFO] Starting call to 'videotrans.translator._google.Google._item_task', this is the 1st time calling it.
[DEBUG] [Google] self.target_code='zh-cn' self.source_code='th'
[DEBUG] [Google]返回code:response.status_code=200
[DEBUG] 原始行数:10,翻译后行数:10
[DEBUG] 原始语言字幕和目标语言字幕行数一致,均为 source_len=10