-
Notifications
You must be signed in to change notification settings - Fork 19
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
NoSuchFieldError: frame error - On alpha processing versions #68
Comments
Thank you for the detailed report. I worked on an update but it's not finished and didn't take the source with me. Will only get access to it in 2 weeks. I wonder if someone would like to adopt this project or at least help with the code. I should ask in the forum. |
Thanks, I realized that the dialog is shown when FFMEPG is not set, so I set it using v3.X and then I opened processing in version v4. This time I got another error, but I guess that's progress haha I could help into looking at the recent breaking changes so the library works again in v4.0.0. I'll post my findings I'm actually currently using your |
The following code works:
Therefore I think I could replace
with
I will try that. |
Did that fix work on your testings ? I know you're busy trying to rewrite the whole library in Kotlin (and probably other things ^^ ). |
Hii :) I'm very sorry about taking forever... I work on it like twice a year XD I just pushed this new branch: https://github.com/hamoid/video_export_processing/tree/kotlinGradle with some instructions. I quickly tested it in Processing 3 and 4 and it worked. I hope it can help someone! Cheers! :) |
For anyone trying to make the Video Export library work today on processing4 and avoid the
|
aha, you replied 10 second before I share my hack. Thank you for this. |
:-) I just added a jar to test, in case someone for some strange reason doesn't want to build it themselves XD |
Newer processing releases have dropped the use of PApplet's frame. Trying to export a video using any of the examples now shows this message
NoSuchFieldError: frame
The change was introduced in this version: https://github.com/processing/processing4/releases/tag/processing-1271-4.0a2 so any version before that should be fine. The release notes mention
remove the java.awt.Frame object from PApplet
but I cant find the commit yet (i'll update here when I found it)Seems that
.frame
is used once here: https://github.com/hamoid/video_export_processing/blob/master/src/com/hamoid/VideoExport.java#L486 could it be that removing that reference makes the library work again in newer versions?More info about the removal of frame:
processing/processing4#54
Processing 3.x works fine
The text was updated successfully, but these errors were encountered: