Huanshere / Huanshere/VideoLingo

Chunk 24 to 24 exceeds the chunk end time 119.73 seconds with current time 120.71 seconds

Open
#351 0 comments 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

Exception: Chunk 24 to 24 exceeds the chunk end time 119.73 seconds with current time 120.71 seconds
Traceback:
File "E:\edgedownload\VideoLingo-main\venv\lib\site-packages\streamlit\runtime\scriptrunner\exec_code.py", line 88, in exec_func_with_error_handling
result = func()
File "E:\edgedownload\VideoLingo-main\venv\lib\site-packages\streamlit\runtime\scriptrunner\script_runner.py", line 590, in code_to_exec
exec(code, module.dict)
File "E:\edgedownload\VideoLingo-main\st.py", line 123, in
main()
File "E:\edgedownload\VideoLingo-main\st.py", line 120, in main
audio_processing_section()
File "E:\edgedownload\VideoLingo-main\st.py", line 79, in audio_processing_section
process_audio()
File "E:\edgedownload\VideoLingo-main\st.py", line 99, in process_audio
step10_gen_audio.gen_audio()
File "E:\edgedownload\VideoLingo-main\core\step10_gen_audio.py", line 231, in gen_audio
tasks_df = merge_chunks(tasks_df)
File "E:\edgedownload\VideoLingo-main\core\step10_gen_audio.py", line 209, in merge_chunks
raise Exception(f"Chunk {chunk_start} to {index} exceeds the chunk end time {chunk_end_time:.2f} seconds with current time {cur_time:.2f} seconds") 最后合成的时候出现这个错误是什么原因呢?

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 with core/step10_gen_audio.py, especially merge_chunks() around line 209 and gen_audio() around line 231, then trace the tasks_df timing values that produce the reported exception during final audio merging. Reproduce the failure with the reported workflow and identify why current time passes the chunk end time; done means the reported input completes without this exception.

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
30/100

Get new issues in your inbox

A short digest of beginner-friendly GitHub issues.