mpv-player/mpv has 210,248 source lines of code out of 279,770 total lines across 814 files, counted from the master ref at commit 0fae4695470b by the OctoCounts tokei engine on 2026-10-23. The report is cached by commit, tokei version, and analysis options, so recounting the same revision returns exactly these numbers.
mpv-player/mpv: 210,248 code lines at commit 0fae4695470b, counted with tokei-14.0.0 on 2026-10-23. Saved result d8aef70c876d6ffc76648c113b6a90a196ba8e94c8d4ba7dcbbaeae27fefb529.
OctoCounts produced this report by resolving mpv-player/mpv to commit 0fae4695470b, downloading the repository source archive, and counting every source file 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, so counting the same revision again reproduces exactly these numbers.
This is a large codebase by counted code lines. Code represents 75.2% of all lines, comments represent 10.4%, and the repository averages 258 code lines per file. C accounts for 73.5% of counted code.
| Language | Files | Lines | Code | Comments | Blanks |
|---|---|---|---|---|---|
| C | 362 | 197425 | 154503 | 16281 | 26641 |
| ReStructuredText | 29 | 24316 | 18797 | 0 | 5519 |
| C Header | 215 | 25421 | 12715 | 9083 | 3623 |
| Lua | 31 | 15310 | 11819 | 1317 | 2174 |
| Swift | 25 | 5372 | 4156 | 471 | 745 |
| Meson | 12 | 2280 | 1938 | 54 | 288 |
| Python | 13 | 1880 | 1490 | 135 | 255 |
| Objective-C | 8 | 1593 | 1207 | 143 | 243 |
| Shell | 13 | 1175 | 957 | 99 | 119 |
| 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 | 79 | 757 | 0 | 616 | 141 |
Top language (C 73.5%). Generated at .
mpv-player/mpv has 279,770 total lines, including 210,248 code lines, 29,232 comment lines, and 40,290 blank lines.
OctoCounts resolved the public GitHub repository to commit 0fae4695470b, 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 0fae4695470b on 2026-10-23T09:09:22.381427032Z.
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 — 210,248 code lines across 24 languages, counted by tokei.