Class MjpegFileWriter

java.lang.Object
com.jme3.app.state.MjpegFileWriter

public class MjpegFileWriter extends Object
Released under BSD License
  • Constructor Details Link icon

    • MjpegFileWriter Link icon

      public MjpegFileWriter(File aviFile, int width, int height, double framerate) throws Exception
      Throws:
      Exception
    • MjpegFileWriter Link icon

      public MjpegFileWriter(File aviFile, int width, int height, double framerate, int numFrames) throws Exception
      Throws:
      Exception
  • Method Details Link icon

    • addImage Link icon

      public void addImage(android.graphics.Bitmap image) throws Exception
      Throws:
      Exception
    • addImage Link icon

      public void addImage(android.graphics.Bitmap image, float quality) throws Exception
      Throws:
      Exception
    • addImage Link icon

      public void addImage(byte[] imagedata) throws Exception
      Throws:
      Exception
    • finishAVI Link icon

      public void finishAVI() throws Exception
      Throws:
      Exception
    • swapInt Link icon

      public static int swapInt(int v)
    • swapShort Link icon

      public static short swapShort(short v)
    • intBytes Link icon

      public static byte[] intBytes(int i)
    • shortBytes Link icon

      public static byte[] shortBytes(short i)
    • writeImageToBytes Link icon

      public byte[] writeImageToBytes(android.graphics.Bitmap image, float quality) throws Exception
      Throws:
      Exception