www in docker support
This commit is contained in:
parent
539a848e95
commit
c227fce036
2145 changed files with 399596 additions and 58 deletions
|
|
@ -0,0 +1,85 @@
|
|||
package org.jcodec.common;
|
||||
|
||||
import java.nio.ByteBuffer;
|
||||
|
||||
public class DemuxerTrackMeta {
|
||||
private TrackType type;
|
||||
|
||||
private Codec codec;
|
||||
|
||||
private double totalDuration;
|
||||
|
||||
private int[] seekFrames;
|
||||
|
||||
private int totalFrames;
|
||||
|
||||
private ByteBuffer codecPrivate;
|
||||
|
||||
private VideoCodecMeta videoCodecMeta;
|
||||
|
||||
private AudioCodecMeta audioCodecMeta;
|
||||
|
||||
private int index;
|
||||
|
||||
private Orientation orientation;
|
||||
|
||||
public enum Orientation {
|
||||
D_0, D_90, D_180, D_270;
|
||||
}
|
||||
|
||||
public DemuxerTrackMeta(TrackType type, Codec codec, double totalDuration, int[] seekFrames, int totalFrames, ByteBuffer codecPrivate, VideoCodecMeta videoCodecMeta, AudioCodecMeta audioCodecMeta) {
|
||||
this.type = type;
|
||||
this.codec = codec;
|
||||
this.totalDuration = totalDuration;
|
||||
this.seekFrames = seekFrames;
|
||||
this.totalFrames = totalFrames;
|
||||
this.codecPrivate = codecPrivate;
|
||||
this.videoCodecMeta = videoCodecMeta;
|
||||
this.audioCodecMeta = audioCodecMeta;
|
||||
this.orientation = Orientation.D_0;
|
||||
}
|
||||
|
||||
public TrackType getType() {
|
||||
return this.type;
|
||||
}
|
||||
|
||||
public Codec getCodec() {
|
||||
return this.codec;
|
||||
}
|
||||
|
||||
public double getTotalDuration() {
|
||||
return this.totalDuration;
|
||||
}
|
||||
|
||||
public int[] getSeekFrames() {
|
||||
return this.seekFrames;
|
||||
}
|
||||
|
||||
public int getTotalFrames() {
|
||||
return this.totalFrames;
|
||||
}
|
||||
|
||||
public int getIndex() {
|
||||
return this.index;
|
||||
}
|
||||
|
||||
public ByteBuffer getCodecPrivate() {
|
||||
return this.codecPrivate;
|
||||
}
|
||||
|
||||
public VideoCodecMeta getVideoCodecMeta() {
|
||||
return this.videoCodecMeta;
|
||||
}
|
||||
|
||||
public AudioCodecMeta getAudioCodecMeta() {
|
||||
return this.audioCodecMeta;
|
||||
}
|
||||
|
||||
public void setOrientation(Orientation orientation) {
|
||||
this.orientation = orientation;
|
||||
}
|
||||
|
||||
public Orientation getOrientation() {
|
||||
return this.orientation;
|
||||
}
|
||||
}
|
||||
Loading…
Add table
Add a link
Reference in a new issue