Example of parsing a PaVE header
Start on parsing the video PaVE header
Start on dumping of h264 payload
Handle data as bytes rather than string.  This makes it work.