001/*
002 * ModeShape (http://www.modeshape.org)
003 *
004 * Licensed under the Apache License, Version 2.0 (the "License");
005 * you may not use this file except in compliance with the License.
006 * You may obtain a copy of the License at
007 *
008 *       http://www.apache.org/licenses/LICENSE-2.0
009 *
010 * Unless required by applicable law or agreed to in writing, software
011 * distributed under the License is distributed on an "AS IS" BASIS,
012 * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
013 * See the License for the specific language governing permissions and
014 * limitations under the License.
015 */
016package org.modeshape.sequencer.video;
017
018import static org.modeshape.sequencer.video.VideoMetadataLexicon.Namespace.PREFIX;
019
020import org.modeshape.common.annotation.Immutable;
021
022
023/**
024 * A lexicon of names used within video sequencer.
025 * 
026 * @since 5.1
027 */
028@Immutable
029public class VideoMetadataLexicon {
030
031    public static class Namespace {
032        public static final String URI = "http://www.modeshape.org/video/1.0/";
033        public static final String PREFIX = "video";
034    }
035
036    public static final String METADATA_NODE = PREFIX + ":metadata";
037
038    public static final String DURATION = PREFIX + ":duration";
039    public static final String BITRATE = PREFIX + ":bitrate";
040    public static final String TITLE = PREFIX + ":title";
041    public static final String COMMENT = PREFIX + ":comment";
042    public static final String ENCODER = PREFIX + ":encoder";
043
044    public static final String STREAM_NODE = PREFIX + ":stream";
045
046    public static final String STREAM_TYPE = PREFIX + ":streamType";
047    public static final String CODEC = PREFIX + ":codec";
048    public static final String FRAMERATE = PREFIX + ":framerate";
049    public static final String SAMPLERATE = PREFIX + ":samplerate";
050    public static final String CHANNELS = PREFIX + ":channels";
051    public static final String WIDTH = PREFIX + ":width";
052    public static final String HEIGHT = PREFIX + ":height";
053}