HackTVLive

Tech Stack: Go

HackTVLive

HackTVLive is a Go application that captures live video from your webcam and transmits it as an NTSC analog television signal using a HackRF SDR device. It leverages FFmpeg for video capture and processing, and the go-hackrf library for interfacing with HackRF hardware.

Features

Command-Line Flags

You can experiment with the following flags to customize your transmission:

Example Usage

Linux:

./HackTVLive -freq 427.25 -bw 6 -gain 40 -device /dev/video0 -callsign N0CALL

Experimentation

HackTVLive is designed for experimentation:

If you omit -device, the application will try to use a reasonable default for your platform.

How It Works

  1. Video Capture: FFmpeg grabs raw RGB video frames from your webcam and optionally overlays your callsign.
  2. NTSC Generation: The Go code converts the video frames into NTSC signal format, including all sync pulses and color encoding.
  3. RF Transmission: The NTSC signal is sent to the HackRF, which transmits it at the specified frequency and bandwidth.

Finding Your Video Device

To list available webcams:

Safety & Legal Notice

Transmitting on TV frequencies may be illegal in your country without a license. HackTVLive is intended for educational and experimental use only. Always operate within your local laws and regulations.

Troubleshooting

Contributions

Pull requests and issues are welcome! See go-hackrf for hardware support.