Commit 3289df87 authored by yanzg's avatar yanzg

视频转换

parent 94168ec4
...@@ -266,9 +266,8 @@ public class MediaParameter extends BaseVo { ...@@ -266,9 +266,8 @@ public class MediaParameter extends BaseVo {
// 设置视频比特率 // 设置视频比特率
recorder.setVideoBitrate(StringHelper.getFirst(this.getVideoBitRateFinally(), this.getAudioBitRateFinally())); recorder.setVideoBitrate(StringHelper.getFirst(this.getVideoBitRateFinally(), this.getAudioBitRateFinally()));
// 设置帧速率 // 设置帧速率
recorder.setVideoQuality(this.videoFrameRate); recorder.setFrameRate(this.videoFrameRate);
// 帧长度 // recorder.setVideoQuality(grabber.getVideoQu);
recorder.setTimestamp(grabber.getTimestamp());
} }
public void initZipMp4() { public void initZipMp4() {
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment