Bugfix for visualiser not being enabled, and deprecated use of the libavcodec API
Bugfix for video encoding