|
@@ -75,6 +75,7 @@ public class MediaFileProcessor {
|
|
|
audioCodec = audioProps1.getCodecName();
|
|
audioCodec = audioProps1.getCodecName();
|
|
|
abitRate = audioProps1.getBitRate();
|
|
abitRate = audioProps1.getBitRate();
|
|
|
}
|
|
}
|
|
|
|
|
+ String formatName = mediaProps.getFormatName();
|
|
|
|
|
|
|
|
String objectId = videoFileId;
|
|
String objectId = videoFileId;
|
|
|
String objectName = objectMeta.getObjectName();
|
|
String objectName = objectMeta.getObjectName();
|
|
@@ -86,7 +87,7 @@ public class MediaFileProcessor {
|
|
|
String urlType = FileType.getVideoUrlType(absolutePath);
|
|
String urlType = FileType.getVideoUrlType(absolutePath);
|
|
|
LocalDateTime createTime = mediaProps.getCreateTime();
|
|
LocalDateTime createTime = mediaProps.getCreateTime();
|
|
|
|
|
|
|
|
- return new VideoInfo(videoFileId, objectId, videoCodec, vbitRate, audioCodec, abitRate,
|
|
|
|
|
|
|
+ return new VideoInfo(videoFileId, objectId, videoCodec, vbitRate, audioCodec, abitRate, formatName,
|
|
|
urlType, objectName, quality, width, height, duration, createTime);
|
|
urlType, objectName, quality, width, height, duration, createTime);
|
|
|
}
|
|
}
|
|
|
|
|
|