Commit 22e22df3 authored by yanzg's avatar yanzg

视频转换

parent 3289df87
......@@ -243,6 +243,7 @@ public class MediaParameter extends BaseVo {
// 设置音频比特率
recorder.setAudioBitrate(this.getAudioBitRateFinally());
recorder.setAudioQuality(this.audioBitRateZip);
/*
recorder.setAudioCodec(this.audioCodec);
// 设置声道
......@@ -266,8 +267,8 @@ public class MediaParameter extends BaseVo {
// 设置视频比特率
recorder.setVideoBitrate(StringHelper.getFirst(this.getVideoBitRateFinally(), this.getAudioBitRateFinally()));
// 设置帧速率
recorder.setFrameRate(this.videoFrameRate);
// recorder.setVideoQuality(grabber.getVideoQu);
// recorder.setFrameRate(this.videoFrameRate);
recorder.setVideoQuality(this.videoBitRateZip);
}
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