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
018/**
019 * Java class representing metadata within video or audio stream.
020 * 
021 * @since 5.1
022 */
023public class StreamMetadata {
024
025    private String streamType;
026    private String codec;
027    private Integer bitrate;
028    private Double framerate;
029    private Integer samplerate;
030    private Integer channels;
031    private Integer width;
032    private Integer height;
033
034
035    public String getStreamType() {
036        return streamType;
037    }
038
039    public String getCodec() {
040        return codec;
041    }
042
043    public Integer getBitrate() {
044        return bitrate;
045    }
046
047    public Double getFramerate() {
048        return framerate;
049    }
050
051    public Integer getSamplerate() {
052        return samplerate;
053    }
054
055    public Integer getChannels() {
056        return channels;
057    }
058
059    public Integer getWidth() {
060        return width;
061    }
062
063    public Integer getHeight() {
064        return height;
065    }
066
067    public void setStreamType(String streamType) {
068        this.streamType = streamType;
069    }
070
071    public void setCodec(String codec) {
072        this.codec = codec;
073    }
074
075    public void setBitrate(Integer bitrate) {
076        this.bitrate = bitrate;
077    }
078
079    public void setFramerate(Double framerate) {
080        this.framerate = framerate;
081    }
082
083    public void setSamplerate(Integer samplerate) {
084        this.samplerate = samplerate;
085    }
086
087    public void setChannels(Integer channels) {
088        this.channels = channels;
089    }
090
091    public void setWidth(Integer width) {
092        this.width = width;
093    }
094
095    public void setHeight(Integer height) {
096        this.height = height;
097    }
098}