mpv-player/mpv has 211,659 source lines of code out of 281,359 total lines across 737 files, counted with tokei from the master ref at commit 649001d4e2ed on November 13, 2026. Tests, docs and generated files are excluded under OctoCounts' canonical public options.
mpv-player/mpv: 211,659 code lines at commit 649001d4e2ed, counted with tokei-15.0.0 on 2026-11-13. Saved result 6296f8e04455561cb688af3e5480f058b6bec697d7d8bea62b4cb095a8baa608.
OctoCounts produced this report by resolving mpv-player/mpv to commit 649001d4e2ed, downloading the repository source archive, and counting files selected by the effective rules with tokei, the open-source line counter written in Rust. The table below breaks the count down by programming language into files, total lines, code lines, comment lines, and blank lines, so the figures can be compared across languages and projects. Results are cached by commit, tokei version, and analysis options; an exact reproduction needs the same commit, engine version, and effective counting rules.
This is a large codebase by counted code lines. Code represents 75.2% of all lines, comments represent 10.4%, and the repository averages 287 code lines per file. C accounts for 73.4% of counted code.
| Language | Files | Lines | Code | Comments | Blanks |
|---|---|---|---|---|---|
| C | 364 | 198535 | 155426 | 16393 | 26716 |
| ReStructuredText | 26 | 24559 | 19023 | 0 | 5536 |
| C Header | 215 | 25552 | 12818 | 9098 | 3636 |
| Lua | 31 | 15330 | 11835 | 1320 | 2175 |
| Swift | 25 | 5372 | 4156 | 471 | 745 |
| Meson | 12 | 2319 | 1973 | 54 | 292 |
| Python | 14 | 1996 | 1574 | 156 | 266 |
| Objective-C | 8 | 1593 | 1207 | 143 | 243 |
| Shell | 13 | 1204 | 981 | 102 | 121 |
| JavaScript | 1 | 862 | 649 | 92 | 121 |
| PowerShell | 2 | 646 | 568 | 23 | 55 |
| C++ | 1 | 584 | 489 | 34 | 61 |
| SVG | 3 | 352 | 346 | 3 | 3 |
| Forge Config | 1 | 165 | 158 | 6 | 1 |
| Zsh | 1 | 269 | 157 | 56 | 56 |
| Bitbake | 4 | 105 | 101 | 0 | 4 |
| MSBuild | 1 | 77 | 77 | 0 | 0 |
| Fish | 1 | 95 | 60 | 27 | 8 |
| XML | 1 | 29 | 29 | 0 | 0 |
| Batch | 2 | 24 | 20 | 0 | 4 |
| TOML | 1 | 13 | 12 | 0 | 1 |
| Autoconf | 1 | 9 | 0 | 9 | 0 |
| Markdown | 7 | 1011 | 0 | 783 | 228 |
| Plain Text | 2 | 658 | 0 | 517 | 141 |
Top language: C 73.4%. Generated on .
mpv-player/mpv: tokei-15.0.0, policy directories-v1; docs excluded, tests excluded, generated excluded. Excluded directory names: .cache, .generated, .git, .next, __tests__, build, dist, doc, docs, documentation, fixtures, gen, generated, node_modules, target, test, tests, vendor. Ignored languages: none. Repository declarations: off. Exclusions are rule-based; they do not prove that every test, document or generated file was removed.
Saved reports remain subject to cache cleanup and replacement. Export the JSON or text for durable citation; live repository URLs can change.
mpv-player/mpv has 211,659 lines of code, plus 29,287 comment lines and 40,413 blank lines, for 281,359 total lines at commit 649001d4e2ed on November 13, 2026. Tests, docs and generated files are excluded under OctoCounts' canonical public options.
OctoCounts resolved the public GitHub repository to commit 649001d4e2ed, downloaded the source archive, counted it with tokei, and cached the report by commit, tokei version, and analysis options.
This OctoCounts report was generated from master at commit 649001d4e2ed on November 13, 2026.
Other public repositories with an OctoCounts report, ranked by top language and code size similarity:
Play the growth animation for mpv-player/mpv on this page — 211,659 code lines across 24 languages, counted by tokei.