This visualizer is designed to play videos of .vzip format. It decompresses the .ppm frames and display them one by one once in lexicographical order.
- Python (version >= 3.6)
- zlib library
- Pygame (for display)
- Clone this repository to your local machine.
- Ensure you have Python language installed. You can download it from https://www.python.org/.
- Install the required dependencies in terminal: pip install pygame.
- Ensure you have zlib installed. You can download it from https://zlib.net/.
- Place [reference.vzip] file and
visualizer.py
in the same directory. - Open the terminal in said directory and run the visualizer script: python3 visualizer.py.
- The video will start displaying frame after frame in lexicographical order. After the last frame, the visualizer will exit.
visualizer.py
: The main script that loads and plays the vzip video.README.md
: This file, providing instructions for building and running the code.
- This simple visualizer implementation does not include controls for playing, stopping, rewinding and other control functions.
- You can edit the visualizer.py source code to play any .vzip file beside [reference.vzip] by replacing "reference" with your vzip file name.