Have you tried without using the hardware encoder?
Other possible solutions can be found in this post.