Following scripts are completely independent.
- Function: Automatically load dual subtitles on startup.
- dualsubs-init.conf: Primary and secondary subtitle language preferences.
- Function: Quickly swap positions of primary and secondary subtitles.
- Hotkey: Alt + u
- Automatically reload external subtitle when updated without changing the current subtitle display track.
- Function:
- Create bilingual ASS subtitles with pop movie style
- Uses currently selected primary and secondary subtitles
- Supports both external and embedded subtitles
- Hotkey: Shift + b
- Function:
- Resegment srt by synchronize plain text with whisper's word-level timestamps JSON
- Hotkey:
- input.conf: Ctrl+r script-binding srt_resegment
- ref:
- Function:
- Convert YouTube auto-generated SRT to JSON with word-level timestamps.
- Calculate word-level timestamps using character length as a basis.
- Hotkey:
- input.conf: Ctrl+e script-binding srt_to_word_level_json
- ref:
- srt-resegment.lua: resegment srt by synchronize plain text with JSON
- Function:
- Converts chapter format between YouTube and mpv.
- YouTube Chapter: "videoname.ext.chapter" (e.g., "00:10 chapter title").
- mpv Chapter: "videoname.ext.ffmetadata" (FFmpeg metadata standard).
- Hotkey customize:
- Ctrl+y script-binding youtube-to-mpv
- Ctrl+Alt+y script-binding mpv-to-youtube
- Ref:
- loading/editing/adding/removing/saving/baking chapters
- https://github.com/mar04/chapters_for_mpv
- Function:
- Automatically create video chapters by detecting silent audio segments.
- Uses FFmpeg for audio processing.
- Features:
- Smart thresholding: Auto-adjusts silence detection to fit the video's audio characteristics.
- Highly Customizable: A
config.jsonfile allows for detailed adjustments. - Batch Processing: Capable of handling multiple video files in one go.
- Usage:
- Run the script via
python python/mpvchapter/mpvchapter.py.
- Run the script via
- Ref:
- The script's own README at
python/mpvchapter/README.mdprovides more details.
- The script's own README at