init version of encoder. h264 included.