# Is it Possible / Best Practices for 4k Video?

**URL:** <https://discourse.processing.org/t/is-it-possible-best-practices-for-4k-video/37700>\
**Category:** Libraries\
**Created:** [June 24, 2022, 6:39pm UTC](https://discourse.processing.org/t/is-it-possible-best-practices-for-4k-video/37700 "2022-06-24T18:39:58Z")\
**Posts on this page:** 2\
**Page:** 1

<div class="post-metadata">

**Author:** ![CaseyJ](https://yyz2.discourse-cdn.com/flex036/user_avatar/discourse.processing.org/caseyj/32/15118_2.png) [@CaseyJ](https://discourse.processing.org/u/CaseyJ)\
**Post date:** [June 24, 2022, 6:39pm UTC](https://discourse.processing.org/t/is-it-possible-best-practices-for-4k-video/37700/1 "2022-06-24T18:39:58Z")

</div>

I am looking to make a simple sketch that plays back 4k video (3840 x 2160) at 60 FPS.

I am familiar enough with video in Processing but am curious about any limitations or best practices when it comes to handling larger video resolutions and files.

For instance, is 4k (3840 x 2160) able to be properly displayed at 60 FPS? Sometimes when I run seemingly simple sketches the FPS counter goes below 60. I am on a maxed out 2015 15" MacBook Pro with all files on the SSD. Will be displaying on an external 4k monitor.

A further question would be on the programming side. Can I just display this in draw() or should I put the video through a PGraphics object to have it render properly?

Another question would be can Processing run a window that big? Or, do I maybe need to send the video out to another program like MadMapper (through Syphon or Spout) to properly display?

Either way I hope this could end up being a good example of a simple video player.

Thanks!

---

<div class="post-metadata">

**Author:** ![CaseyJ](https://yyz2.discourse-cdn.com/flex036/user_avatar/discourse.processing.org/caseyj/32/15118_2.png) [@CaseyJ](https://discourse.processing.org/u/CaseyJ)\
**Post date:** [July 11, 2022, 8:11pm UTC](https://discourse.processing.org/t/is-it-possible-best-practices-for-4k-video/37700/2 "2022-07-11T20:11:41Z")

</div>

Out of curiosity might it be a better route to go with something like Python instead of Processing?
