Huanshere / Huanshere/VideoLingo

option 'tempo' to filter 'atempo': Result too large

Open
#436 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

视频是这个:https://www.youtube.com/watch?v=xFvlUVkMPJY

subprocess.CalledProcessError: Command '['ffmpeg', '-i', 'output/audio/tmp/540_0_temp.wav', '-filter:a', 'atempo=876.171', '-y', 'output/audio/segs/540_0.wav']' returned non-zero exit status 222.
/opt/homebrew/anaconda3/envs/videolingo/lib/python3.10/site-packages/streamlit/watcher/local_sources_watcher.py:210: UserWarning: Torchaudio's I/O functions now support par-call bakcend dispatch. Importing backend implementation directly is no longer guaranteed to work. Please use backend keyword with load/save/info function, instead of calling the udnerlying implementation directly.
lambda m: list(m.path._path),

ffmpeg -i output/audio/tmp/540_0_temp.wav -filter:a atempo=876.171 -y output/audio/segs/540_0.wav
ffmpeg version 7.1.1 Copyright (c) 2000-2025 the FFmpeg developers
built with Apple clang version 16.0.0 (clang-1600.0.26.6)
configuration: --prefix=/opt/homebrew/Cellar/ffmpeg/7.1.1_1 --enable-shared --enable-pthreads --enable-version3 --cc=clang --host-cflags= --host-ldflags='-Wl,-ld_classic' --enable-ffplay --enable-gnutls --enable-gpl --enable-libaom --enable-libaribb24 --enable-libbluray --enable-libdav1d --enable-libharfbuzz --enable-libjxl --enable-libmp3lame --enable-libopus --enable-librav1e --enable-librist --enable-librubberband --enable-libsnappy --enable-libsrt --enable-libssh --enable-libsvtav1 --enable-libtesseract --enable-libtheora --enable-libvidstab --enable-libvmaf --enable-libvorbis --enable-libvpx --enable-libwebp --enable-libx264 --enable-libx265 --enable-libxml2 --enable-libxvid --enable-lzma --enable-libfontconfig --enable-libfreetype --enable-frei0r --enable-libass --enable-libopencore-amrnb --enable-libopencore-amrwb --enable-libopenjpeg --enable-libspeex --enable-libsoxr --enable-libzmq --enable-libzimg --disable-libjack --disable-indev=jack --enable-videotoolbox --enable-audiotoolbox --enable-neon
libavutil 59. 39.100 / 59. 39.100
libavcodec 61. 19.101 / 61. 19.101
libavformat 61. 7.100 / 61. 7.100
libavdevice 61. 3.100 / 61. 3.100
libavfilter 10. 4.100 / 10. 4.100
libswscale 8. 3.100 / 8. 3.100
libswresample 5. 3.100 / 5. 3.100
libpostproc 58. 3.100 / 58. 3.100
[wav @ 0x13cf06560] Packet corrupt (stream = 0, dts = NOPTS).
[wav @ 0x13cf06560] Estimating duration from bitrate, this may be inaccurate
[aist#0:0/pcm_s16le @ 0x13e0042f0] Guessed Channel Layout: mono
Input #0, wav, from 'output/audio/tmp/540_0_temp.wav':
Duration: 00:00:00.79, bitrate: 706 kb/s
Stream #0:0: Audio: pcm_s16le ([1][0][0][0] / 0x0001), 44100 Hz, mono, s16, 705 kb/s
[Parsed_atempo_0 @ 0x13e0069a0] Value 876.171000 for parameter 'tempo' out of range [0.5 - 100]
Error applying option 'tempo' to filter 'atempo': Result too large
Error opening output file output/audio/segs/540_0.wav.
Error opening output files: Result too large

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 reported ffmpeg command for the linked video and inspect the Python code that constructs the atempo filter. The issue shows that tempo 876.171 exceeds ffmpeg's supported range; done should mean this video no longer fails with the reported “Result too large” error.

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

Get new issues in your inbox

A short digest of beginner-friendly GitHub issues.