@Override
    public void cleanup() {
        logger.log(Level.INFO, "removing processor");
        lastViewPort.removeProcessor(processor);
        app.setTimer(oldTimer);
        initialized = false;
        file = null;
        super.cleanup();
    }
Set the video image quality from 0(worst/smallest) to 1(best/largest).
@param quality the quality of the jpegs in the video stream (0.0 smallest file - 1.0 largest file)
jme3-android/src/main/java/com/jme3/app/state/VideoRecorderAppState.java