视频大概150分钟,目前处理了7个小时还是卡在进度10%以内,有3个和此视频同规格,时长基本一致的都可以正常处理
Application started at 2026-06-11 08:11:51
[DEBUG] 上次缓存的角色:No,字幕嵌入类型:1,发音语言:日语,目标语言:简体中文,目标语言代码:zh-cn,模型:large-v3-turbo,TTS渠道[0]
[INFO] 可以使用 huggingface.co
[DEBUG] NVIDIA_GPU_NUMS=1
[DEBUG] Found 1 GPUs, cost=1s
[DEBUG] process_max_gpu=1,is_multi_gpus=False
[DEBUG] Concurrent task_nums=1, process_max_cpu=0
[DEBUG] start 9 jobs
[DEBUG] 返回缓存的编解码器 Windows-264: h264_nvenc
[DEBUG] 返回缓存的编解码器 Windows-265: hevc_nvenc
[DEBUG] [TransCreate]最终配置信息:self=TransCreate(uuid='63ab2ed6d4', 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=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=1781136725.6663206, should_recogn2=False)
self.cfg=TaskCfgVTT(uuid='63ab2ed6d4', name='F:/Raw video/我的视频.mp4', dirname='F:/Raw video', noextname='我的视频', basename='我的视频.mp4', ext='mp4', target_dir='F:/Raw video/我的视频-mp4', cache_folder='D:/tools/Video Translate/tmp/15892/63ab2ed6d4', is_cuda=True, source_language='日语', source_language_code='ja', source_sub='F:/Raw video/我的视频-mp4/ja.srt', source_wav='D:/tools/Video Translate/tmp/15892/63ab2ed6d4/ja.wav', source_wav_output='F:/Raw video/我的视频-mp4/ja.m4a', target_language='简体中文', target_language_code='zh-cn', target_sub='F:/Raw video/我的视频-mp4/zh-cn.srt', target_wav='D:/tools/Video Translate/tmp/15892/63ab2ed6d4/target.wav', target_wav_output='F:/Raw video/我的视频-mp4/zh-cn.m4a', translate_type=0, tts_type=0, volume='+0%', pitch='+0Hz', voice_rate='+0%', voice_role='No', voice_autorate=True, video_autorate=False, remove_silent_mid=False, align_sub_audio=True, detect_language='ja', recogn_type=0, model_name='large-v3-turbo', shibie_audio=None, remove_noise=False, enable_diariz=False, nums_diariz=0, rephrase=0, fix_punc=False, subtitle_language=None, app_mode='biaozhun', subtitles='', targetdir_mp4='F:/Raw video/我的视频-mp4/我的视频.mp4', novoice_mp4='D:/tools/Video Translate/tmp/15892/63ab2ed6d4/novoice.mp4', is_separate=False, embed_bgm=True, instrument=None, vocal=None, clear_cache=False, background_music='', subtitle_type=1, only_out_mp4=False, recogn2pass=False, output_srt=0, copysrt_rawvideo=False, loop_backaudio=1, backaudio_volume=0.8)
[DEBUG] The file info after process:result={'video_fps': 30.0, 'r_frame_rate': '30/1', 'video_codec_name': 'h264', 'audio_codec_name': 'aac', 'width': 640, 'height': 360, 'time': 9993000, 'streams_len': 2, 'streams_audio': 1, 'video_streams': 1, 'color': 'yuv420p'}
[DEBUG] [FFMPEG-CMD]:
ffmpeg -hide_banner -nostdin -ignore_unknown -threads 0 -y -fflags +genpts -i F:/Raw video/我的视频.mp4 -an -c:v copy novoice.mp4
[DEBUG] 开始语音识别:渠道0
[DEBUG] [新进程任务 开始:STT use large-v3-turbo]
[DEBUG] 任务参数:kwargs={'detect_language': 'ja', 'model_name': 'large-v3-turbo', 'logs_file': 'D:/tools/Video Translate/tmp/15892/63ab2ed6d4/faster-ja-1781136730.312851.log', 'is_cuda': True, 'no_speech_threshold': 0.6, 'condition_on_previous_text': False, 'speech_timestamps': None, 'audio_file': 'D:/tools/Video Translate/tmp/15892/63ab2ed6d4/ja.wav', 'local_dir': 'D:/tools/Video Translate/models/models--mobiuslabsgmbh--faster-whisper-large-v3-turbo', 'compute_type': 'default', 'jianfan': False, 'audio_duration': 9993056, 'hotwords': None, 'prompt': '', 'beam_size': 5, 'best_of': 5, 'temperature': '', 'repetition_penalty': 1.0, 'compression_ratio_threshold': 2.4, 'max_speech_ms': 5000, 'device_index': 0}
[DEBUG] GPU进程池:max_workers=1
[DEBUG] [faster_whisper]加载模型:当前 is_cuda=True,_compute_type='default'
[DEBUG] faster-whisper模式下,对large-v3-turbo模型返回的断句结果重新修正
[DEBUG] 断句结果重新修正完毕
[DEBUG] 返回识别结果
[WARNING] _signal_of_process timed out after 1 hours: D:/tools/Video Translate/tmp/15892/63ab2ed6d4/faster-ja-1781136730.312851.log
Logging error
Traceback (most recent call last):
File "logging\__init__.py", line 1103, in emit
AttributeError: 'NoneType' object has no attribute 'write'
Call stack:
File "threading.py", line 973, in _bootstrap
File "threading.py", line 1016, in _bootstrap_inner
File "threading.py", line 953, in run
File "videotrans\configure\base.py", line 180, in _signal_of_process
File "logging\__init__.py", line 1489, in warning
File "logging\__init__.py", line 1624, in _log
File "logging\__init__.py", line 1634, in handle
File "logging\__init__.py", line 1696, in callHandlers
File "logging\__init__.py", line 968, in handle
File "logging\__init__.py", line 1108, in emit
Message: '_signal_of_process timed out after 1 hours: D:/tools/Video Translate/tmp/15892/63ab2ed6d4/faster-ja-1781136730.312851.log'
Arguments: ()