#5218 TaskCfgVTT(uuid='df6982d862', name='C:/Users/Public/video.mp4', dirname='C:/Users/Public', noextname='video', basename='

115.75* Posted at: 1 hour ago

Unknown error (empty stderr)[openai-whisper(LocalBuilt-in), Google (Free), Edge-TTS(Free)]
Traceback (most recent call last):
File "videotrans\util\help_ffmpeg.py", line 266, in _run_ffprobe_internal
File "subprocess.py", line 526, in run
subprocess.CalledProcessError: Command '['ffprobe', '-v', 'quiet', '-print_format', 'json', '-show_format', '-show_streams', 'C:/Users/Public/video.mp4']' returned non-zero exit status 1.

The above exception was the direct cause of the following exception:

Traceback (most recent call last):
File "videotrans\task\only_one.py", line 45, in run
File "videotrans\task\trans_create.py", line 182, in prepare
File "videotrans\util\help_ffmpeg.py", line 300, in get_video_info
File "videotrans\util\help_ffmpeg.py", line 288, in runffprobe
File "videotrans\util\help_ffmpeg.py", line 281, in _run_ffprobe_internal
videotrans.configure.excepts.FFmpegError: Unknown error (empty stderr)
TaskCfgVTT(uuid='df6982d862', name='C:/Users/Public/video.mp4', dirname='C:/Users/Public', noextname='video', basename='video.mp4', ext='mp4', target_dir='C:/Users/Public/OUTPUT/video-mp4', cache_folder='C:/Users/Public/INPUT/win-pyvideotrans-v4.02-0615/tmp/13748/df6982d862', is_cuda=False, source_language='Simplified Chinese', source_language_code='zh-cn', source_sub='C:/Users/Public/OUTPUT/video-mp4/zh-cn.srt', source_wav='C:/Users/Public/INPUT/win-pyvideotrans-v4.02-0615/tmp/13748/df6982d862/zh-cn.wav', source_wav_output='C:/Users/Public/OUTPUT/video-mp4/zh-cn.m4a', target_language='Vietnamese', target_language_code='vi', target_sub='C:/Users/Public/OUTPUT/video-mp4/vi.srt', target_wav='C:/Users/Public/INPUT/win-pyvideotrans-v4.02-0615/tmp/13748/df6982d862/target.wav', target_wav_output='C:/Users/Public/OUTPUT/video-mp4/vi.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='zh-cn', recogn_type=1, model_name='tiny', shibie_audio=None, remove_noise=False, enable_diariz=False, nums_diariz=0, rephrase=0, fix_punc=0, subtitle_language=None, app_mode='biaozhun', subtitles='', targetdir_mp4='C:/Users/Public/OUTPUT/video-mp4/video.mp4', novoice_mp4='C:/Users/Public/INPUT/win-pyvideotrans-v4.02-0615/tmp/13748/df6982d862/novoice.mp4', is_separate=False, embed_bgm=True, instrument='C:/Users/Public/INPUT/win-pyvideotrans-v4.02-0615/tmp/13748/df6982d862/instrument.wav', vocal='C:/Users/Public/INPUT/win-pyvideotrans-v4.02-0615/tmp/13748/df6982d862/vocal.wav', clear_cache=True, background_music='', subtitle_type=1, only_out_mp4=True, recogn2pass=False, output_srt=0, copysrt_rawvideo=False, loop_backaudio=1, backaudio_volume=0.8)


=
system:Windows-10-10.0.26200-SP0
version:v4.02
frozen:True
language:en
root_dir:C:/Users/Public/INPUT/win-pyvideotrans-v4.02-0615

1 Replies

This error indicates that ffprobe (part of FFmpeg) failed to read your video file C:/Users/Public/video.mp4 with an "empty stderr" exit code 1. The most common causes are:

  1. The video file is corrupted or unreadable – try opening it with a media player like VLC to confirm it plays normally.
  2. FFmpeg/ffprobe executables are missing or broken – in the Windows packed version, they should be located at C:/Users/Public/INPUT/win-pyvideotrans-v4.02-0615/ffmpeg/. Check if ffprobe.exe exists there.
  3. File path or permissions issue – the video may be locked by another process or located on a network drive with restricted access.

Quick diagnosis steps:

  1. Open a command prompt (cmd) and run:
    "C:/Users/Public/INPUT/win-pyvideotrans-v4.02-0615/ffmpeg/ffprobe.exe" -v quiet -print_format json -show_format "C:/Users/Public/video.mp4"
    If this returns an error, the FFmpeg installation is broken. If it returns JSON, the issue is with how pyVideoTrans calls it.
  2. Move the video to a short path like D:\test.mp4 and try again.
  3. If the above fails, download the latest full packed version from the official site and replace the ffmpeg folder.

Please provide the following for deeper analysis:

  • The latest log file from C:/Users/Public/INPUT/win-pyvideotrans-v4.02-0615/logs/ (copy the last 30 lines).
  • The output of the manual ffprobe command above.

Reference documentation:

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. Dondate: ko-fi.com/jianchang512

Related resource