tools: add very quick and dirty ts cleanup tool

This needs alot more work
tools/tsfix: support dumping packets

Signed-off-by: Michael Niedermayer <michaelni@gmx.at>
tools/tsfix: attempt to recover more data by comparing against the expected headers

This needs more work

Signed-off-by: Michael Niedermayer <michaelni@gmx.at>
tools: add tsalign tool to align ts packets

Signed-off-by: Michael Niedermayer <michaelni@gmx.at>
Add debug output for macroblock prediction direction
Fix incorrect TRACE debug message