← All IP cores System · three cores, one stream

H.264 video over Ethernet, in FPGA logic

A camera in, a network stream out: 720p30 and 1080p30 H.264 from an AMD FPGA to VLC or ffplay on a PC.

Three IronKernel cores form the chain. IronCapture receives the MIPI CSI-2 camera, IronH264 encodes the frames, and RTLNet sends the MPEG transport stream over UDP. The chain runs on a Digilent Nexys Video (Artix-7) and a Zybo Z7-20 (Zynq-7000), with a prebuilt bitstream to try.

The brief is a three-page summary of this page. All documents · Pricing and licenses

Run the prebuilt demo on a Nexys Video

The image holds the whole chain with the firmware inside it. Nothing has to be built. A Digilent Nexys Video with its power supply, two micro-USB cables (PROG and UART), an Ethernet cable to a network with DHCP, and Vivado 2026.1 with its free license. The image loads into the FPGA only, so a power cycle removes it.

  1. Program. Load rtlnet_nexys_video.bit over JTAG with the Vivado Hardware Manager or the included program.ps1. The firmware is inside the bitstream.
  2. Connect. Open the UART port at 115200 baud, 8N1. show ip prints the address the board got from DHCP.
  3. Play. On the PC run ffplay -fflags nobuffer udp://@:5004, or open udp://@:5004 in VLC. Let UDP port 5004 through the PC firewall.
  4. Stream. On the console: enable, camera mode 1080p30, camera pattern all 4, encoder bitrate 8000, then stream h264 <PC address> 5004.
  5. Measure. show stream and show encoder print picture counts, bit rate and dropped pictures. stream stop ends the stream.

This build uses on-board test patterns, so it needs no camera. A High Profile timed demo for the same board is on the IronH264 High Profile page.

The chain, block by block

Each block is a separate IronKernel core with its own specification and license. Use one, or license the chain as a bundle.

StageCoreWhat it does
Camera inIronCaptureReceives two-lane MIPI CSI-2 RAW10, reconstructs color and writes packed YUYV frames to DDR through an AXI4 master, with no CPU in the pixel path. It also has a pattern generator for bring-up without a camera.
EncodeIronH264Reads the YUYV frame from DDR and writes an H.264 Constrained Baseline stream (I and P pictures, CAVLC, in-loop deblocking) back to memory as indexed Annex B NAL units.
Lower bit rate (option)IronH264 High ProfileA netlist extension to IronH264 that adds CABAC entropy coding and the 8 × 8 transform, for the same picture at a lower bit rate.
PacketizeFirmware or LinuxReads the encoded pictures, multiplexes MPEG-TS and sends UDP datagrams to port 5004.
Network outRTLNetEthernet MAC (RGMII or MII), ARP, ping, DHCP and UDP in FPGA logic, with a firewall in front of the processor.
Local display (option)IronVideoScans a framebuffer out of DDR to HDMI or an LCD while the stream runs.
Block diagram of the Nexys Video H.264 Baseline design: the IronCapture pattern source and video write DMA fill a frame buffer in DDR3, two IronH264 engines encode it, MicroBlaze V firmware multiplexes MPEG-TS, and the RTLNet protocol wrapper and RGMII MAC send it over Ethernet to VLC or ffplay on a PC.
Figure 1. The Nexys Video H.264 Baseline design, from the RTLNet specification. The pattern generator stands in for the camera input in this build.

Proven on two boards

Both results are recorded board measurements from the specifications. The two builds differ, and the differences are stated.

Digilent Nexys VideoDigilent Zybo Z7-20
FPGAAMD Artix-7 XC7A200T-1AMD Zynq-7000 XC7Z020-1
Video sourceIronCapture pattern generator (camera input tied off)Pcam 5C camera (OV5640) through IronCapture
EncoderTwo IronH264 engines at 90 MHz, one band eachOne IronH264 engine at 121.85 MHz
Processor and softwareMicroBlaze V firmware, lwIPDual Cortex-A9, IronForge Linux, ironforge-stream
EthernetRTLNet RGMII MAC, 1 Gb/sThe Zynq processor's own Gigabit Ethernet
1080p30 result18,002 pictures in a 10-minute soak, zero dropped, minimum PSNR 44.28 dB at QP 281,800 of 1,800 pictures encoded and decoded, 30.00 pictures/s, zero continuity errors
Bit rateRate control held 7.99–8.02 Mb/s at an 8 Mb/s target and 15.99–16.01 Mb/s at 16 Mb/s20.45 Mb/s H.264 and 21.02 Mb/s MPEG-TS for the measured scene at QP 28
720p3018.17 Mb/s at QP 28, zero pictures dropped120 of 120 camera frames captured
At the same timeARP, ping and DHCP answered in logic1080p60 HDMI output from DDR, zero underruns
A decoded 1080p frame from the Nexys Video H.264 stream: color bars, a moving checkerboard and a noise band.
Figure 2. A frame decoded from the Nexys Baseline stream at 1080p30, QP 28. The bars expose color or packing errors, the moving checkerboard exercises inter prediction, and the noise band raises the bit demand.

