As of 2026-05-17 (commit 5dacbb63fb17), obsproject/obs-studio contains 640,487 total lines: 502,246 code, 53,427 comments, 84,814 blank, across 4,716 files in 26 languages (top: C 33.2%). Counted with tokei via OctoCounts.
OctoCounts produced this report by resolving obsproject/obs-studio to commit 5dacbb63fb17, 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 78.4% of all lines, comments represent 8.3%, and the repository averages 106 code lines per file. C accounts for 33.2% of counted code.
| Language | Files | Lines | Code | Comments | Blanks |
|---|---|---|---|---|---|
| C | 643 | 229164 | 166583 | 27340 | 35241 |
| INI | 2416 | 127962 | 127575 | 148 | 239 |
| C++ | 319 | 117863 | 90532 | 5423 | 21908 |
| C Header | 378 | 69528 | 47881 | 12513 | 9134 |
| C++ Header | 244 | 17872 | 12037 | 2034 | 3801 |
| CMake | 198 | 13878 | 11264 | 319 | 2295 |
| ReStructuredText | 46 | 17934 | 10946 | 0 | 6988 |
| HTML | 54 | 8320 | 8179 | 132 | 9 |
| Objective-C | 17 | 7792 | 6157 | 151 | 1484 |
| Swift | 39 | 8944 | 5468 | 2232 | 1244 |
| JSON | 15 | 5290 | 5290 | 0 | 0 |
| Objective-C++ | 21 | 5844 | 4505 | 312 | 1027 |
Top language (C 33.2%). Generated at 2026-05-17T08:00:55.207744050+00:00.
obsproject/obs-studio has 640,487 total lines, including 502,246 code lines, 53,427 comment lines, and 84,814 blank lines.
OctoCounts resolved the public GitHub repository to commit 5dacbb63fb17, 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 5dacbb63fb17 on 2026-05-17T08:00:55.207744050+00:00.
Other public repositories with an OctoCounts report, ranked by top language and code size similarity: