This allows users to configure OpenAI TTS API to generate voice for their videos, which might be a cheaper option than ElevenLabs (especially if one runs KokoroTTS localy [which has a similar API structure like OpenAI and is fully compatible])
The login error handling was improved to exit when an error
is encountered, even if the error message is empty. The
user agent string is now dynamically generated using the
browser version.
Signed-off-by: Jason Cameron <git@jasoncameron.dev>
Update moviepy to 2.0 and other dependencies.
- Updated moviepy to 2.1.2.
- Updated other dependencies such as Pillow, torch, boto3,
botocore, playwright, and elevenlabs.
- Replaced `volumex` with `MultiplyVolume`.
- Replaced `make_frame` with `frame_function`.
- Removed verbose and logger arguments where deprecated.
- Used `subclipped` instead of `subclip`.
- Changed video processing to use context manager to open
video files, addressing ffmpeg issues.
- Removed unused variable `idy`.
- Renamed `id` variable to `thread_id` for clarity.
Signed-off-by: Jason Cameron <git@jasoncameron.dev>
In get_latest_ms_progress(), the value of out_time_ms can equal 'N/A\n', this code confirms this will not be the case in the future. Since this is only a progress indicator, it should not crash the program.
The RedditVideoMakerBot has been updated to version 3.2, bringing exciting new features and bug fixes. Introducing **ElevenLabs TTS** for high-quality audio. Enjoy **background audio** and **random voices per comment**. Run the bot with one click using the **bat file**. Use the **zoom setting** for bigger text. Bug fixes include video downloader improvements, random story mode fix, updated dependencies, code optimizations, text size adjustments, enhanced Reddit credentials validation, and translator fixes. Enjoy the new features and **thanks to all contributors**!