Watch
1
0
Fork
You've already forked cc-play
0
mirror of https://repo.dec05eba.com/cc-play synced 2026-11-03 02:45:59 +00:00
Display the video and play the audio of a capture card at low latency
  • C 98.7%
  • Meson 1.3%
Find a file
Repository files (latest commit first)
Filename Latest commit message Latest commit date
2026-04-17 05:59:12 +02:00
.gitignore Initialize project 2026-04-17 02:24:28 +02:00
audio.c Done 2026-04-17 03:32:31 +02:00
audio.h Done 2026-04-17 03:32:31 +02:00
LICENSE Initialize project 2026-04-17 02:24:28 +02:00
main.c Hide cursor after 2 seconds, wait for first video frame to be received or exit with an error 2026-04-17 05:59:12 +02:00
meson.build Done 2026-04-17 03:32:31 +02:00
README.md Update README with controls 2026-04-17 03:39:11 +02:00

cc-play

Play from a capture card. Displays the capture card image at the lowest possible latency and plays audio from the capture device to your audio output device.

This was an experiment in vibe coding. Claude Code wrote almost all of the code. The code has only been tested on AMD. I'm impressed with Claude, the code wouldn't have been much different if I wrote the code myself, except Claude was able to finish it all in a couple of minutes.

Usage example

Run with: cc-play /dev/video0

  • Press ESC to close the program
  • Press F to toggle fullscreen mode

Dependencies

glfw3, gl, egl, libpulse, linux-api-headers