Load external subtitles when playing blurays
Nobody has claimed this yet.
- Dominant language
- C
- Stars
- 37k
- Forks
- 3.5k
- Avg merge
- 1d 10h
- Merged PRs (30d)
- 22
Description
When playing back a bluray it would be nice to have a way to autoload external subtitles. I'm thinking something like this, say I have subtitle corresponding to the main episode m2ts files 00001-00005
.
├── 00001.ass
├── 00002.ass
├── 00003.ass
├── 00004.ass
├── 00005.ass
├── BDMV
...
│ └── STREAM
│ ├── 00000.m2ts
│ ├── 00001.m2ts
│ ├── 00002.m2ts
│ ├── 00003.m2ts
│ ├── 00004.m2ts
│ ├── 00005.m2ts
│ ├── 00006.m2ts
│ └── 00007.m2ts
...
When I play back the bluray with mpv bd://first/./ mpv could autoload the files according to the name and it would function as if the subtitles are built-in, it would also be great to integrate with --sub-files= so playing back from drive/iso would work too.
Contributor guide
No contributing guide indexed for this repository
First steps
- Read the whole issue, then the project's contributing guide.
- Comment on the issue to say you are picking it up — it saves two people doing the same work.
- Fork the repository and make your change on a branch.
- Open a pull request that references the issue number.
Research direction
Start by tracing the bluray entry point used by mpv bd://first/./ and the existing --sub-files= handling. Check how the numbered .m2ts files are selected and how external subtitle files are associated with playback. Done means matching files such as 00001.ass through 00005.ass load automatically for bluray playback, including drive or ISO use.
Written by the indexing model from the issue text.
Assessment
- Tech stack
- c
- Domain
- cli
- Issue type
- Feature
- Difficulty
- 4/5
- Estimated time
- 3-5 days
- Activity status
- Stale
- Clarity
- Mostly clear
- Newbie friendliness
- 35/100