Quick Start
Quick Start
Section titled “Quick Start”Get started with S2ST Translator in just a few minutes.
Starting the Application
Section titled “Starting the Application”# Start both the worker and web server./start.shThis will:
- Activate the virtual environment
- Update dependencies
- Build the frontend
- Start the background worker
- Start the web server on port 8000
Open http://localhost:8000 in your browser.
Web Dashboard
Section titled “Web Dashboard”Creating a Translation Job
Section titled “Creating a Translation Job”- Click “New Translation” in the dashboard
- Choose your input method:
- Upload Files - Drag and drop audio/video files
- Local Path - Enter a path on the server
- YouTube URL - Paste a YouTube video or playlist URL
- Select the target language
- Click Submit
Monitoring Jobs
Section titled “Monitoring Jobs”- View real-time progress in the dashboard
- Check job details by clicking the view icon
- Download completed translations
Command Line Usage
Section titled “Command Line Usage”Translate a Single File
Section titled “Translate a Single File”./run.sh translate --input audio.wav --target-lang deuSubmit a Job to the Queue
Section titled “Submit a Job to the Queue”./run.sh job submit --input audio.wav --target-lang fraList All Jobs
Section titled “List All Jobs”./run.sh job listCheck System Status
Section titled “Check System Status”./run.sh infoExample Workflows
Section titled “Example Workflows”Translate a YouTube Video
Section titled “Translate a YouTube Video”=== “Web Dashboard”
- Click “New Translation”
- Select “YouTube URL” tab
- Paste the video URL
- Select target language
- Submit and wait for completion
=== “CLI”
The CLI currently requires downloading first:
# Download with yt-dlpyt-dlp -x --audio-format wav "https://youtube.com/watch?v=..."
# Translate./run.sh translate --input video.wav --target-lang jpnBatch Process Multiple Files
Section titled “Batch Process Multiple Files”=== “Web Dashboard”
- Click “New Translation”
- Drag multiple files into the upload zone
- Select target language
- Submit as batch
=== “CLI”
# Process all files in a directoryfor f in input/*.wav; do ./run.sh job submit --input "$f" --target-lang deudoneTranslate a Video with Re-muxing
Section titled “Translate a Video with Re-muxing”When you upload a video file (MP4, MKV, etc.), S2ST Translator will:
- Extract the audio track
- Translate the audio
- Re-mux the translated audio back into the video
The output includes both:
filename_translated.mp4- Video with translated audiofilename_translated.wav- Standalone translated audio
Next Steps
Section titled “Next Steps”- Configuration Guide - Customize settings
- CLI Reference - Full CLI documentation
- API Reference - Integrate with your applications