Basic encoding and decoding with h264 files.