mpv-player/mpv has 211,934 source lines of code out of 281,736 total lines across 739 files, counted with tokei from the master ref at commit 543a8c2c59b9 on November 15, 2026. Tests, docs and generated files are excluded under OctoCounts' canonical public options.
mpv-player/mpv: 211,934 code lines at commit 543a8c2c59b9, counted with tokei-15.0.0 on 2026-11-15. Saved result 13a21af47071188eff7aa6e33a6bf3041b75c891ae0dafd8f7830942e4c03b57.
OctoCounts produced this report by resolving mpv-player/mpv to commit 543a8c2c59b9, 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 | 365 | 198789 | 155613 | 16417 | 26759 |
| ReStructuredText | 26 | 24560 | 19024 | 0 | 5536 |
| C Header | 216 | 25635 | 12876 | 9116 | 3643 |
| Lua | 31 | 15330 | 11835 | 1320 | 2175 |
| Swift | 25 | 5372 | 4156 | 471 | 745 |
| Meson | 12 | 2320 | 1974 | 54 | 292 |
| Python | 14 | 1996 | 1574 | 156 | 266 |
| Objective-C | 8 | 1631 | 1235 | 144 | 252 |
| 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,934 lines of code, plus 29,330 comment lines and 40,472 blank lines, for 281,736 total lines at commit 543a8c2c59b9 on November 15, 2026. Tests, docs and generated files are excluded under OctoCounts' canonical public options.
OctoCounts resolved the public GitHub repository to commit 543a8c2c59b9, 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 543a8c2c59b9 on November 15, 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,934 code lines across 24 languages, counted by tokei.