All Downloads are FREE. Search and download functionalities are using the official Maven repository.

org.monte.media.FormatKeys Maven / Gradle / Ivy

The newest version!

package org.monte.media;

import org.monte.media.math.Rational;


public class FormatKeys {
     public static enum MediaType {
        AUDIO,
        VIDEO,
        MIDI,
        TEXT,
        META,
        FILE
    }

    public final static FormatKey MediaTypeKey = new FormatKey("mediaType", MediaType.class);

    public final static FormatKey EncodingKey = new FormatKey("encoding", String.class);


    public final static String MIME_AVI = "video/avi";
    public final static String MIME_QUICKTIME = "video/quicktime";
    public final static String MIME_MP4 = "video/mp4";
    public final static String MIME_JAVA = "Java";
    public final static String MIME_ANIM = "x-iff/anim";
    public final static String MIME_IMAGE_SEQUENCE = "ImageSequence";

    public final static FormatKey MimeTypeKey = new FormatKey("mimeType", String.class);

    public final static FormatKey FrameRateKey = new FormatKey("frameRate", Rational.class);


    public final static FormatKey KeyFrameIntervalKey = new FormatKey("keyFrameInterval", Integer.class);
}




© 2015 - 2025 Weber Informatics LLC | Privacy Policy