memento memento is a library for extracting jpg thumbnails from h264 streams. It is written in swift and uses libavcodec to achieve this.