派生自 projectDept/qhighschool

EricsHu
2022-12-05 068fc7f2e81178e55fa191a13709af64b1a163f6
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
62
63
64
65
66
67
68
69
70
71
72
73
74
75
76
77
78
79
80
81
82
83
84
85
86
87
88
89
90
91
92
package com.qxueyou.scc.media.model;
 
/**
 * 视频信息
 * @author ody.yuan
 *
 */
public class VideoInf {
 
    /** 格式  */
    String format;
 
    /** 文件大小 字节  */
    long size;
 
    /** 播放时长 微秒  */
    long duration;
 
    /** 高度  */
    int height;
 
    /**  宽度  */
    int width;
 
    float frameRate;
 
    int bitRate;
 
    public String getFormat() {
        return format;
    }
 
    public void setFormat(String format) {
        this.format = format;
    }
 
    public long getSize() {
        return size;
    }
 
    public void setSize(long size) {
        this.size = size;
    }
 
    public long getDuration() {
        return duration;
    }
 
    public void setDuration(long duration) {
        this.duration = duration;
    }
 
    public int getHeight() {
        return height;
    }
 
    public void setHeight(int height) {
        this.height = height;
    }
 
    public int getWidth() {
        return width;
    }
 
    public void setWidth(int width) {
        this.width = width;
    }
 
    public float getFrameRate() {
        return frameRate;
    }
 
    public void setFrameRate(float frameRate) {
        this.frameRate = frameRate;
    }
 
    public int getBitRate() {
        return bitRate;
    }
 
    public void setBitRate(int bitRate) {
        this.bitRate = bitRate;
    }
 
    public String toString() {
        return "format:" + format + "\n" + "size:" + size + "\n" + "duration:"
                + duration + "\n" + "height:" + height + "\n" + "width:"
                + width + "\n" + "frameRate:" + frameRate + "\n" + "bitRate:"
                + bitRate + "\n";
    }
 
}