A Bash script to render video files into ASCII art using jp2a
, ffmpeg
, and ImageMagick
.
- Extracts frames from a video and converts them to ASCII art.
- Reassembles the ASCII art frames back into a video.
- Supports audio extraction and inclusion in the output video.
ffmpeg
jp2a
ImageMagick
./vid2ascii.sh [options] <video_file>
-h, --help
Show help message and exit.-o, --output FILE
Specify output video file name (default:ascii_video.mp4
).
./vid2ascii.sh -o output.mp4 input.mp4 # Render 'input.mp4' and save as 'output.mp4'.
./vid2ascii.sh input.mp4 # Render 'input.mp4' and save as 'ascii_video.mp4'.