-
Notifications
You must be signed in to change notification settings - Fork 28
Add support for Yandex live voices (useLivelyVoice) #59
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Open
fantomcheg
wants to merge
67
commits into
FOSWLY:main
Choose a base branch
from
fantomcheg:feature/add-live-voices-support
base: main
Could not load branches
Branch not found: {{ refName }}
Loading
Could not load tags
Nothing to show
Loading
Are you sure you want to change the base?
Some commits from the old base branch may be removed from the timeline,
and old review comments may become outdated.
Open
Add support for Yandex live voices (useLivelyVoice) #59
fantomcheg
wants to merge
67
commits into
FOSWLY:main
from
fantomcheg:feature/add-live-voices-support
Conversation
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Update README.md
json subtitles to srt format
Удалил Jest , обновил функции из VOT.
Обновление функций
add link on google colab version
…──────────────────────────────�[0m
�[38;2;131;148;150m│ �[0m�[1mSTDIN�[0m
�[38;2;131;148;150m───────┼────────────────────────────────────────────────────────────────────────�[0m
�[38;2;131;148;150m 1�[0m �[38;2;131;148;150m│�[0m �[38;2;248;248;242mAdd support for Yandex live voices (useLivelyVoice)�[0m
�[38;2;131;148;150m 2�[0m �[38;2;131;148;150m│�[0m
�[38;2;131;148;150m 3�[0m �[38;2;131;148;150m│�[0m �[38;2;248;248;242m- Added useLivelyVoice parameter (field 18) to protobuf structure�[0m
�[38;2;131;148;150m 4�[0m �[38;2;131;148;150m│�[0m �[38;2;248;248;242m- Updated VideoTranslationRequest with correct field names based on vot.js�[0m
�[38;2;131;148;150m 5�[0m �[38;2;131;148;150m│�[0m �[38;2;248;248;242m- Added --voice-style CLI argument (live/tts)�[0m
�[38;2;131;148;150m 6�[0m �[38;2;131;148;150m│�[0m �[38;2;248;248;242m- Live voices are now used by default�[0m
�[38;2;131;148;150m 7�[0m �[38;2;131;148;150m│�[0m �[38;2;248;248;242m- Updated documentation (README.md, README-EN.md) with examples�[0m
�[38;2;131;148;150m 8�[0m �[38;2;131;148;150m│�[0m �[38;2;248;248;242m- Tested and verified: different audio files for live vs tts�[0m
�[38;2;131;148;150m 9�[0m �[38;2;131;148;150m│�[0m
�[38;2;131;148;150m 10�[0m �[38;2;131;148;150m│�[0m �[38;2;248;248;242mFixes the issue where only standard TTS voices were available.�[0m
�[38;2;131;148;150m 11�[0m �[38;2;131;148;150m│�[0m �[38;2;248;248;242mNow users can get higher-quality live voices by default or choose�[0m
�[38;2;131;148;150m 12�[0m �[38;2;131;148;150m│�[0m �[38;2;248;248;242mstandard TTS with --voice-style=tts parameter.�[0m
�[38;2;131;148;150m───────┴────────────────────────────────────────────────────────────────────────�[0m
- Added getVideoTitle.js utility using yt-dlp - Audio files now named after video title by default - Makes it easier to find files in file manager - Falls back to videoId if title unavailable - Updated documentation
…──────────────────────────────�[0m
�[38;2;131;148;150m│ �[0m�[1mSTDIN�[0m
�[38;2;131;148;150m───────┼────────────────────────────────────────────────────────────────────────�[0m
�[38;2;131;148;150m 1�[0m �[38;2;131;148;150m│�[0m �[38;2;248;248;242mRead version automatically from package.json�[0m
�[38;2;131;148;150m 2�[0m �[38;2;131;148;150m│�[0m
�[38;2;131;148;150m 3�[0m �[38;2;131;148;150m│�[0m �[38;2;248;248;242m- Replace hardcoded version string with dynamic reading from package.json�[0m
�[38;2;131;148;150m 4�[0m �[38;2;131;148;150m│�[0m �[38;2;248;248;242m- Add necessary imports for ES modules path handling�[0m
�[38;2;131;148;150m 5�[0m �[38;2;131;148;150m│�[0m �[38;2;248;248;242m- Ensures version is always in sync with package.json�[0m
�[38;2;131;148;150m───────┴────────────────────────────────────────────────────────────────────────�[0m
🐛 Bug Fixes: - Add 60s timeout for Yandex API requests (fixes ECONNRESET) - Fix infinite translation wait loop (max 10 attempts / 5 minutes) - Add timeouts for yt-dlp (10m) and ffmpeg (15m) - Improve error messages (ECONNRESET → "Try using proxy") ✨ New Features: - Real video duration detection via yt-dlp - Full proxy support in yt-dlp (params + env variables) - Progress indicator for retry attempts (attempt 3/10) - Beautiful UI with emojis and detailed progress info 🎨 UI/UX Improvements: - Beautiful startup banner with credits - Detailed 3-step merge process visualization - File sizes and progress at each step - Colored output with emojis for better UX - Credits to original author @ToilOfficial 📝 Documentation: - Add IMPROVEMENTS.md with detailed changelog - Add SUMMARY.md with work summary - Add UI-IMPROVEMENTS.md with UI details - Add test-improvements.sh for automated testing 🧪 Testing: - Tested on short videos (19s) - Tested on long videos (24m) - Verified live voices and TTS modes - Verified automatic file naming 📦 Technical Changes: - Add logERROR.txt to .gitignore - Create getVideoDuration.js utility - Improve error handling throughout - Add detailed console output Fixes FOSWLY#60 Co-authored-by: AI Assistant Thanks to @ToilOfficial (Ilya) for original vot-cli
557c05b to
1f186c0
Compare
- Added comprehensive troubleshooting guide (500+ lines) - Documented version conflict issue (/usr/bin vs nvm) - Added solutions for all known errors - Updated README.md with troubleshooting link
fc31c72 to
0758233
Compare
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Add this suggestion to a batch that can be applied as a single commit.
This suggestion is invalid because no changes were made to the code.
Suggestions cannot be applied while the pull request is closed.
Suggestions cannot be applied while viewing a subset of changes.
Only one suggestion per line can be applied in a batch.
Add this suggestion to a batch that can be applied as a single commit.
Applying suggestions on deleted lines is not supported.
You must change the existing code in this line in order to create a valid suggestion.
Outdated suggestions cannot be applied.
This suggestion has been applied or marked resolved.
Suggestions cannot be applied from pending reviews.
Suggestions cannot be applied on multi-line comments.
Suggestions cannot be applied while the pull request is queued to merge.
Suggestion cannot be applied right now. Please check back later.
vot-cli --output="." "https://youtu.be/VIDEO_ID"
vot-cli --output="." --voice-style=live "https://youtu.be/VIDEO_ID"
vot-cli --output="." --voice-style=tts "https://youtu.be/VIDEO_ID"