v1.2.3
livekit/agents-jsv1.2.3Nov 18, 2025by denizsafak
AI Summary
This release introduces the ability to voice subtitle files (.srt, .ass, .vtt) and timestamped text, along with new options for handling silent gaps and audio speed adjustment. It also adds M4B cover image embedding support and fixes Windows compatibility issues.
Key Highlights
- Voice generation for subtitle files (.srt, .ass, .vtt) and timestamped text files.
- New options for silent gaps between subtitles and speed adjustment methods (TTS Regeneration vs FFmpeg Time-stretch).
- M4B cover image embedding support with automatic extraction from EPUB and PDF files.
- Fixes for Windows DLL initialization errors and CUDA availability issues.
New Features
- Voice generation for subtitle files (.srt, .ass, .vtt) and timestamped text.
- Use silent gaps between subtitles option.
- Subtitle speed adjustment method (TTS Regeneration or FFmpeg Time-stretch).
- M4B cover image embedding support.
Full Release Notes
- **You can now voice your subtitle files!** Simply add `.srt`, `.ass` or `.vtt` files to generate timed audio. Alternatively, add a text file with timestamps in `HH:MM:SS` or `HH:MM:SS,ms` format to generate audio that matches the timestamps. See [here](https://github.com/denizsafak/abogen?tab=readme-ov-file#about-timestamp-based-text-files) for detailed instructions.
- New option: **"Use silent gaps between subtitles"**: Prevents unnecessary audio speed-up by letting speech continue into the silent gaps between subtitles.
- New option: **"Subtitle speed adjustment method"**: Choose how to speed up audio when needed:
- **TTS Regeneration (better quality):** Re-generates the audio at a faster speed for more natural sound.
- **FFmpeg Time-stretch (better speed):** Quickly speeds up the generated audio.
- Added support for embedding cover images in M4B files. Abogen now automatically extracts cover images from EPUB and PDF files. You can also manually specify a cover image using the `<<METADATA_COVER_PATH:path>>` tag in your text file. (To prevent MPV from showing the cover image, you can add `audio-display=no` to your MPV config file.)
- Fixed `[WinError 1114] A dynamic link library (DLL) initialization routine failed` error on Windows, pre-loading PyTorch DLLs before initializing PyQt6 to avoid DLL initialization errors, mentioned in #98 by @ephr0n.
- Potential fix for `CUDA GPU is not available` issue, by ensuring PyTorch is installed correctly with CUDA support on Windows using the installer script.
- Improvements in code and documentation.