The Advanced Forensics File Format 4 (AFF4) is an open source format used for the storage of digital evidence and data.
It was originally designed and published in  and has since been standardised as the AFF4 Standard v1.0, which is available at https://github.com/aff4/Standard . This project is a work in progress implementation, providing two library implementations, C/C++ and Python.
What is currently supported.
The focus of this implementation at present is reading images conforming with the AFF4 Standard v1.0. Canonical images are provided in the AFF4 Reference Images github project at https://github.com/aff4/ReferenceImages
+ Reading ZipFile style volumes.
+ Reading AFF4 Image streams using the deflate or snappy compressor.
+ Reading RDF metadata using Turtle (and in some instances YAML for backwards compatibility).
Build and install the AFF4 library:
Install Dependencies Debian/Ubuntu Base System:
sudo apt-get install uuid-dev libraptor2-dev libtclap-dev libsnappy-dev libgoogle-glog-dev libpcre++-dev liburiparser-dev -y
git clone https://github.com/google/aff4 && cd aff4
BUILDING OS X
Install the following via macports
* tclap (missing *.pc file - place in /opt/local/lib/pkgconfig/)
Install the following manually as they aren't in macports
$ cd ~/git
$ git clone ssh://bastion/srv/git/aff4.git
$ cd aff4
$ git submodule update --init third_party/gtest
Ignore the error about tree reference.
$ cd third_party/gtest
$ git reset --hard
$ cd ../..
$ ./configure CC=clang CXX=clang++ CXXFLAGS="-std=c++11 -stdlib=libc++ -O2 -g0 -I/opt/local/include" LDFLAGS="-stdlib=libc++ -L/opt/local/lib"
For the manual installations, need to ensure they are installed in /opt/local. ("./configure --prefix=/opt/local")