-
Notifications
You must be signed in to change notification settings - Fork 64
Open
Labels
bugSomething isn't workingSomething isn't working
Description
Description of bug / unexpected behavior
When using voice recorder for voiceover, the wait time implemented will not run. the tracker duration will not be taking the full duration, causing segments to overlap with each other. this will not happen when using GTTS for voiceover.
Expected behavior
audio does not overlap when using recorder, just like how it does not when using GTTS
How to reproduce the issue
Code for reproducing the problem
self.set_speech_service(RecorderService(trim_silence_threshold=-70))
text9 = Tex("Blah", tex_template=myBaseTemplate)
with self.voiceover(
text="longer Blah") as tracker:
self.play(Add(text9), run_time=tracker.duration)
self.wait(2)
self.remove(text9)
text10 = Tex(r"Blah.", tex_template=myBaseTemplate).scale(0.6)
with self.voiceover(
text="longer Blah.") as tracker:
self.play(Add(text10), run_time=tracker.duration)
self.wait(2)
self.remove(text10)Additional media files
Images/GIFs
Logs
Terminal output
PASTE HERE OR PROVIDE LINK TO https://pastebin.com/ OR SIMILAR
System specifications
System Details
- OS (with version, e.g., Windows 10 v2004 or macOS 10.15 (Catalina)): Windows 10 Pro 22H2
- RAM: 32GB
- Python version (
python/py/python3 --version): 3.10 - Installed modules (provide output from
pip list):
Package Version
------------------------------ ------------
annotated-types 0.7.0
anyio 4.8.0
argcomplete 3.1.1
asttokens 2.4.1
av 13.1.0
azure-cognitiveservices-speech 1.42.0
backports.tarfile 1.2.0
beautifulsoup4 4.13.3
Brotli 1.1.0
build 1.2.2.post1
CacheControl 0.14.2
certifi 2025.1.31
cffi 1.17.1
charset-normalizer 3.4.1
cleo 2.1.0
click 8.1.7
cloup 3.0.6
colorama 0.4.6
comtypes 1.4.10
contourpy 1.2.0
crashtest 0.4.1
cycler 0.12.1
decorator 5.1.1
deepl 1.21.0
distlib 0.3.9
distro 1.9.0
dulwich 0.22.7
elevenlabs 0.2.27
exceptiongroup 1.2.2
executing 2.0.1
fastjsonschema 2.21.1
ffmpeg-python 0.2.0
filelock 3.17.0
findpython 0.6.2
fonttools 4.47.0
fsspec 2025.2.0
future 1.0.0
glcontext 2.5.0
gTTS 2.5.4
h11 0.14.0
h2 4.2.0
hpack 4.1.0
httpcore 1.0.7
httpx 0.28.1
hyperframe 6.1.0
idna 3.10
importlib_metadata 8.6.1
importlib_resources 6.5.2
installer 0.7.0
ipython 8.18.1
isosurfaces 0.1.0
jaraco.classes 3.4.0
jaraco.context 6.0.1
jaraco.functools 4.1.0
jedi 0.19.1
Jinja2 3.1.5
jiter 0.8.2
keyring 25.6.0
kiwisolver 1.4.5
llvmlite 0.44.0
manim 0.19.0
manim-voiceover 0.3.7
manimgl 1.6.1
ManimPango 0.6.0
mapbox-earcut 1.0.1
markdown-it-py 3.0.0
MarkupSafe 3.0.2
matplotlib 3.8.2
matplotlib-inline 0.1.6
mdurl 0.1.2
MF-Tools 1.1.4
moderngl 5.9.0
moderngl-window 3.1.1
more-itertools 10.6.0
mpmath 1.3.0
msgpack 1.1.0
mutagen 1.47.0
networkx 3.4.2
numba 0.61.0
numpy 2.1.3
openai 1.64.0
openai-whisper 20230314
packaging 23.1
parso 0.8.3
pbs-installer 2025.2.12
Pillow 10.0.1
pip 25.0.1
pipx 1.2.0
pkginfo 1.12.1.2
platformdirs 4.3.6
poetry 2.1.1
poetry-core 2.1.1
prompt_toolkit 3.0.50
pure_eval 0.2.3
PyAudio 0.2.14
pycairo 1.27.0
pycparser 2.22
pydantic 2.10.6
pydantic_core 2.27.2
pydub 0.25.1
pyglet 2.1.2
pyglm 2.8.0
Pygments 2.17.2
pynput 1.7.7
pyparsing 3.1.1
pypiwin32 223
pyproject_hooks 1.2.0
pyrr 0.10.3
PySocks 1.7.1
python-dateutil 2.8.2
python-dotenv 0.21.1
python-slugify 8.0.4
pyttsx3 2.98
pywin32 308
pywin32-ctypes 0.2.3
PyYAML 6.0.1
RapidFuzz 3.12.1
regex 2024.11.6
requests 2.32.3
requests-toolbelt 1.0.0
rich 13.7.0
scipy 1.15.2
screeninfo 0.8.1
setuptools 75.8.0
shellingham 1.5.4
six 1.16.0
skia-pathops 0.8.0.post1
sniffio 1.3.1
soupsieve 2.5
sox 1.5.0
srt 3.5.3
stable-ts 2.18.3
stack-data 0.6.3
svgelements 1.9.6
sympy 1.13.1
text-unidecode 1.3
tiktoken 0.3.1
tomli 2.2.1
tomlkit 0.13.2
torch 2.6.0
torchaudio 2.6.0
tqdm 4.67.1
traitlets 5.14.3
trove-classifiers 2025.2.18.16
typing_extensions 4.12.2
urllib3 2.3.0
userpath 1.9.1
virtualenv 20.29.2
watchdog 6.0.0
wcwidth 0.2.13
websockets 15.0
wheel 0.45.1
win_inet_pton 1.1.0
zipp 3.21.0
zstandard 0.23.0
LaTeX details
- LaTeX distribution (e.g. TeX Live 2020):
- Installed LaTeX packages:
FFMPEG
Output of ffmpeg -version:
ffmpeg version 7.1 Copyright (c) 2000-2024 the FFmpeg developers
built with clang version 19.1.7
configuration: --prefix=/d/bld/ffmpeg_1740343396653/_h_env/Library --cc=clang.exe --cxx=clang++.exe --nm=llvm-nm --ar=llvm-ar --disable-doc --enable-openssl --enable-demuxer=dash --enable-hardcoded-tables --enable-libfreetype --enable-libharfbuzz --enable-libfontconfig --enable-libopenh264 --enable-libdav1d --ld=lld-link --target-os=win64 --enable-cross-compile --toolchain=msvc --host-cc=clang.exe --extra-libs=ucrt.lib --extra-libs=vcruntime.lib --extra-libs=oldnames.lib --strip=llvm-strip --disable-stripping --host-extralibs= --disable-libopenvino --enable-gpl --enable-libx264 --enable-libx265 --enable-libaom --enable-libsvtav1 --enable-libxml2 --enable-pic --enable-shared --disable-static --enable-version3 --enable-zlib --enable-libvorbis --enable-libopus --enable-librsvg --enable-ffplay --pkg-config=/d/bld/ffmpeg_1740343396653/_build_env/Library/bin/pkg-config
libavutil 59. 39.100 / 59. 39.100
libavcodec 61. 19.100 / 61. 19.100
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
Additional comments
Metadata
Metadata
Assignees
Labels
bugSomething isn't workingSomething isn't working