LAV Filters - Open-Source DirectShow Media Splitter and Decoders
This report presents the forensic synthetic code analysis of Nevcairiel/LAVFilters, a C++ project with 9,020 GitHub stars. SynthScan v2.0 examined 190,553 lines of code across 625 source files, recording 558 pattern matches distributed across 3 syntactic categories. The overall adjusted score of 3.0 places this repository in the Likely human-written band.
The scanner applied 160+ deterministic lexical heuristics, multi-line block detectors, abstract syntax tree depth profilers, and a cross-file Jaccard similarity matrix to construct a statistically normalised synthetic code estimate. All matches are individually weighted by severity coefficient and contextual multiplier before summation, and the resulting headline score is temporally discounted to account for the repository's development history relative to the commercial emergence of large language model coding tooling (November 2022 onward).
Longitudinal tracking requires multiple scan runs. Once this repository is re-scanned after new commits land, this chart will visualise how the synthetic code signal evolves over time — enabling you to detect whether AI authorship is growing, stabilising, or being actively corrected by human engineers.
Classifies detected patterns by their diagnostic confidence and structural impact. CRITICAL patterns (coefficient 10) represent definitive synthetic signatures — hallucinated imports, explicit LLM attribution metadata — virtually never produced by human authors. HIGH (5) indicates strong structural tells such as cross-file repetition or cross-linguistic idioms. MEDIUM (2) covers recognisable conversational padding and AI-specific vocabulary. LOW (1) captures subtle indicators like tautological comments and generic boilerplate that require density to carry independent signal.
This horizontal bar chart decomposes the repository's raw synthetic code score by top-level directory, allowing you to pinpoint precisely which modules or components carry the highest AI authorship density. Directories with disproportionately high scores relative to their size warrant targeted manual review: concentrated AI signatures often trace back to mass-generated configuration layers, auto-ported test suites, LLM-scaffolded boilerplate classes, or entire subsystems authored under heavy copilot assistance. Use this view to prioritise your human code-review effort.
The scanner identified 558 distinct pattern matches across 3 syntactic categories. Each entry below represents a discrete location in the source code where the engine recorded a statistically significant AI authorship indicator. Expand any category row to inspect the individual file paths, line numbers, code snippets, and the lexical context (CODE, COMMENT, or STRING) in which each match was detected.
Reading the findings table: The Severity column indicates the diagnostic confidence level (CRITICAL / HIGH / MEDIUM / LOW). The Context column identifies whether the match occurred inside executable code, an inline comment, or a string literal — comment-context matches receive a ×1.5 weight because LLMs systematically over-annotate. The ⚡ bolt icon marks clustered matches: three or more patterns within a 10-line window, each receiving an additional ×1.5 density multiplier as dense clusters constitute far stronger evidence of synthetic authorship than isolated hits.
| Severity | File | Line | Snippet | Context |
|---|---|---|---|---|
| LOW | include/LAVSplitterSettings.h | 41 | // | COMMENT |
| LOW | include/LAVSplitterSettings.h | 61 | // Set the preferred subtitle languages as ISO 639-2 language codes, comma separated | COMMENT |
| LOW | include/IKeyFrameInfo.h | 21 | #pragma once | COMMENT |
| LOW | include/LAVAudioSettings.h | 101 | { | COMMENT |
| LOW | include/ID3DVideoMemoryConfiguration.h | 1 | // ----------------------------------------------------------------- | COMMENT |
| LOW | include/ID3DVideoMemoryConfiguration.h | 21 | { | COMMENT |
| LOW | include/ID3DVideoMemoryConfiguration.h | 41 | // | COMMENT |
| LOW | include/IStreamSourceControl.h | 21 | COMMENT | |
| LOW | include/IStreamSourceControl.h | 41 | // Position is in DirectShow reference time, 100ns units. | COMMENT |
| LOW | include/LAVVideoSettings.h | 221 | // | COMMENT |
| LOW | include/LAVVideoSettings.h | 241 | STDMETHOD_(DWORD, GetNumThreads)() = 0; | COMMENT |
| LOW | include/IMediaSideData.h | 1 | // ----------------------------------------------------------------- | COMMENT |
| LOW | include/IGraphRebuildDelegate.h | 21 | COMMENT | |
| LOW | include/IPinSegmentEx.h | 1 | #pragma once | COMMENT |
| LOW | decoder/LAVAudio/BitstreamMAT.cpp | 21 | COMMENT | |
| LOW | decoder/LAVAudio/LAVAudio.h | 21 | COMMENT | |
| LOW | decoder/LAVAudio/LAVAudio.h | 41 | #define PCM_BUFFER_MIN_DURATION 60000 | COMMENT |
| LOW | decoder/LAVAudio/stdafx.h | 21 | COMMENT | |
| LOW | decoder/LAVAudio/stdafx.h | 41 | { | COMMENT |
| LOW | decoder/LAVAudio/dllmain.cpp | 21 | // -------------------------------------------------------------------------------- | COMMENT |
| LOW | decoder/LAVAudio/PostProcessor.cpp | 121 | case SampleFormat_FP32: memset(pBuffer, 0, get_byte_per_sample(sfSampleFormat)); break; | COMMENT |
| LOW | decoder/LAVAudio/PostProcessor.cpp | 141 | // Note that when copying one source channel into multiple destinations, you always want to reduce its volume. | COMMENT |
| LOW | decoder/LAVAudio/resource.h | 1 | //{{NO_DEPENDENCIES}} | COMMENT |
| LOW | decoder/LAVAudio/resource.h | 21 | #define IDC_VOLUME 1039 | COMMENT |
| LOW | decoder/LAVAudio/resource.h | 41 | #define IDC_BITSTREAMING 1061 | COMMENT |
| LOW | decoder/LAVAudio/resource.h | 61 | #define IDC_LBL_OUTPUT_CHANNEL 1081 | COMMENT |
| LOW | decoder/LAVAudio/resource.h | 81 | #define IDC_DELAY 1101 | COMMENT |
| LOW | decoder/LAVAudio/resource.h | 101 | #define IDC_LBL_CENTER_LEVEL 1124 | COMMENT |
| LOW | decoder/LAVAudio/resource.h | 121 | #endif | COMMENT |
| LOW | decoder/LAVAudio/LAVAudio.cpp | 21 | #include "LAVAudio.h" | COMMENT |
| LOW | decoder/LAVAudio/LAVAudio.cpp | 41 | #pragma warning(disable : 4101) | COMMENT |
| LOW | decoder/LAVAudio/parser/dts.cpp | 21 | COMMENT | |
| LOW | decoder/LAVVideo/stdafx.h | 21 | COMMENT | |
| LOW | decoder/LAVVideo/stdafx.h | 41 | COMMENT | |
| LOW | decoder/LAVVideo/stdafx.h | 61 | #include "DShowUtil.h" | COMMENT |
| LOW | decoder/LAVVideo/dllmain.cpp | 21 | // -------------------------------------------------------------------------------- | COMMENT |
| LOW | decoder/LAVVideo/resource.h | 1 | //{{NO_DEPENDENCIES}} | COMMENT |
| LOW | decoder/LAVVideo/resource.h | 21 | #define IDC_THREADS 1005 | COMMENT |
| LOW | decoder/LAVVideo/resource.h | 41 | #define IDC_OUT_10BIT 1026 | COMMENT |
| LOW | decoder/LAVVideo/resource.h | 61 | #define IDC_DEINT_FIELDORDER 1050 | COMMENT |
| LOW | decoder/LAVVideo/resource.h | 81 | #define IDC_GROUP_HWDEINT 1072 | COMMENT |
| LOW | decoder/LAVVideo/resource.h | 101 | // | COMMENT |
| LOW | decoder/LAVVideo/LAVPixFmtConverter.cpp | 61 | LAVOutPixFmts lav_pix_fmts[LAVOutPixFmt_NB + 1]; | COMMENT |
| LOW | decoder/LAVVideo/LAVVideo.h | 21 | COMMENT | |
| LOW | decoder/LAVVideo/LAVVideo.cpp | 21 | #include "LAVVideo.h" | COMMENT |
| LOW | decoder/LAVVideo/pixconv/pixconv_sse2_templates.h | 21 | COMMENT | |
| LOW | decoder/LAVVideo/pixconv/pixconv_sse2_templates.h | 41 | COMMENT | |
| LOW | decoder/LAVVideo/pixconv/pixconv_sse2_templates.h | 61 | // dreg - register with dithering coefficients | COMMENT |
| LOW | decoder/LAVVideo/pixconv/pixconv_sse2_templates.h | 81 | // dreg - register with dithering coefficients | COMMENT |
| LOW | decoder/LAVVideo/pixconv/pixconv_sse2_templates.h | 101 | #define PIXCONV_STREAM_LOAD(reg, src) reg = _mm_stream_load_si128((__m128i *)(src)); /* load (streaming) */ | COMMENT |
| LOW | decoder/LAVVideo/decoders/msdk_mvc.h | 21 | #include "DecBase.h" | COMMENT |
| LOW | decoder/LAVVideo/decoders/avcodec.cpp | 21 | #include "avcodec.h" | COMMENT |
| LOW | decoder/LAVVideo/decoders/cuvid.h | 21 | #include "DecBase.h" | COMMENT |
| LOW | decoder/LAVVideo/decoders/dxva2dec.cpp | 21 | COMMENT | |
| LOW | decoder/LAVVideo/decoders/quicksync.cpp | 21 | #include "quicksync.h" | COMMENT |
| LOW | decoder/LAVVideo/decoders/mvc/include/mfxdefs.h | 41 | COMMENT | |
| LOW | decoder/LAVVideo/decoders/cuvid/dynlink_cuda_d3d.h | 81 | #pragma warning( disable : 4996 ) // disable deprecated warning | COMMENT |
| LOW | decoder/LAVVideo/decoders/cuvid/dynlink_nvcuvid.h | 381 | COMMENT | |
| LOW | decoder/LAVVideo/decoders/cuvid/dynlink_nvcuvid.h | 421 | //! cudaVideoState_Started - to signal the source to run and deliver data | COMMENT |
| LOW | decoder/LAVVideo/decoders/cuvid/dynlink_nvcuvid.h | 521 | //! \fn CUresult CUDAAPI cuvidCreateVideoParser(CUvideoparser *pObj, CUVIDPARSERPARAMS *pParams) | COMMENT |
| 492 more matches not shown… | ||||
| Severity | File | Line | Snippet | Context |
|---|---|---|---|---|
| MEDIUM | decoder/LAVVideo/decoders/d3d11va.cpp | 674 | // Native decoding should use 16 buffers to enable seamless codec changes | COMMENT |
| MEDIUM | decoder/LAVVideo/decoders/dxva2dec.cpp | 1030 | // Native decoding should use 16 buffers to enable seamless codec changes | COMMENT |
| Severity | File | Line | Snippet | Context |
|---|---|---|---|---|
| LOW | thirdparty/32/include/nettle/dsa-compat.h | 102 | * When done with the key and signature, don't forget to call | COMMENT |
| LOW | thirdparty/32/include/nettle/rsa.h | 173 | * When done with the key and signature, don't forget to call | COMMENT |
| LOW | thirdparty/64/include/nettle/dsa-compat.h | 102 | * When done with the key and signature, don't forget to call | COMMENT |
| LOW | thirdparty/64/include/nettle/rsa.h | 173 | * When done with the key and signature, don't forget to call | COMMENT |