Huanshere / Huanshere/VideoLingo

无法启动提取音频 ,报错以下日志

Open
#370 1 comment 0 reactions 0 assignees View on GitHub

Nobody has claimed this yet.

Dominant language
Python
Stars
18.5k
Forks
2k
Avg merge
7h 41m
Merged PRs (30d)
12

Description

无法启动提取音频 ,报错以下日志

CalledProcessError: Command '['ffmpeg', '-y', '-i', "output/The Metaverse and How We'll Build It Together -- Connect 2021.f399.mp4", '-vn', '-c:a', 'libmp3lame', '-b:a', '128k', '-ar', '32000', '-ac', '1', '-metadata', 'encoding=UTF-8', 'output/audio/raw.mp3']' returned non-zero exit status 4294967274.
Traceback:
File "C:\Users\14027.conda\envs\videolingo\lib\site-packages\streamlit\runtime\scriptrunner\exec_code.py", line 88, in exec_func_with_error_handling
result = func()
File "C:\Users\14027.conda\envs\videolingo\lib\site-packages\streamlit\runtime\scriptrunner\script_runner.py", line 590, in code_to_exec
exec(code, module.dict)
File "D:\VideoLingo\st.py", line 123, in
main()
File "D:\VideoLingo\st.py", line 119, in main
text_processing_section()
File "D:\VideoLingo\st.py", line 33, in text_processing_section
process_text()
File "D:\VideoLingo\st.py", line 47, in process_text
step2_whisperX.transcribe()
File "D:\VideoLingo\core\step2_whisperX.py", line 168, in transcribe
convert_video_to_audio(video_file)
File "D:\VideoLingo\core\all_whisper_methods\whisperX_utils.py", line 29, in convert_video_to_audio
subprocess.run([
File "C:\Users\14027.conda\envs\videolingo\lib\subprocess.py", line 526, in run
raise CalledProcessError(retcode, process.args,

Contributor guide

No contributing guide indexed for this repository

First steps

  1. Read the whole issue, then the project's contributing guide.
  2. Comment on the issue to say you are picking it up — it saves two people doing the same work.
  3. Fork the repository and make your change on a branch.
  4. Open a pull request that references the issue number.

Research direction

Start by reproducing the failure from st.py through core/step2_whisperX.py:168 and inspect core/all_whisper_methods/whisperX_utils.py:29, where convert_video_to_audio runs the ffmpeg command. Check the reported input and output paths and the command result. Done means audio extraction completes successfully for the reported video.

Written by the indexing model from the issue text.

Assessment

Tech stack
python, streamlit
Domain
audio-video-rtc
Issue type
Bug
Difficulty
3/5
Estimated time
1-2 days
Activity status
Stale
Clarity
Needs clarification
Newbie friendliness
25/100

Get new issues in your inbox

A short digest of beginner-friendly GitHub issues.