Add convenient Stream::getDimension method to extract video dimension.