Skip to content

Latest commit

 

History

History
28 lines (20 loc) · 598 Bytes

README.md

File metadata and controls

28 lines (20 loc) · 598 Bytes

File to Video Converter

Converts any file into images with bytes as pixel values. And, packs those images into a video.

Requirements

Used python libraries: numpy, cv2

To intall use:

pip install opencv-python numpy

Usage

encoder.py

python encoder.py <input file> <output directory> <output width (optional)> <output height (optional)> <frame rate(optional)>

decoder.py

python decoder.py <input file> <output directory>

you can also use -h for help

Note: The output encoded file might be slightly larger.