【命令行】
simple_encoder 1280 720 basketball.yuv test.vpx
simple_decoder test.vpx test.yuv
【調試跟踪】
simple_encoder.c
main
if(vpx_codec_encode(&codec, frame_avail? &raw : NULL, frame_cnt, 1, flags, VPX_DL_REALTIME))
vpx_encoder.c
vpx_codec_err_t vpx_codec_encode(vpx_codec_ctx_t *ctx, const vpx_p_w_picpath_t *img,
vpx_codec_pts_t pts,
unsigned long duration,
vpx_enc_frame_flags_t flags,
unsigned long deadline)
转载于:https://blog.51cto.com/minounou/1315570