[PATCH olpc-bootanim 0/2] add tool to convert deltas back to individual images

Sascha Silbe silbe at activitycentral.com
Mon Mar 28 13:01:30 EDT 2011


This is a one-shot tool (i.e. I needed it just once and am not really
interested in maintaining it), but maybe somebody else has some use for it in
the future...

Usage:
- put frame00.565 and deltas in current directory
- <wherever>/deltas/undelta.py
- for x in $(seq -f %02.f 1 25) ; do
    ffmpeg -vcodec rawvideo -f rawvideo -pix_fmt rgb565 -s 1200x900 -i frame"$x".565 -f image2 -vcodec png frame"$x".png
  done

(thanks to Mike Dawson for the ffmpeg invocation[1]!)

Sascha Silbe (2):
  .gitignore: only ignore the images/deltas file, not the deltas
    directory
  add undelta.py tool for splitting out individual images from deltas

 .gitignore        |    2 +-
 deltas/undelta.py |   51 +++++++++++++++++++++++++++++++++++++++++++++++++++
 2 files changed, 52 insertions(+), 1 deletions(-)
 create mode 100755 deltas/undelta.py

[1] http://wiki.laptop.org/go/Tweaking_the_boot_animation
--
1.7.4.1




More information about the Devel mailing list