# What codecs are supported by the Video library?

**URL:** <https://discourse.processing.org/t/what-codecs-are-supported-by-the-video-library/27442>\
**Category:** Libraries\
**Created:** [January 28, 2021, 7:29pm UTC](https://discourse.processing.org/t/what-codecs-are-supported-by-the-video-library/27442 "2021-01-28T19:29:56Z")\
**Posts on this page:** 1\
**Page:** 1

<div class="post-metadata">

**Author:** ![esc746](https://yyz2.discourse-cdn.com/flex036/user_avatar/discourse.processing.org/esc746/32/4258_2.png) [@esc746](https://discourse.processing.org/u/esc746)\
**Post date:** [January 28, 2021, 7:29pm UTC](https://discourse.processing.org/t/what-codecs-are-supported-by-the-video-library/27442/1 "2021-01-28T19:29:56Z")

</div>

Seems strange to me the documentation for the Video library doesn’t mention what codecs are supported. The first three files I have tried do not load.

Also: Which would be the optimal codec if I was to pre-process video?

Also: How can I determine the video resolution after opening the file?

Also: Is there a file size limit?
