#5599 Pre-process Error Unknown error (empty stderr)Traceback (most recent call last):File "videotrans\util\help_ffmpeg.py", l

123.24* Posted at: 2 hours ago

Pre-process Error Unknown error (empty stderr)
Traceback (most recent call last):

File "videotrans\util\help_ffmpeg.py", line 267, 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/Admin/Downloads/Upload_Tuan_2k5/ae11b442-0850-4914-a0c9-0310bf13725d.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\job.py", line 35, in run

File "videotrans\task\job.py", line 77, in process_task

File "videotrans\task\trans_create.py", line 184, in prepare

File "videotrans\util\help_ffmpeg.py", line 303, in get_video_info

File "videotrans\util\help_ffmpeg.py", line 289, in runffprobe

File "videotrans\util\help_ffmpeg.py", line 282, in _run_ffprobe_internal

videotrans.configure.excepts.FFmpegError: Unknown error (empty stderr)
cfg=[TaskCfgVTT]当前工作模式: 翻译视频或音频 批量翻译模式
原始输入文件名: C:/Users/Admin/Downloads/Upload_Tuan_2k5/ae11b442-0850-4914-a0c9-0310bf13725d.mp4,
输出结果保存到文件夹: C:/Users/Admin/Downloads/_video_out/Upload_Tuan_2k5/ae11b442-0850-4914-a0c9-0310bf13725d-mp4,
临时文件夹: C:/Users/Admin/Downloads/win-pyvideotrans-v4.03-0626/tmp/2384/d55e6886c3
已选 清理已存在
未选 启用CUDA加速
未选 降噪
ASR Channel:faster-whisper(LocalBuilt-in), model_name: large-v3-turbo, 发音语言: English, 断句方式:默认断句
Trans Channel:Microsoft (Free),原始语言:English,目标语言:Vietnamese, 已选 Send SRT
未选 配音角色,不进行配音
字幕: Embed Hard Subs
代理地址:


=
system:Windows-10-10.0.26200-SP0
version:v4.03
frozen:True
language:en
root_dir:C:/Users/Admin/Downloads/win-pyvideotrans-v4.03-0626

1 Replies

The error Unknown error (empty stderr) from ffprobe indicates that FFmpeg could not parse the video file, but did not output any error details. This typically occurs due to one of the following reasons:

  1. Corrupted or unsupported video file – The file may be damaged, incomplete, or in a format FFmpeg cannot read (e.g., AV1, raw stream, or proprietary codec).
  2. File path or name issues – Although the path appears to be without Chinese characters or spaces, long paths (especially with Unicode characters or unusual symbols) can still cause ffprobe to fail silently.
  3. Antivirus or permission restrictions – Some security software blocks FFprobe from accessing files in certain directories (e.g., Downloads folder).
  4. Missing required FFmpeg codecs – The bundled ffmpeg in your Windows package may lack the required decoder for this specific video.

Solution Steps

1. Test the file manually
Open a Command Prompt in the software's root directory and run:

ffprobe -v debug -show_format "C:\Users\Admin\Downloads\Upload_Tuan_2k5\ae11b442-0850-4914-a0c9-0310bf13725d.mp4"
  • If you see a real error message (e.g., "Invalid data found when processing input"), the file is corrupted or unsupported.
  • If the command runs successfully, the issue is likely environmental (antivirus or path length).

2. Use a simple test file
Copy the video to a short, non-system path like D:\test.mp4 (ensure no spaces or special characters) and try again.

3. Disable antivirus temporarily
Add the entire pyVideoTrans folder to your antivirus exclusion list, or temporarily disable real-time protection.

4. Re-encode the video
If the video uses an uncommon codec (e.g., AV1, VP9), re-encode it to standard H.264 using any free tool (e.g., HandBrake) and try again.

  • Supported formats: mp4/mkv/avi/mov/webm/mpeg/ogg/mts/ts/wmv/flv with common audio/video codecs.

5. Update or re-download the full package
If you downloaded only the patch (260 MB), download the complete 2.7 GB package from pyvideotrans.com/downpackage – the patch does not include all dependencies.

If none of the above resolves the issue, please provide:

  • The exact FFprobe output from step 1.
  • Whether the video plays correctly in VLC or Windows Media Player.
  • Software version (visible on the top-left corner of the main window).
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