Converts any file into images with bytes as pixel values. And, packs those images into a video.
Used python libraries: numpy, cv2
To intall use:
pip install opencv-python numpy
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.