encoder settins set properly
multithreading the encoder seems to work
capture processed in a different thread now
Merge branch 'encoder'