We are about to switch to a new forum software. Until then we have removed the registration on this forum.
Hi,
I am trying to playback 1080p video in Processing and using the Loop sample from the video library looks a bit choppy. What's the best way to playback 1080p video smoothly in Processing on Linux 64bit ?
I'm using Processing 3.0.2 64bit and the Linux Mint info is this:
RELEASE=17.3
CODENAME=rosa
EDITION="Cinnamon 64-bit"
DESCRIPTION="Linux Mint 17.3 Rosa"
DESKTOP=Gnome
TOOLKIT=GTK
NEW_FEATURES_URL=http://www.linuxmint.com/rel_rosa_cinnamon_whatsnew.php
RELEASE_NOTES_URL=http://www.linuxmint.com/rel_rosa_cinnamon.php
USER_GUIDE_URL=help:linuxmint
GRUB_TITLE=Linux Mint 17.3 Cinnamon 64-bit
Thank you, George
Answers
https://forum.Processing.org/two/discussion/14990/movie-begin-and-end-events
I apologise, I don't think I was clear. What I would like to know is how to playback 1080p video without frame tearing/lagging.
As in the example I've posted above, background() or set() to display images is fastest under renderer JAVA2D. You may also try out newest P3's renderer FX2D.
Thank you !
background()
andset()
are faster than image. Background has the caveat that the movie dimensions must match the sketch dimensions.On Linux Mint FX2D could play back nicely (and maintain a constant frame rate). Other renderers would show tearing. Using Windows on a computer with the same configuration showed better results with JAVA2D.