Implements #218 red blue swap
When encoding HEVC or H264 video, swap from OpenCV BGR to RGB first and unswap when decoding. This also works for older versions where the swapping was not done by using a flag.
Also allow codecs to be specified manually in a config file.