Make track numbering and language consistent between decoders

Open
#96 0 comments 0 reactions 0 assignees View on GitHub

Nobody has claimed this yet.

Assessment

Difficulty
4/5
Estimated time
3-5 days
Newbie friendliness
48/100
Issue type
Bug
Clarity
Mostly clear
Activity status
Active
Tech stack
macos, swift
Domain
backend, desktop

Research direction

Read the internal and FFmpeg decoder paths to compare how they identify tracks, handle language metadata, and order processing; the issue does not name their files or tests. Trace how each path produces subtitle filenames, then check the same file through both decoders. Done means both paths use consistent track numbering and language metadata, with deterministic track processing.

Written by the indexing model from the issue text.

Description

enhancement
  • The internal decoder names outputs by MKV track number (1-based); the FFmpeg decoder uses the stream index (0-based, counting video/audio). The same file gives track_3.srt with one and track_2.srt with the other.
  • The FFmpeg path ignores the stream's language metadata.
  • Tracks are processed in dictionary iteration order, which is not deterministic.
Dominant language
Swift
Stars
42
Forks
9
Avg merge
9h 30m
Merged PRs (30d)
4

Getting set up

First steps

  1. Read the whole issue, then the project's contributing guide.
  2. Comment on the issue to say you are picking it up — it saves two people doing the same work.
  3. Fork the repository and make your change on a branch.
  4. Open a pull request that references the issue number.

More from ecdye/macSubtitleOCR

All issues in ecdye/macSubtitleOCR

Similar issues

More Swift issues

Get new issues in your inbox

A short digest of beginner-friendly GitHub issues.