Fix width & height video extraction to take aspect ratio into account