Add example of converting video with ffmpeg

pull/7/head
Andriy Utkin 8 months ago
parent ae7195e943
commit 4f4ac228d8
  1. 10
      README.md
  2. BIN
      gfx/cellauto_123.png
  3. BIN
      photos/ffmpeg_cellauto.gif

@ -141,6 +141,16 @@ shows a simple animation of a slowly beating heart on the first message, and a b
![M2 ishm](photos/m2ishm.gif) ![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)
python3 ./led-badge-11x44.py --list-names 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: :: prints the list of builtin icon names, including :happy: :happy2: :heart: :HEART: :heart2: :HEART2: :fablab: :bicycle: :bicycle_r: :owncloud: ::

Binary file not shown.

After

Width:  |  Height:  |  Size: 5.7 KiB

Binary file not shown.

After

Width:  |  Height:  |  Size: 3.2 MiB

Loading…
Cancel
Save