Documentation

The system brief summarizes this page. The specifications hold the full interface and measurement detail.

DocumentContentsOpen
H.264 video over Ethernet briefThe chain, both board results, the prebuilt demo and bundle pricingPDF
IronH264 specificationEncoder data path, DDR layout, registers, Linux reference, camera measurementsPDF
RTLNet specificationEthernet cores, firewall, throughput, and the Nexys H.264 Baseline and High Profile resultsPDF
IronCapture specificationCSI-2 receiver, image pipeline, DDR writer, registers, camera testsPDF
IronH264 High Profile specificationCABAC and 8 × 8 transform extension, tool sets, timed evaluationPDF
Zybo Z7-20 board briefThe camera-to-stream design under IronForge Linux, with 1080p60 HDMIPDF
ArticleStreaming H.264 over Ethernet from an FPGA. The blocks between a camera and a player on a PC, and what our Nexys Video and Zybo Z7-20 builds measured at 1080p30.Read

Pricing and licenses

One-time fees in USD per product/SKU. No royalties and no per-unit fees. Each bundle costs $6,000 less than its cores bought separately.

Evaluation

Free

Run the prebuilt bitstream, read the source, simulate and build prototypes that are not sold.

Open Products ship free when their complete design sources are published.

$0Free public updates Get the demo

Streaming bundle with High Profile

The streaming bundle plus the IronH264 High Profile netlist extension for your FPGA part.

Add IronVideo to either bundle for $1,500.

$30,000Per product/SKU; maintenance $5,000/year Contact Us

Every core uses the IronKernel source-available license model, the same one as the VITA 46.11 IPMC. Evaluation, research, teaching and personal use cost nothing. An Open Product ships free when its complete design sources are published and changes are offered back within 90 days. A product with private design sources needs a commercial license before it ships. Enterprise licensing for multiple products/SKUs is by quote: support@ironkernel.com. H.264 patent licensing for a shipped product is the licensee's responsibility. Single-core prices are on each core's page: IronH264, IronCapture, RTLNet, IronVideo.

Questions and answers

Which IronKernel cores make up H.264 video over Ethernet?

IronCapture receives the MIPI CSI-2 camera and writes YUYV frames to DDR. IronH264 encodes those frames to H.264 Constrained Baseline. RTLNet carries the MPEG transport stream over UDP on Ethernet. The streaming bundle licenses the three together.

What resolution and frame rate does the FPGA H.264 stream reach?

1920 × 1080 at 30 pictures per second and 1280 × 720 at 30 pictures per second. On the Zybo Z7-20, one encoder engine at 121.85 MHz delivered 30.00 pictures/s from a Pcam 5C camera at 1080p. On the Nexys Video, two engines at 90 MHz encoded 1080p30 for ten minutes with zero dropped pictures.

Does the H.264 encoder need a CPU?

Prediction, motion search, transform, quantization, entropy coding and reconstruction run in FPGA logic. A small processor (MicroBlaze V on the Nexys Video, a Cortex-A9 under Linux on the Zybo) supplies the parameter sets, packs the encoded pictures into MPEG-TS and sends them over UDP.

Which player shows the stream?

VLC and ffplay both play it. The board sends MPEG-TS over UDP to port 5004; open udp://@:5004 on the PC.

Is there a way to try it without buying a license?

Yes. The prebuilt Nexys Video bitstream on this page runs with no time limit, and evaluation use of the source costs nothing under the source-available license.

Put video on your network

Send your FPGA part, camera and target bit rate. We integrate the chain into your board design under a fixed-price contract.