声画变速对齐阶段 出错了 System Error (None): None
Traceback (most recent call last):
File "/Users/xiaohuo/pyvideotrans-latest/.venv/lib/python3.10/site-packages/soundfile.py", line 267, in
_snd = _ffi.dlopen('sndfile')File "/Users/xiaohuo/pyvideotrans-latest/.venv/lib/python3.10/site-packages/cffi/api.py", line 150, in dlopen
lib, function_cache = _make_ffi_library(self, name, flags)File "/Users/xiaohuo/pyvideotrans-latest/.venv/lib/python3.10/site-packages/cffi/api.py", line 834, in _make_ffi_library
backendlib = _load_backend_lib(backend, libname, flags)File "/Users/xiaohuo/pyvideotrans-latest/.venv/lib/python3.10/site-packages/cffi/api.py", line 829, in _load_backend_lib
raise OSError(msg)OSError: ctypes.util.find_library() did not manage to locate a library called 'sndfile'
During handling of the above exception, another exception occurred:
Traceback (most recent call last):
File "/Users/xiaohuo/pyvideotrans-latest/videotrans/task/only_one.py", line 175, in run
trk.align()File "/Users/xiaohuo/pyvideotrans-latest/videotrans/task/_stage_align.py", line 29, in align
from videotrans.task._rate import SpeedRateFile "/Users/xiaohuo/pyvideotrans-latest/videotrans/task/_rate.py", line 28, in
import soundfile as sfFile "/Users/xiaohuo/pyvideotrans-latest/.venv/lib/python3.10/site-packages/soundfile.py", line 276, in
_snd = _ffi.dlopen(_os.path.join(File "/Users/xiaohuo/pyvideotrans-latest/.venv/lib/python3.10/site-packages/cffi/api.py", line 150, in dlopen
lib, function_cache = _make_ffi_library(self, name, flags)File "/Users/xiaohuo/pyvideotrans-latest/.venv/lib/python3.10/site-packages/cffi/api.py", line 834, in _make_ffi_library
backendlib = _load_backend_lib(backend, libname, flags)File "/Users/xiaohuo/pyvideotrans-latest/.venv/lib/python3.10/site-packages/cffi/api.py", line 829, in _load_backend_lib
raise OSError(msg)OSError: cannot load library '/Users/xiaohuo/pyvideotrans-latest/.venv/lib/python3.10/site-packages/_soundfile_data/libsndfile.dylib': dlopen(/Users/xiaohuo/pyvideotrans-latest/.venv/lib/python3.10/site-packages/_soundfile_data/libsndfile.dylib, 0x0002): tried: '/Users/xiaohuo/pyvideotrans-latest/.venv/lib/python3.10/site-packages/_soundfile_data/libsndfile.dylib' (no such file), '/System/Volumes/Preboot/Cryptexes/OS/Users/xiaohuo/pyvideotrans-latest/.venv/lib/python3.10/site-packages/_soundfile_data/libsndfile.dylib' (no such file), '/Users/xiaohuo/pyvideotrans-latest/.venv/lib/python3.10/site-packages/_soundfile_data/libsndfile.dylib' (no such file). Additionally, ctypes.util.find_library() did not manage to locate a library called '/Users/xiaohuo/pyvideotrans-latest/.venv/lib/python3.10/site-packages/_soundfile_data/libsndfile.dylib'
trk=翻译视频 单视频模式
选择音视频文件: /Users/xiaohuo/Downloads/战略10-11 讲/[경영전략] 10강-2부.mp4,
输出目录: /Users/xiaohuo/Downloads/战略10-11 讲/_video_out/[경영전략] 10강-2부-mp4,
self.cfg.cache_folder='/Users/xiaohuo/pyvideotrans-latest/tmp/71990/0144795124'
已选 清理已生成, 已选 启用硬件加速
已选 LLM纠错,LLM纠错每批字幕行数:50, LLM纠错所用AI渠道: 硅基流动
语音识别:硅基流动, FunAudioLLM/SenseVoiceSmall, 发音语言: 韩语
最长语音持续(秒): 5s
最短语音持续(毫秒): 3000ms
静音分割持续毫秒: 600ms
语音阈值: 0.45
选择VAD: silero
翻译渠道:硅基流动,发音语言:韩语,目标语言:简体中文
已选 发送完整字幕, AI翻译渠道每批字幕行数:40
配音渠道:硅基流动, 配音角色:alex, 目标语言:简体中文
Volume:+0%, Speed:+0%, 已选 配音加速, 未选 视频慢速
已选 移除每条字幕配音开头结尾静音缓冲
静音移除力度: default
嵌入软字幕(双)
video duration:585033ms
video information:{'video_fps': 30.0, 'r_frame_rate': 30.0, 'video_codec_name': 'h264', 'audio_codec_name': 'aac', 'width': 1280, 'height': 720, 'time': 585033, 'streams_len': 2, 'streams_audio': 1, 'video_streams': 1, 'color': 'yuv420p'}
self.cfg=TaskCfgVTT(uuid='0144795124', name='/Users/xiaohuo/Downloads/战略10-11 讲/[경영전략] 10강-2부.mp4', dirname='/Users/xiaohuo/Downloads/战略10-11 讲', noextname='[경영전략] 10강-2부', basename='[경영전략] 10강-2부.mp4', ext='mp4', target_dir='/Users/xiaohuo/Downloads/战略10-11 讲/_video_out/[경영전략] 10강-2부-mp4', cache_folder='/Users/xiaohuo/pyvideotrans-latest/tmp/71990/0144795124', is_cuda=True, source_language='韩语', source_language_code='ko', source_sub='/Users/xiaohuo/Downloads/战略10-11 讲/_video_out/[경영전략] 10강-2부-mp4/ko.srt', source_wav='/Users/xiaohuo/pyvideotrans-latest/tmp/71990/0144795124/ko.wav', source_wav_output='/Users/xiaohuo/Downloads/战略10-11 讲/_video_out/[경영전략] 10강-2부-mp4/ko.m4a', target_language='简体中文', target_language_code='zh-cn', target_sub='/Users/xiaohuo/Downloads/战略10-11 讲/_video_out/[경영전략] 10강-2부-mp4/zh-cn.srt', target_wav='/Users/xiaohuo/pyvideotrans-latest/tmp/71990/0144795124/target.wav', target_wav_output='/Users/xiaohuo/Downloads/战略10-11 讲/_video_out/[경영전략] 10강-2부-mp4/zh-cn.m4a', translate_type=11, tts_type=37, volume='+0%', pitch='+0Hz', voice_rate='+0%', voice_role='alex', voice_autorate=True, video_autorate=False, remove_silent_mid=False, align_sub_audio=True, tts_model_name=None, detect_language='ko', recogn_type=31, model_name='FunAudioLLM/SenseVoiceSmall', shibie_audio=None, remove_noise=False, enable_diariz=False, nums_diariz=0, rephrase=True, fix_punc=0, app_mode='biaozhun', subtitle_language=None, targetdir_mp4='/Users/xiaohuo/Downloads/战略10-11 讲/_video_out/[경영전략] 10강-2부-mp4/[경영전략] 10강-2부.mp4', novoice_mp4='/Users/xiaohuo/pyvideotrans-latest/tmp/71990/0144795124/novoice.mp4', is_separate=False, embed_bgm=True, instrument='/Users/xiaohuo/pyvideotrans-latest/tmp/71990/0144795124/instrument.wav', vocal='/Users/xiaohuo/pyvideotrans-latest/tmp/71990/0144795124/vocal.wav', clear_cache=True, background_music='', subtitle_type=4, only_out_mp4=False, recogn2pass=False, output_srt=1, copysrt_rawvideo=False, loop_backaudio=1, backaudio_volume=0.8, batch=False)
video_duration_ms=585033
=
system:macOS-27.2.1-arm64-arm-64bit
version:v4.19
frozen:False
language:zh_CN
root_dir:/Users/xiaohuo/pyvideotrans-latest
Python: 3.10.19 (main, Feb 12 2026, 00:36:33) [Clang 21.1.4 ]