name 'runffmpeg' is not defined
=
system:Windows-10-10.0.22621-SP0
version:v3.85
frozen:True
language:zh
root_dir:D:/AI_model/win-pyvideotrans-v3.85
以下是日志文件
Application started at 2025-11-23 11:01:45
2025-11-23 11:01:45,542 - INFO - 返回缓存的编解码器 Windows-264: h264_nvenc
self.proxy_str='http://127.0.0.1:7890',self.uuid=None
2025-11-23 11:02:12,090 - INFO - 最终配置信息:self.cfg=TaskCfg(cache_folder='D:/AI_model/win-pyvideotrans-v3.85/tmp48772/60b9a303ec', target_dir='C:/Users/tadylon/xwechat_files/wxid_vn1tl9sbp5cz22_f7fc/msg/video/2025-11/_video_out/45c24bd2a6624f599ad0e974a600a41e', remove_noise=False, is_separate=False, detect_language='zh-cn', subtitle_language=None, source_language='简体中文', target_language='简体中文', source_language_code='zh-cn', target_language_code='zh-cn', source_sub='C:/Users/tadylon/xwechat_files/wxid_vn1tl9sbp5cz22_f7fc/msg/video/2025-11/_video_out/45c24bd2a6624f599ad0e974a600a41e/zh-cn.srt', target_sub='C:/Users/tadylon/xwechat_files/wxid_vn1tl9sbp5cz22_f7fc/msg/video/2025-11/_video_out/45c24bd2a6624f599ad0e974a600a41e/zh-cn.srt', source_wav='D:/AI_model/win-pyvideotrans-v3.85/tmp48772/60b9a303ec/zh-cn.wav', source_wav_output='C:/Users/tadylon/xwechat_files/wxid_vn1tl9sbp5cz22_f7fc/msg/video/2025-11/_video_out/45c24bd2a6624f599ad0e974a600a41e/zh-cn.m4a', target_wav='D:/AI_model/win-pyvideotrans-v3.85/tmp48772/60b9a303ec/target.wav', target_wav_output='C:/Users/tadylon/xwechat_files/wxid_vn1tl9sbp5cz22_f7fc/msg/video/2025-11/_video_out/45c24bd2a6624f599ad0e974a600a41e/zh-cn.m4a', subtitles='', novoice_mp4='D:/AI_model/win-pyvideotrans-v3.85/tmp48772/60b9a303ec/novoice.mp4', noextname='45c24bd2a6624f599ad0e974a600a41e', shibie_audio=None, targetdir_mp4='C:/Users/tadylon/xwechat_files/wxid_vn1tl9sbp5cz22_f7fc/msg/video/2025-11/_video_out/45c24bd2a6624f599ad0e974a600a41e/45c24bd2a6624f599ad0e974a600a41e.mp4', instrument=None, vocal=None, back_audio='', background_music=None, app_mode='biaozhun', subtitle_type=2, volume='+0%', pitch='+0Hz', voice_rate='+0%', voice_role='No', copysrt_rawvideo=False, clear_cache=True, translate_type=0, tts_type=0, recogn_type=0, model_name='large-v3-turbo', split_type=0, voice_autorate=False, video_autorate=True, cuda=True, name='C:/Users/tadylon/xwechat_files/wxid_vn1tl9sbp5cz22_f7fc/msg/video/2025-11/45c24bd2a6624f599ad0e974a600a41e.mp4', basename='45c24bd2a6624f599ad0e974a600a41e.mp4', ext='mp4', dirname='C:/Users/tadylon/xwechat_files/wxid_vn1tl9sbp5cz22_f7fc/msg/video/2025-11', shound_del_name=None, uuid='60b9a303ec', remove_silent_mid=False, align_sub_audio=True, enable_diariz=False, nums_diariz=0)
2025-11-23 11:02:12,147 - INFO - 返回缓存的编解码器 Windows-264: h264_nvenc
2025-11-23 11:02:12,148 - INFO - 返回缓存的编解码器 Windows-264: h264_nvenc
self.proxy_str='http://127.0.0.1:7890',self.uuid='60b9a303ec'
2025-11-23 11:02:14,894 - INFO - 开始创建 pid:self.pidfile='D:/AI_model/win-pyvideotrans-v3.85/tmp48772/29612.lock'
2025-11-23 11:02:21,791 - INFO - Processing audio with duration 00:36.523
2025-11-23 11:02:21,998 - INFO - VAD filter removed 00:13.771 of audio
2025-11-23 11:02:21,998 - DEBUG - VAD filter kept the following audio segments: [00:01.664 -> 00:02.400], [00:05.280 -> 00:06.304], [00:07.136 -> 00:08.000], [00:08.448 -> 00:09.088], [00:10.592 -> 00:11.840], [00:12.544 -> 00:13.760], [00:14.048 -> 00:15.776], [00:16.064 -> 00:17.024], [00:17.408 -> 00:17.952], [00:18.752 -> 00:20.704], [00:21.280 -> 00:23.552], [00:24.096 -> 00:24.704], [00:24.896 -> 00:26.912], [00:27.808 -> 00:32.800], [00:32.832 -> 00:34.112], [00:34.656 -> 00:35.328]
2025-11-23 11:02:22,028 - DEBUG - Processing segment at 00:00.000
2025-11-23 11:02:28,634 - INFO -
==准备要嵌入的字幕:self.cfg.subtitle_type=2
=
2025-11-23 11:02:28,734 - INFO - 最终确定字幕嵌入类型:2 ,目标字幕语言:chi, 字幕文件:D:/AI_model/win-pyvideotrans-v3.85/tmp48772/60b9a303ec/zh-cn.srt
Traceback (most recent call last):
File "videotrans\task\_only_one.py", line 87, in run
File "videotrans\task\trans_create.py", line 539, in assembling
File "videotrans\task\trans_create.py", line 1004, in _join_video_audio_srt
File "videotrans\task\trans_create.py", line 1256, in _get_origin_audio
NameError: name 'runffmpeg' is not defined