Pass dimensions correctly to ffmpeg

ffmpeg man tells that they should be passed as "wxh".
Currently they are passed as "wxhxd" which produces a failure in FFmpeg 1.2