Subtitle Auto-Sync
Aligns the current external subtitle to the audio, or in seconds to another subtitle track (Alt+Shift+Y), with alass or ffsubsync in the background, then loads the synced copy saved next to the original and picks it again the next time the file opens. From Vivi 0.13 the manual offset (Z / X, Alt+Z / Alt+X, side panel) belongs to the player; on older Vivi this plugin's Alt+Z / Alt+X keys keep it per file. Uses an installed alass or ffsubsync; otherwise downloads alass on first use (3 MB on Linux x86_64, 26 MB on Windows) and, to read the audio without a system ffmpeg, Vivi's media ffmpeg build (about 15 MB, shared with Chapter Thumbnails).
"Open in Vivi" shows the plugin in Settings → Extensions → Browse, where you confirm its permissions and install it.
Needs Vivi 0.9.0 or newer. No Vivi yet? curl -fsSL https://viviplayer.app/install.sh | sh
Screenshots
Changelog
- v1.3.0 · download zip · latest
Sync to another subtitle track (Alt+Shift+Y): the secondary subtitle or another text track of the file, in seconds instead of minutes. The synced copy is picked again when the file opens with the original selected. The toast says how far the subtitle moved; a manual offset left over from the original is reset. Re-syncing starts from the original file, a re-sync replaces the loaded copy instead of adding another track, and the copy keeps the original's name and language. ffsubsync works with Vivi's ffmpeg build too. Messages show once, as Vivi toasts. On Vivi 0.13+, which keeps the per-file offset itself, the plugin binds no offset keys and keeps no offsets.json; offsets saved here earlier are imported by Vivi once.
- v1.2.0
Works with Vivi's per-file subtitle offset (Vivi 0.11+): Alt+Z / Alt+X go to Vivi, offsets saved by older versions are handed over once, and the side panel's Auto-sync button runs this plugin.
- v1.1.1
Downloads the ffmpeg helper from the Loafer19/vivi-plugins releases (same build and checksums).
- v1.1.0
Downloads a verified alass (and, if needed, ffmpeg) when no sync tool is installed; manual offset keys Alt+Z / Alt+X remembered per file.
- v1.0.1
Requires Vivi 0.9.0 (the first version with plugin packages).
- v1.0.0
First release.
Permissions
- Internet access
- Reads and writes files outside its folder
- Runs other programs
Settings
- Sync tool (choice)
- Download alass when no sync tool is installed (toggle)
- Offset step for Alt+Z / Alt+X in seconds (Alt+Shift: 10 steps; Vivi before 0.13) (choice)
- Use the synced copy when a file opens with the original subtitle (toggle)

