eladg / ffmpeg-by-example

Creative Commons Attribution 4.0 International
8 stars 5 forks source link

Generate "Game of Life" Video using lavfi video source - FFmpeg By Example #48

Open eladg opened 2 years ago

eladg commented 2 years ago

https://www.ffmpegbyexample.com/examples/a4ge8hrb/generate_game_of_life_video_using_lavfi_video_source/

Conway's Game of Life, also known simply as Life, is a cellular automaton devised by the British mathematician John Horton Conway in 1970.

The following command will generate a random pattern and generate video frames for each 'Life' generation.

Notice that the command will generate a video file without a given input file. Read more about 'Video Sources on FFmpeg official documentation'