v1.2.3
stanfordnlp/dspyv1.2.3Nov 18, 2025by denizsafak
AI Summary
Enables voice playback for subtitle files and adds cover image embedding for M4B files.
Key Highlights
- Voice playback for .srt, .ass, and .vtt subtitle files.
- Option to use silent gaps between subtitles to prevent audio speed-up.
- Subtitle speed adjustment methods: TTS Regeneration or FFmpeg Time-stretch.
- Embedded cover images in M4B files (auto-extracted from EPUB/PDF or manual).
New Features
- Audio playback from subtitle files
- Cover image embedding in M4B
- Silent gap handling option
- Speed adjustment methods
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.