Add window manager as a workaround to FFmpeg test error
Fix integration tests for 1.8.7 and old FFmpeg