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.
27 lines
495 B
27 lines
495 B
package com.frank.ffmpeg.model
|
|
|
|
/**
|
|
* the model of media data
|
|
* Created by frank on 2020/1/7.
|
|
*/
|
|
class MediaBean {
|
|
|
|
var videoBean: VideoBean? = null
|
|
|
|
var audioBean: AudioBean? = null
|
|
|
|
// "duration": "313.330000"
|
|
var duration: Long = 0
|
|
|
|
// "size": "22160429"
|
|
var size: Long = 0
|
|
|
|
// "bit_rate": "565804"
|
|
var bitRate: Int = 0
|
|
|
|
// "format_name": "mov,mp4,m4a,3gp,3g2,mj2"
|
|
var formatName: String? = null
|
|
|
|
// "nb_streams": 2
|
|
var streamNum: Int = 0
|
|
}
|
|
|