[RFC] FFmpeg issue tracker statistics: cross-tracker analysis (Trac + Forgejo)

Summary
=======

Snapshot of the FFmpeg bug trackers taken on 2026-11-19. FFmpeg currently runs 
two
issue trackers in parallel and there is no single place giving a cross-tracker
view of the open backlog:

  * Trac (trac.ffmpeg.org): historical tracker, tickets from 2013 onwards.
  * Forgejo (code.ffmpeg.org/FFmpeg/FFmpeg/issues): activated around mid-2025.

Data sources and method
=======================

Forgejo: full enumeration via REST API
  GET /api/v1/repos/FFmpeg/FFmpeg/issues?state={open,closed}&limit=50&page=N
  The endpoint mixes issues and pull requests; I filtered on the
  "pull_request" key. The server silently caps limit at 50 regardless of the
  requested value, so pagination must follow Link headers / empty pages.

  Result: 5780 API items -> 839 real issues (4941 pull requests filtered out) 
(340 open, 499 closed), numbered
  20016-26199.

Trac: seven historical tickets were triaged individually in this exercise
  (#6065, #5764, #2421, #5970, #11091, #11667, #11228). This is a sample,
  NOT a full Trac enumeration -- see Limitations.

Forgejo statistics
==================

Component (label preferred, title keyword fallback):

  component                 total    open
  -----------------------------------------
  unclassified/other       339   142
  avformat                 167    61
  avcodec                  136    51
  avfilter                 107    52
  swscale                   32    11
  build/config              28    10
  CLI                       10     5
  avutil                     7     3
  CLI/fftools                7     4
  doc                        3     0
  avdevice                   2     1
  swresample                 1     0

  avformat + avcodec + avfilter together account for ~49% of all issues.
  The "unclassified" bucket is mostly fuzz reports, build/test issues and
  feature requests that name no component in the title.

Nature (regression label/title first, then keyword buckets):

  nature                    total    open
  -----------------------------------------
  bug/other                471   157
  regression               159    89
  resolved (closed)         74    21
  feature/enhancement       67    60
  crash/memory-safety       42    10
  build/config              22     2
  memory-leak                4     1

  21 open issues still carry resolution/* labels (mostly
  resolution/external), most likely stale labels on reopened tickets.
  One title-based false positive was removed by hand: #22966
  "Add LDAC decoder now that its code is leaked" -- "leaked" there means
  source availability, not a memory leak.

Reproduction status labels:

  repro/yes       315   (37.5% of all issues)
  repro/no(env)    47
  repro/no          5
  repro/flaky       3

Open crash / memory-safety issues (11, after the correction above):

  26019  hwcontext_vulkan: hwdownload of VAAPI frames mapped to Vulkan uses 
host image co
  24891  vf_convolution: float-to-int overflow (UB) in filter_column and the 
other non-SI
  22964  Heap buffer overflow in filter_frame() of vf_histogram due to 
unchecked write of
  22962  Integer overflow in filter_frame leading to heap out-of-bounds write 
in drawgrap
  22778  [release/5.0] Backport request: heap-buffer-overflow in 
libavfilter/af_stereowid
  22776  [release/5.0, release/6.0] Backport request: memory leak in 
libavutil/mem.c
  22762  [release/6.1] Backport request: heap-buffer-overflow in 
libavfilter/af_dialoguen
  21674  ffplay: Derive vaapi from vulkan not supported segfaults.
  21489  Integer Overflow in ff_jpegxl_collect_codestream_header()
  21326  [AMF] amfrtdrv64.dll is dlclosed before all frames are released, 
resulting in us
  20309  FFMpeg crashes or segfaults internally with this corrupted mpeg 
video.... but on

Three of these are backport requests for released branches.

Most-discussed open issues (comments as activity proxy):

  20191   34  cuda sdk 13.0.0 has removed nppiYCbCr420_8u_P2P3R 
nppiResizeSqrPixel_8
  20470   24  mpv: d3d12va-copy can't play official 4K HDR mkv movie rip but 
will pl
  23845   23  New AAC encoder issues and tuning
  23941   22  ffmpeg returns a JPG tagged as BT601
  23835   20  deinterlace_qsv potential regression on 8.1+
  23138   17  libavformat: mov/caf: incorrect channel layout tag written for 
lossy c
  20270   16  5.1.7: tests fail
  23120   15  Artifacts when converting video hwaccel vulkan

The high-activity cluster is hardware acceleration (CUDA/D3D12/QSV/Vulkan),
colour tagging, and encoder quality.

Key observations
================

1. Two trackers, no merge. The seven Trac tickets triaged here date from
   2013-2025 and do not appear in the 839 Forgejo issues. Any global bug
   statistic must sum both sources; counting only one understates the backlog.

2. Regressions dominate the open set. 89 of 340 open Forgejo issues (26%)
   carry the regression label, more than feature requests (60 open).

3. Confirmed crash/memory-safety backlog. 11 open issues involve crashes,
   out-of-bounds accesses, integer overflows or memory leaks; 3 are backport
   requests for stable branches.

4. Reproduction metadata is underused but valuable. 315 issues are tagged
   repro/yes -- the strongest available signal of an actionable report.

Questions for the project
=========================

1. Are there official plans to merge or migrate the two trackers? If Trac is
   being retired, is there a timeline and a commitment to import historical
   tickets, including attachments?

2. For bug classification and "is this still open?" checks, which tracker is
   authoritative today? Contributors currently have to search both, with
   cross-references done manually.

3. Would the project accept a periodically refreshed cross-tracker statistic
   (e.g. a script plus a wiki page) as a community-maintained resource?

Limitations
===========

* Forgejo component/nature buckets are label-first, title-keyword fallback.
  About 40% of issues land in "unclassified" because their titles name no
  component; these are not excluded from totals, only from the table.
* Trac coverage is a 7-ticket sample from this exercise, not a full
  enumeration. A complete Trac count would need an API or RSS export; the
  web query endpoints were not reachable from my environment.
* Counts are a snapshot (2026-11-19) and will drift.

Reproduction artifacts
======================

Fetch scripts and issue data are in /tmp/ffissues_*.py and
/tmp/ffissues_all.json on the collection host; a written summary is at
/home/guo/audit-ffmpeg/forgejo-issues-classification-2026-11-18.md (baseline 
2026-11-18).

--
Signed-off-by: 郭哲安<[email protected]>

_______________________________________________
ffmpeg-devel mailing list -- [email protected]
To unsubscribe send an email to [email protected]

Reply via email to