Skip to content

szaionz/poker_animator

Repository files navigation

Texas Hold 'Em Animator

Animates games produced by the Texas Hold 'Em Simulator.

Usage

python3 renderer.py <json_log_file>

This renders the game into a series of frames in the frames directory as PNG files. The frames can then be converted into a video using ffmpeg:

ffmpeg -framerate 24 -i 'frames/img-%016d.png' -vf scale=1920:1080:flags=neighbor -c:v libx264 -profile:v baseline -level 3.0 -pix_fmt yuv420p output.mp4

Note: the passed framerate should be the same as TARGET_FRAMERATE in constants.py.

Example

Mon.06.Nov.2023.13.28.51.IST.mp4

Credits

About

Animates games produced by the Texas Hold 'Em Simulator

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

 
 
 

Contributors

Languages