I have to set the size for video output via the size of the image but some picture convert fail, so which size the libs support?