ffmpeg使用libx264编码时,为何一直出现x264 [warning]: non-strictly-monotonic PTS?

来源:互联网 发布:萃妮缇 知乎 编辑:程序博客网 时间:2024/05/22 08:02
pFrame_h264->pts = i++;           这边的pts值要不停增加
/* encode the image */
ret = avcodec_encode_video2(pCodecCtx_h264, &pkt, pFrame_h264, &got_output);
0 0