Video ASCII Player 中文文档
- Clone the code
- Make sure you have installed Go and FFmpeg
- For China Users, you may need set the proxy goproxy.io
- Build the executable file
- Open terminal at the code folder, then run this script
go mod download go build
- Open terminal at the code folder, then run this script
- Convert Video to Image
- Open terminal at the code folder, then run this script
ffmpeg -i {Video path} {Image folder path}/%d.png
- Open terminal at the code folder, then run this script
- Running the program
- Parameters
-buffer int The Size of frame buffer [Recommended above 120] (default 120) -count int The Count of Frame Image [From 0 to Your setting] (default -1) -fps int Target FPS (default 30) -path string The Path of Stroage Video Every Frame Images -pool int Render Pool Size (default 16)
- For example: Images store at
C:/images/
, video frame rate is30
, the count of video frames is6300
. So you should run this script./VideoAsciiPlayer.exe -path=C:/images/ -count=6300 -fps=30
- Parameters