diff --git a/README.md b/README.md index 696518e..c8310a3 100644 --- a/README.md +++ b/README.md @@ -141,6 +141,24 @@ shows a simple animation of a slowly beating heart on the first message, and a b ![M2 ishm](photos/m2ishm.gif) + ffmpeg -f lavfi -i 'cellauto=size=48x11:rate=10,setpts=10*PTS,format=monow,trim=end=123, tile=123x1' gfx/cellauto_123.png + ffmpeg -f lavfi -i 'cellauto=size=48x11:rate=10,setpts=10*PTS,format=monow,trim=end=123,reverse,tile=123x1' gfx/cellauto_123_reverse.png + ./led-badge-11x44.py -m 5 -s 8 :gfx/cellauto_123.png: + +demonstrates how to convert video into compatible animation using ffmpeg, and possibly reverse it. +(In this case, autogenerated animation of cellular automaton is used). +Maximum number of frames permitted by current code is 123. + +![LED Mini Board](photos/ffmpeg_cellauto.gif) + + yt-dlp https://www.youtube.com/watch?v=gkA4pRo9j0A + ffmpeg -i Doom\ 2\ in\ black\ \&\ white\ \[gkA4pRo9j0A\].webm -ss 17 -t 5.5 -an -filter:v "format=monow,crop=iw*9/20:y=ih*6/20:w=iw/10:h=ih*2/10,scale=h=48:w=11,transpose=dir=1,fps=21,tile=123x1" -y gfx/doom.png + ./led-badge-11x44.py -m 5 -s 8 :gfx/doom.png: + +plays a doom game video. + +![LED Mini Board](photos/doom.gif) + python3 ./led-badge-11x44.py --list-names prints the list of builtin icon names, including :happy: :happy2: :heart: :HEART: :heart2: :HEART2: :fablab: :bicycle: :bicycle_r: :owncloud: :: diff --git a/gfx/cellauto_123.png b/gfx/cellauto_123.png new file mode 100644 index 0000000..658f55f Binary files /dev/null and b/gfx/cellauto_123.png differ diff --git a/gfx/doom.png b/gfx/doom.png new file mode 100644 index 0000000..1c659da Binary files /dev/null and b/gfx/doom.png differ diff --git a/photos/doom.gif b/photos/doom.gif new file mode 100644 index 0000000..1688dd1 Binary files /dev/null and b/photos/doom.gif differ diff --git a/photos/ffmpeg_cellauto.gif b/photos/ffmpeg_cellauto.gif new file mode 100644 index 0000000..c086d0d Binary files /dev/null and b/photos/ffmpeg_cellauto.gif differ