---
title: "get video size · RUAL Documentation"
description: "Returns the dimensions of the video given (MP4-family containers)."
canonical: https://docs.rual.nl/block-types/files/file_get_video_size
language: en
---

# get video size

This block is part of the [`files`](https://docs.rual.nl/block-types/files) group and was last modified in core [`v15.0.0`](https://docs.rual.nl/core-versions/150000).

Returns the dimensions of the video given (MP4-family containers).

- file required `file`

- height `number`

- width `number`

| `dimensions` |
| --- |
| `video` |

A typical wiring for [get video size](https://docs.rual.nl/block-types/files/file_get_video_size): the `height` out pin feeds [cast to value](https://docs.rual.nl/block-types/type%20casting/number_convert_to_value).

![Studio canvas example for the get video size block: typical wiring for get video size.](https://docs.rual.nl/canvas-examples/file_get_video_size.png)

### Version history

Introduced in [`v15.0.0`](https://docs.rual.nl/core-versions/150000).
