A Streamlit application for managing audio-redub projects with automatic video and subtitle file indexing.
- 📁 Project folder indexing and management
- 🎥 Automatic video file detection with language recognition
- 📝 Subtitle file detection with language identification
- 🗄️ SQLite database for fast project re-opening
- 🔄 Project refresh functionality to update file index
- Install Poetry (if not already installed):
curl -sSL https://install.python-poetry.org | python3 -- Install dependencies:
poetry install- Run the application:
poetry run streamlit run app.pyOr use the convenience script:
./run.shOr run the example script:
OPENAI_TOKEN=$OPENAI_TOKEN poetry run python example.py- Enter the path to your video project folder in the sidebar
- Click "Load Project" to index the folder
- View video files with their detected languages and available subtitles
- Use "Refresh Project" to update the index after adding new files
The application expects project folders containing:
- Video files (mp4, avi, mkv, mov, etc.)
- Subtitle files (srt, vtt, ass, etc.)
- Files can be in subfolders within the project directory
Language detection is based on filename patterns and subtitle content analysis.