Decode sparse video keyframes, reconstruct smooth seek previews with 2D FFT spatial blur and 1D FFT temporal interpolation, entirely on the client-side. Includes both an MP4 keyframe demo and a WebRTC loopback demo for sparse preview streaming.
Inspired by kyndinfo's article on Fourier Series
Using MP4Box for MP4 demuxing
Preview (blurred)
Frequency Spectrum
Ground truth (original video)
Reference only. Reconstruction uses sparse keyframes and generates in-between preview frames.
Send sparse keyframes through a local DataChannel, then reconstruct smooth seek previews on the receiver with the same FFT blur and temporal interpolation pipeline.
Sent: 0 keyframes (0.0 KB) → Generated: 0 frames | Savings: 0.0% frames skipped
Blurred preview thumbnails. Red borders mark transmitted keyframes.
Once streaming is complete, this seek bar also controls the ground truth view so you can compare both at the same time.
Selected Preview