Closed lion117 closed 1 year ago
Hello, i can not Chinese, but i will answer as much as i understood from google translate.
1) What kind of video format are you using. Mp4 is just a container, i need to know the actual encoding format. If you are using mpeg1, mpeg2 or even mpeg4, mpp has known issues with calculating the PTS and has been recently fixed in https://github.com/rockchip-linux/mpp/commit/62922f3cc1b416e1a9444e75759bd8d8dd2340e1 and https://github.com/rockchip-linux/mpp/commit/ae444a6cb5cde1116ea523ed31b0e5cc13a0b536, so i would suggest to verify which version of mpp you are using.
2) If you could upload the source video file to some place, i can check myself when i have time. Currently i burned my SSD in rock5b so do not have the environment, may be next week i can give a look.
no update provded closing, feel free to reopen.
测试背景1
异常情况
player->vcodec_context->delay = 0; // 禁止内部缓冲 avcodec_decode_video2(player->vcodec_context, &player->vframe, &gotvideo, packet);