Fixing video encoding on test.