#2088 TaskCfg(cache_folder='E:/vtrans/tmp/14356/speech2text', target_dir='E:/vtrans/output/recogn', remove_noise=False, is_sep

202.150* Posted at: 13 hours ago 👁17

ASR Error:[faster-whisper (Local)] Runtime error: Traceback (most recent call last):
File "videotrans\process\_overall.py", line 128, in run
File "faster_whisper\transcribe.py", line 876, in transcribe
File "faster_whisper\audio.py", line 46, in decode_audio
File "av/container/core.pyx", line 482, in av.container.core.open
File "av/container/core.pyx", line 298, in av.container.core.Container.__cinit__
File "av/container/core.pyx", line 318, in av.container.core.Container.err_check
File "av/error.pyx", line 424, in av.error.err_check
av.error.FileNotFoundError: [Errno 2] No such file or directory: 'E:/vtrans/tmp/14356/speech2text/002-1765953255.9550326.wav'
:
Traceback (most recent call last):
File "videotrans\task\job.py", line 113, in run
File "videotrans\task\_speech2text.py", line 146, in recogn
File "videotrans\recognition\__init__.py", line 239, in run
File "videotrans\recognition\_base.py", line 80, in run
File "videotrans\recognition\_overall.py", line 182, in _exec
RuntimeError: Traceback (most recent call last):
File "videotrans\process\_overall.py", line 128, in run
File "faster_whisper\transcribe.py", line 876, in transcribe
File "faster_whisper\audio.py", line 46, in decode_audio
File "av/container/core.pyx", line 482, in av.container.core.open
File "av/container/core.pyx", line 298, in av.container.core.Container.__cinit__
File "av/container/core.pyx", line 318, in av.container.core.Container.err_check
File "av/error.pyx", line 424, in av.error.err_check
av.error.FileNotFoundError: [Errno 2] No such file or directory: 'E:/vtrans/tmp/14356/speech2text/002-1765953255.9550326.wav'

TaskCfg(cache_folder='E:/vtrans/tmp/14356/speech2text', target_dir='E:/vtrans/output/recogn', remove_noise=False, is_separate=False, detect_language='ko', subtitle_language=None, source_language=None, target_language=None, source_language_code=None, target_language_code=None, source_sub=None, target_sub='E:/vtrans/output/recogn/002.srt', source_wav=None, source_wav_output=None, target_wav=None, target_wav_output=None, subtitles=None, novoice_mp4=None, noextname='002', shibie_audio='E:/vtrans/tmp/14356/speech2text/002-1765953255.9550326.wav', targetdir_mp4=None, instrument=None, vocal=None, back_audio=None, background_music=None, app_mode='biaozhun', subtitle_type=0, volume='+0%', pitch='+0Hz', voice_rate='+0%', voice_role=None, copysrt_rawvideo=False, clear_cache=False, translate_type=None, tts_type=None, recogn_type=0, model_name='large-v3-turbo', split_type=0, voice_autorate=False, video_autorate=False, cuda=True, name='E:/PH/002.m4a', basename='002.m4a', ext='m4a', dirname='E:/PH', shound_del_name=None, uuid='98c7c73afb', remove_silent_mid=False, align_sub_audio=True, enable_diariz=False, nums_diariz=0, rephrase=2, only_out_mp4=False)


=
system:Windows-10-10.0.26100-SP0
version:v3.90
frozen:True
language:en
root_dir:E:/vtrans

1 Replies

The error indicates that the ASR process cannot find the temporary audio file E:/vtrans/tmp/14356/speech2text/002-1765953255.9550326.wav. This is a common issue related to file paths, permissions, or antivirus software interference.

Please follow these steps to resolve it:

  1. Check the Source File Path:

    • Ensure the source file E:/PH/002.m4a exists and is not corrupted.
    • Crucially, rename the source file and its parent folder to use only English letters and numbers, with no spaces or special characters. For example, move it to D:/temp/002.m4a.
    • Avoid using overly long or deeply nested paths. A simple path like D:/video/002.m4a is best.
  2. Check Antivirus Software:

    • The antivirus or Windows Defender might be blocking the creation or access of temporary files. Add the entire E:/vtrans folder (or your new working directory) to the antivirus exclusion/whitelist.
  3. Run with Administrator Privileges:

    • Right-click on sp.exe and select "Run as administrator". This can resolve permission issues when writing to certain directories.
  4. Use the "Clean Generated" Option:

    • In the main interface, before processing the file again, make sure the "Clean Generated" checkbox is checked. This forces the software to regenerate all temporary files from scratch.

If the problem persists after trying the above steps, please provide the complete log file from the videotrans/logs/ directory for further analysis.

Post Your Reply
Open source and free maintenance is not easy. If this project is helpful to you, please consider making a small donation to help the project continue to maintain and update.

Donate: https://ko-fi.com/jianchang512

Trending Questions