[*] 码率配置

This commit is contained in:
acgist
2023-08-26 10:12:00 +08:00
parent 54d8c04b8b
commit 7e4230c214
6 changed files with 29 additions and 22 deletions

View File

@@ -41,7 +41,7 @@ public class MediaVideoProperties {
@Schema(title = "格式", description = "格式", example = "VP8|VP9|H264|H265")
private Format format;
@Schema(title = "码率", description = "码率影响画质", example = "600|1200|1500|1800")
@Schema(title = "码率", description = "码率影响画质", example = "400|800|1200|1600")
private Integer bitrate;
@Schema(title = "帧率", description = "帧率影响流畅", example = "15|18|20|24|30|45")
private Integer frameRate;

View File

@@ -121,7 +121,7 @@ taoyao:
# 4KUD=UHD=4K
ud-video:
format: H264
bitrate: 1800
bitrate: 2000
frame-rate: 45
resolution: 4096*2160
# 2KQD=QHD=2K
@@ -139,13 +139,13 @@ taoyao:
# 高清视频HD=720P
hd-video:
format: H264
bitrate: 1000
bitrate: 800
frame-rate: 18
resolution: 1280*720
# 标清视频SD=480P
sd-video:
format: H264
bitrate: 800
bitrate: 400
frame-rate: 15
resolution: 720*480
# FFmpeg配置