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.
As of 2026-10-23 (commit 0fae4695470b), mpv-player/mpv contains 279,770 total lines: 210,248 code, 29,232 comments, 40,290 blank, across 814 files in 24 languages (top: C 73.5%). Custom configuration (tests excluded, docs excluded, generated excluded). Counted with tokei via OctoCounts.
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 |
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.381427032+00:00.
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 12 languages, counted by tokei.