vpx use webrtc parameter

Signed-off-by: 21pages <pages21@163.com>
This commit is contained in:
21pages
2023-05-22 17:14:46 +08:00
parent 79a5c5a69d
commit d23fd902d7
5 changed files with 377 additions and 88 deletions

View File

@@ -101,10 +101,8 @@ fn main() -> io::Result<()> {
let mut vpx = vpx_encode::VpxEncoder::new(EncoderCfg::VPX(vpx_encode::VpxEncoderConfig {
width,
height,
timebase: [1, 1000],
bitrate: args.flag_bv,
codec: vpx_codec,
num_threads: 0,
}))
.unwrap();