hamoid / video_export_processing

Processing library that interfaces with ffmpeg to export video files
http://funprogramming.org/VideoExport-for-Processing/
GNU General Public License v2.0
114 stars 18 forks source link

setAudioFileName() + setDebugging(false) crashes with NullPointerException on endMovie() #41

Closed ffd8 closed 6 years ago

ffd8 commented 7 years ago

First off, thaaankyou the new AudioViz workaround is amazing! Gives me perfectly synced 25fps w/ audio outputs. I do a 2–pass export (first I export a wav track, then the visuals after text analyses on it).

However, I ran into a craazy bug that threw me off for a few hours when I thought all was perfect.. for some reason, turning on setDebugging(false) kills videoExport's own endMovie() function with a NullPointerException – when combined with this AudioViz setAudioFileName() function.

Just managed to recreate it within your example 'withAudioViz', by adding that line videoExport.setDebugging(false);. The order didn't seem to matter and only stopped crashing once disabling setAudioFileName()

hamoid commented 7 years ago

Thank you, I'll look into it.