Emby plugin to merge two subtitles into a single bilingual SRT file (dual subtitles).
- Subtitle Merging: Combine two subtitles (e.g., French + English) into a single file
- Movies & TV Shows Support: Works with both movies and TV series episodes
- Advanced Filters: Filter by library, media type (movie/episode), and text search
- Merge Modes:
- All subtitles: Merges both files completely
- Overlapping only: Keeps only subtitles that overlap in time
- Primary language priority: Uses primary language, fills gaps with secondary
- Auto-extraction: Automatically extracts embedded subtitles from video files (via ffmpeg)
- Cloud Support: Optional integration with DoubleSub.io API
- Modern UI: Built-in user interface integrated into Emby
- Download
EmbySubtitleMerger.dllfrom Releases - Copy the file to Emby's plugin folder:
- Windows:
%ProgramData%\Emby-Server\plugins\ - Linux:
/var/lib/emby/plugins/ - Docker:
/config/plugins/
- Windows:
- Restart Emby Server
cd ClassLibrary1
dotnet build --configuration ReleaseThe EmbySubtitleMerger.dll file will be generated in ClassLibrary1/bin/Release/net6.0/
- Go to Settings > Plugins > Subtitle Merger
- Click Load to list your media
- Select a movie or episode
- Choose the two subtitles to merge
- Configure options (merge mode, tolerance, offsets)
- Click Merge
The new subtitle will be created in the same folder as the video file.
| Option | Description |
|---|---|
| Merge mode | How to combine subtitles |
| Tolerance (ms) | Margin to consider two subtitles as simultaneous |
| Subtitle 1 offset | Adjust timing of first subtitle (in ms) |
| Subtitle 2 offset | Adjust timing of second subtitle (in ms) |
- Emby Server 4.7+ (.NET 6.0 compatible)
- ffmpeg installed and available in PATH (for embedded subtitle extraction)
EmbySubtitleMerger/
├── ClassLibrary1/
│ ├── Class1.cs # Main plugin class
│ ├── SubtitleMergerPage.cs # Merge API endpoint
│ ├── Configuration/
│ │ ├── configPage.html # User interface
│ │ └── configPage.js # JavaScript logic
│ └── Subtitles/
│ ├── MergeService.cs # Merge service
│ ├── SrtParser.cs # SRT file parser
│ ├── SubtitleMerger.cs # Merge logic
│ ├── FfmpegHelper.cs # ffmpeg extraction
│ └── DoubleSubApiClient.cs # DoubleSub.io API client
└── README.md
- TV series support (episodes)
- Filter by library and media type
- Text search
- Alphabetical sorting
- Auto-refresh after merge
MIT License
Created with Claude Code.

