drivers/media/pci/tw5864

Techwell/Intersil TW5864 H.264 video capture and encoding cards

PCIe video capture and H.264 encoder cards built around the Techwell (later Intersil, now Renesas) TW5864 chip, mainly used in analog CCTV digital video recorders and surveillance capture boards such as Bluecherry's mid-2010s PCIe x1 cards. The chip handles four-channel composite video and audio capture with hardware H.264 compression aimed at legacy DVR appliances.

keep-annotate conf=0.72 last_sold=2016 deploy=low replacement=none subsystem=media category=media-camera-tv
72%

recommendation

Worth keeping but documenting its niche: the TW5864 silicon is now marked obsolete by Renesas and DigiKey and the cards stopped being widely available around 2016, so this almost exclusively serves legacy surveillance and DVR installations still running. The driver was reverse-engineered with limited vendor help and even acknowledges video-quality quirks, but it still receives light upstream maintenance (most recent substantive commit in April 2025) and there is no alternate in-tree driver for the same boards, so removal would orphan working hardware.

repository signals

8 files
4,466 source lines
12 commits, 5y
+64 / −79 lines added / removed, 5y
11 authors, 5y
monthly commits · 2021-04-21 → 2026-04-21 · 12 total · active in 10/61 months
2021 2022 2023 2024 2025 2026 2021-04: 0 commits · +0 −0 2021-05: 0 commits · +0 −0 2021-06: 2 commits · +32 −32 2021-07: 0 commits · +0 −0 2021-08: 1 commit · +1 −1 2021-09: 0 commits · +0 −0 2021-10: 2 commits · +2 −3 2021-11: 0 commits · +0 −0 2021-12: 0 commits · +0 −0 2022-01: 1 commit · +0 −1 2022-02: 0 commits · +0 −0 2022-03: 1 commit · +1 −1 2022-04: 0 commits · +0 −0 2022-05: 1 commit · +7 −23 2022-06: 0 commits · +0 −0 2022-07: 0 commits · +0 −0 2022-08: 0 commits · +0 −0 2022-09: 0 commits · +0 −0 2022-10: 0 commits · +0 −0 2022-11: 0 commits · +0 −0 2022-12: 0 commits · +0 −0 2023-01: 0 commits · +0 −0 2023-02: 0 commits · +0 −0 2023-03: 0 commits · +0 −0 2023-04: 0 commits · +0 −0 2023-05: 0 commits · +0 −0 2023-06: 0 commits · +0 −0 2023-07: 0 commits · +0 −0 2023-08: 0 commits · +0 −0 2023-09: 0 commits · +0 −0 2023-10: 0 commits · +0 −0 2023-11: 0 commits · +0 −0 2023-12: 1 commit · +1 −1 2024-01: 0 commits · +0 −0 2024-02: 0 commits · +0 −0 2024-03: 0 commits · +0 −0 2024-04: 0 commits · +0 −0 2024-05: 0 commits · +0 −0 2024-06: 1 commit · +12 −10 2024-07: 0 commits · +0 −0 2024-08: 0 commits · +0 −0 2024-09: 0 commits · +0 −0 2024-10: 1 commit · +0 −2 2024-11: 0 commits · +0 −0 2024-12: 0 commits · +0 −0 2025-01: 0 commits · +0 −0 2025-02: 0 commits · +0 −0 2025-03: 0 commits · +0 −0 2025-04: 1 commit · +8 −5 2025-05: 0 commits · +0 −0 2025-06: 0 commits · +0 −0 2025-07: 0 commits · +0 −0 2025-08: 0 commits · +0 −0 2025-09: 0 commits · +0 −0 2025-10: 0 commits · +0 −0 2025-11: 0 commits · +0 −0 2025-12: 0 commits · +0 −0 2026-01: 0 commits · +0 −0 2026-02: 0 commits · +0 −0 2026-03: 0 commits · +0 −0 2026-04: 0 commits · +0 −0

sources

  1. git.kernel.org

    Kernel Kconfig identifies this as the 'Techwell TW5864 video/audio grabber and encoder' driver for PCI multimedia capture/encoding hardware.

  2. git.kernel.org

    Driver source says it was reverse-engineered for tw5864-based multimedia capture/encoding devices and documents known video-quality issues and limited vendor help.

  3. renesas.com

    Renesas lists TW5864B1 as 'Obsolete' and describes it as an analog-security/DVR-oriented H.264 encoder/decoder part.

  4. digikey.com

    DigiKey marks TW5864B-BB1-CR obsolete and no longer manufactured.

  5. bluecherrydvr.com

    Bluecherry marketed TW5864-based PCIe H.264 capture cards in the mid-2010s, indicating the driver targets legacy surveillance capture boards rather than current mainstream hardware.

  6. cateee.net

    LKDDb shows ongoing kernel support for PCI ID 1797:5864 and CONFIG_VIDEO_TW5864 in modern kernels.

codex reasoning notes (technical)

Real driver, confirmed locally by shell (`rg`, `sed`) from Kconfig and `module_pci_driver` in `tw5864-core.c`. Lore grounding: `lore_file_timeline` on `drivers/media/pci/tw5864` returned 0 indexed events and no removal thread signal; combined with the provided static metadata (10 substantive commits in 5y, last substantive touch 2025-04-25) this looks maintained at low level, not abandoned enough for deprecation. URLs used: kernel.org tree URLs by canonical recall for files inspected locally; Renesas, DigiKey, Bluecherry, and LKDDb URLs obtained via web search snippets. `last_widely_available_year=2016` is an inference from the chip's 2012-era positioning, Bluecherry's mid-2010s product page, and present-day obsolete status. Recommendation is `keep-annotate`: hardware is obsolete and likely limited to legacy surveillance/DVR installations, but upstream still carries and lightly maintains the driver, and there is no natural in-tree replacement for the same boards.