Add method to set real time frame encoding
H264 greyscale sort of working
Fix formula typo
Colour I420 now working
Reorganise pixel format code
Colour I420 now working
Change default colour encoding and function params
Support different container formats