This is the error I get in console: swScaler: pal8 is not supported as output pixel format [0xa0d7c30] swscale scale error: could not init SwScaler and/or allocate memory