You can not select more than 25 topics
Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.
83 lines
1.5 KiB
83 lines
1.5 KiB
package com.frank.ffmpeg.model;
|
|
|
|
/**
|
|
* the model of media data
|
|
* Created by frank on 2020/1/7.
|
|
*/
|
|
public class MediaBean {
|
|
|
|
private VideoBean videoBean;
|
|
|
|
private AudioBean audioBean;
|
|
|
|
// "duration": "313.330000"
|
|
private long duration;
|
|
|
|
// "size": "22160429"
|
|
private long size;
|
|
|
|
// "bit_rate": "565804"
|
|
private int bitRate;
|
|
|
|
// "format_name": "mov,mp4,m4a,3gp,3g2,mj2"
|
|
private String formatName;
|
|
|
|
// "nb_streams": 2
|
|
private int streamNum;
|
|
|
|
public VideoBean getVideoBean() {
|
|
return videoBean;
|
|
}
|
|
|
|
public void setVideoBean(VideoBean videoBean) {
|
|
this.videoBean = videoBean;
|
|
}
|
|
|
|
public AudioBean getAudioBean() {
|
|
return audioBean;
|
|
}
|
|
|
|
public void setAudioBean(AudioBean audioBean) {
|
|
this.audioBean = audioBean;
|
|
}
|
|
|
|
public long getDuration() {
|
|
return duration;
|
|
}
|
|
|
|
public void setDuration(long duration) {
|
|
this.duration = duration;
|
|
}
|
|
|
|
public long getSize() {
|
|
return size;
|
|
}
|
|
|
|
public void setSize(long size) {
|
|
this.size = size;
|
|
}
|
|
|
|
public int getBitRate() {
|
|
return bitRate;
|
|
}
|
|
|
|
public void setBitRate(int bitRate) {
|
|
this.bitRate = bitRate;
|
|
}
|
|
|
|
public String getFormatName() {
|
|
return formatName;
|
|
}
|
|
|
|
public void setFormatName(String formatName) {
|
|
this.formatName = formatName;
|
|
}
|
|
|
|
public int getStreamNum() {
|
|
return streamNum;
|
|
}
|
|
|
|
public void setStreamNum(int streamNum) {
|
|
this.streamNum = streamNum;
|
|
}
|
|
}
|
|
|