@Override
        public void initialize(RenderManager rm, ViewPort viewPort) {
            this.camera = viewPort.getCamera();
            this.width = camera.getWidth();
            this.height = camera.getHeight();
            this.renderManager = rm;
            this.isInitialized = true;
            if (freeItems == null) {
                freeItems = new LinkedBlockingQueue<WorkItem>();
                for (int i = 0; i < numCpus; i++) {
                    freeItems.add(new WorkItem(width, height));
                }
            }
        }
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-desktop/src/main/java/com/jme3/app/state/VideoRecorderAppState.java