which version of videolan do you use actually? when i compiled 0.9.0 from source i had the same problem because of swscaler enabled in ffmpeg. i think the problem is related to the bug ticket #1043. i could get width and height working using ffmpeg without swscaler, i think the needed filters right ...