mpv-player/mpv

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.

As of 2026-11-13 (commit 649001d4e2ed), mpv-player/mpv contains 281,359 total lines: 211,659 code, 29,287 comments, 40,413 blank, across 737 files in 24 languages (top language: C 73.4%). Canonical public options (tests, docs and generated files excluded). Counted with tokei via OctoCounts.

As of 2026-11-13 (commit 649001d4e2ed), mpv-player/mpv contains 281,359 total lines: 211,659 code, 29,287 comments, 40,413 blank, across 737 files in 24 languages (top language: C 73.4%). Canonical public options (tests, docs and generated files excluded). Counted with tokei via OctoCounts.

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.

Repository size insights

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.

LanguageFilesLinesCodeCommentsBlanks
C3641985351554261639326716
ReStructuredText26245591902305536
C Header215255521281890983636
Lua31153301183513202175
Swift2553724156471745
Meson122319197354292
Python1419961574156266
Objective-C815931207143243
Shell131204981102121
JavaScript186264992121
PowerShell26465682355
C++15844893461

Top language: C 73.4%. Generated on .

Counting rules and retention

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.

Reproduce this report

Reproduce this exact report and configuration.

Report FAQ

How many lines of code does mpv-player/mpv have?

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.

How was the mpv-player/mpv line count measured?

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.

What commit was counted for mpv-player/mpv?

This OctoCounts report was generated from master at commit 649001d4e2ed on November 13, 2026.

Similar repository reports

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.