data2vid is a proof-of-concept (PoC) Go module that demonstrates a novel approach to steganography: encoding arbitrary data files (PDF, JPEG, ZIP, TXT, etc.) directly into MP4 video streams (as black & white noise), and decoding them back to their exact original form.
The tool works by converting raw binary data directly into mp4 video black & white frames.
Ffmpeg standard CLI should be installed on the user OS => https://ffmpeg.org/
Go 1.20+ (for building from source)
1- Building the binary
go build -o data2vid2- Encoding a data file into an mp4
./data2vid encode files_test/6mb.pdf -o 6mb.mp43- Decoding the original data from the mp4
./data2vid decode 6mb.mp4 -o original.pdf🔒 Fixed Parameters:
- Framerate 1 FPS
- Codec libx264 H.264 video encoding
- Preset ultrafast Encoding speed/quality tradeoff
- Pixel Format yuv420p Widely compatible color space
📏 Adjustable (via config.yaml):
- Frame Width -> Default: 1280 Pixels
- Frame Height -> Default: 720 Pixels