Fix ffmpeg parameters for avi-x264 encoding. Enable lossy encoding mode.