code: void init() throws V4L4JException{
  		try {
  			super.init();
  			setJPGQuality(quality);
  		} catch (ImageFormatException ife){
  			if(format == -1){
  				String msg ="v4l4j was unable to find image format supported by"
  					+ "the \nvideo device and that can be encoded in JPEG.\n"
  					+ "Please let the author know about this, so that support\n"
  					+ "for this video device can be improved. See \nREADME file"
  					+ " on how to submit v4l4j reports.";
  				System.out.println(msg);
  				ife = new ImageFormatException(msg);
  			}
  			
  			throw ife;
  		}
  	}
docs: This method initialises the capture, and apply the capture parameters.
  V4L may either adjust the height and width parameters to the closest
  valid values or reject them altogether. If the values were adjusted, they
  can be retrieved after calling {@link #init()} using {@link #getWidth()}
  and {@link #getHeight()}
  @throws VideoStandardException if the chosen video standard is not
  supported
  @throws ImageFormatException this exception is thrown if the chosen image
  format cannot be JPEG encoded. If no image format was chosen, the video
  device does not have any image formats that can be jpeg encoded
  (let the author know, see README file)
  @throws CaptureChannelException if the given channel number value is not
  valid
  @throws ImageDimensionException if the given image dimensions are not
  supported
  @throws InitialisationException if the video device file can not be
  initialised
  @throws StateException if the frame grabber is already initialised
  or released
  @throws V4L4JException if there is an error applying capture parameters