mpv-player/mpv

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.

As of 2026-11-15 (commit 543a8c2c59b9), mpv-player/mpv contains 281,736 total lines: 211,934 code, 29,330 comments, 40,472 blank, across 739 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-15 (commit 543a8c2c59b9), mpv-player/mpv contains 281,736 total lines: 211,934 code, 29,330 comments, 40,472 blank, across 739 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 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.

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
C3651987891556131641726759
ReStructuredText26245601902405536
C Header216256351287691163643
Lua31153301183513202175
Swift2553724156471745
Meson122320197454292
Python1419961574156266
Objective-C816311235144252
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,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.

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

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.

What commit was counted for mpv-player/mpv?

This OctoCounts report was generated from master at commit 543a8c2c59b9 on November 15, 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,934 code lines across 24 languages, counted by tokei.