rockchip-linux / mpp

Media Process Platform (MPP) module
598 stars 171 forks source link

请问rk3568的板子可以解码 h264的 422格式的视频数据吗?播放解码后输出的文件 为什么是花屏? #221

Open wangjl-william opened 3 years ago

wangjl-william commented 3 years ago

写文件的命令:mpi_dec_test -i desktop-1920-1080-i422.h264 -t 7 -o 422.yuv,播放yuv数据花屏。 以下是mpi_dec_test 执行的详细信息:

linaro@linaro-alip:~/Hello_Triangle$ mpi_dec_test -d 1 -i desktop-1920-1080-i422.h264 -t 7 -o 422.yuv -n 10 mpp[5376]: mpi_dec_test: cmd parse result: mpp[5376]: mpi_dec_test: input file name: desktop-1920-1080-i422.h264 mpp[5376]: mpi_dec_test: output file name: 422.yuv mpp[5376]: mpi_dec_test: config file name: mpp[5376]: mpi_dec_test: width : 0 mpp[5376]: mpi_dec_test: height : 0 mpp[5376]: mpi_dec_test: type : 7 mpp[5376]: mpi_dec_test: debug flag : 1 mpp[5376]: mpi_dec_test: max frames : 10 mpp[5376]: mpi_dec_test: mpi_dec_test start mpp[5376]: mpi_dec_test: input file size 1362983 mpp[5376]: mpi: mpp_create enter ctx 0x7ff8985ad0 mpi 0x7ff8985ad8 mpp[5376]: mpp_info: mpp version: 41c9c809 author: sayon.chen 2020-12-24 [mpp2str]: Add rc_gop_mode 2 str mpp[5376]: mpi: mpp_create leave ret 0 ctx 0x5597178740 mpi 0x7fa62c7c08 mpp[5376]: mpi_dec_test: 0x5597178740 mpi_dec_test decoder test start w 0 h 0 type 7 mpp[5376]: mpi: mpi_control enter ctx 0x5597178740 cmd 310005 parm 0x7ff8985ac8 mpp[5376]: mpi: mpi_control leave ret 0 mpp[5376]: mpi: mpp_init enter ctx 0x5597178740 type 0 coding 7 mpp[5376]: mpp_rt: NOT found ion allocator mpp[5376]: mpp_rt: found drm allocator mpp[5376]: mpi: mpp_init leave ret 0 mpp[5376]: mpi: mpi_decode_put_packet enter ctx 0x5597178740 packet 0x55971786a0 mpp[5376]: mpi: mpi_decode_put_packet leave ret 0 mpp[5376]: mpi: mpi_decode_get_frame enter ctx 0x5597178740 frame 0x7ff8985b08 mpp[5376]: h264d_api: [pkt_in_timeUs] is_avcC=0, in_pts=0, pkt_eos=0, len=4096, pkt_no=0 mpp[5376]: mpi: mpi_decode_get_frame leave ret 0 mpp[5376]: mpi: mpi_decode_put_packet enter ctx 0x5597178740 packet 0x55971786a0 mpp[5376]: mpi: mpi_decode_put_packet leave ret 0 mpp[5376]: mpi: mpi_decode_get_frame enter ctx 0x5597178740 frame 0x7ff8985b08 mpp[5376]: h264d_api: [pkt_in_timeUs] is_avcC=0, in_pts=0, pkt_eos=0, len=4096, pkt_no=0 mpp[5376]: mpi: mpi_decode_get_frame leave ret 0 mpp[5376]: mpi: mpi_decode_put_packet enter ctx 0x5597178740 packet 0x55971786a0 mpp[5376]: mpi: mpi_decode_put_packet leave ret 0 mpp[5376]: mpi: mpi_decode_get_frame enter ctx 0x5597178740 frame 0x7ff8985b08 mpp[5376]: h264d_api: [pkt_in_timeUs] is_avcC=0, in_pts=0, pkt_eos=0, len=4096, pkt_no=0 mpp[5376]: mpi: mpi_decode_get_frame leave ret 0 mpp[5376]: mpi: mpi_decode_put_packet enter ctx 0x5597178740 packet 0x55971786a0 mpp[5376]: mpi: mpi_decode_put_packet leave ret 0 mpp[5376]: h264d_api: [pkt_in_timeUs] is_avcC=0, in_pts=0, pkt_eos=0, len=4096, pkt_no=0 mpp[5376]: mpi: mpi_decode_get_frame enter ctx 0x5597178740 frame 0x7ff8985b08 mpp[5376]: mpi: mpi_decode_get_frame leave ret 0 mpp[5376]: mpi: mpi_decode_put_packet enter ctx 0x5597178740 packet 0x55971786a0 mpp[5376]: mpi: mpi_decode_put_packet leave ret 0 mpp[5376]: mpi: mpi_decode_get_frame enter ctx 0x5597178740 frame 0x7ff8985b08 mpp[5376]: h264d_api: [pkt_in_timeUs] is_avcC=0, in_pts=0, pkt_eos=0, len=4096, pkt_no=0 mpp[5376]: mpi: mpi_decode_get_frame leave ret 0 mpp[5376]: mpi: mpi_decode_put_packet enter ctx 0x5597178740 packet 0x55971786a0 mpp[5376]: mpi: mpi_decode_put_packet leave ret 0 mpp[5376]: mpi: mpi_decode_get_frame enter ctx 0x5597178740 frame 0x7ff8985b08 mpp[5376]: h264d_api: [pkt_in_timeUs] is_avcC=0, in_pts=0, pkt_eos=0, len=4096, pkt_no=0 mpp[5376]: mpi: mpi_decode_get_frame leave ret 0 mpp[5376]: mpi: mpi_decode_put_packet enter ctx 0x5597178740 packet 0x55971786a0 mpp[5376]: mpi: mpi_decode_put_packet leave ret 0 mpp[5376]: mpi: mpi_decode_get_frame enter ctx 0x5597178740 frame 0x7ff8985b08 mpp[5376]: h264d_api: [pkt_in_timeUs] is_avcC=0, in_pts=0, pkt_eos=0, len=4096, pkt_no=0 mpp[5376]: mpi: mpi_decode_get_frame leave ret 0 mpp[5376]: mpi: mpi_decode_put_packet enter ctx 0x5597178740 packet 0x55971786a0 mpp[5376]: mpi: mpi_decode_put_packet leave ret 0 mpp[5376]: mpi: mpi_decode_get_frame enter ctx 0x5597178740 frame 0x7ff8985b08 mpp[5376]: h264d_api: [pkt_in_timeUs] is_avcC=0, in_pts=0, pkt_eos=0, len=4096, pkt_no=0 mpp[5376]: mpi: mpi_decode_get_frame leave ret 0 mpp[5376]: mpi: mpi_decode_put_packet enter ctx 0x5597178740 packet 0x55971786a0 mpp[5376]: mpi: mpi_decode_put_packet leave ret 0 mpp[5376]: h264d_api: [pkt_in_timeUs] is_avcC=0, in_pts=0, pkt_eos=0, len=4096, pkt_no=0 mpp[5376]: mpi: mpi_decode_get_frame enter ctx 0x5597178740 frame 0x7ff8985b08 mpp[5376]: mpi: mpi_decode_get_frame leave ret 0 mpp[5376]: mpi: mpi_decode_put_packet enter ctx 0x5597178740 packet 0x55971786a0 mpp[5376]: mpi: mpi_decode_put_packet leave ret 0 mpp[5376]: h264d_api: [pkt_in_timeUs] is_avcC=0, in_pts=0, pkt_eos=0, len=4096, pkt_no=0 mpp[5376]: mpi: mpi_decode_get_frame enter ctx 0x5597178740 frame 0x7ff8985b08 mpp[5376]: mpi: mpi_decode_get_frame leave ret 0 mpp[5376]: mpi: mpi_decode_put_packet enter ctx 0x5597178740 packet 0x55971786a0 mpp[5376]: mpi: mpi_decode_put_packet leave ret 0 mpp[5376]: h264d_api: [pkt_in_timeUs] is_avcC=0, in_pts=0, pkt_eos=0, len=4096, pkt_no=0 mpp[5376]: mpi: mpi_decode_get_frame enter ctx 0x5597178740 frame 0x7ff8985b08 mpp[5376]: mpi: mpi_decode_get_frame leave ret 0 mpp[5376]: mpi: mpi_decode_put_packet enter ctx 0x5597178740 packet 0x55971786a0 mpp[5376]: mpi: mpi_decode_put_packet leave ret 0 mpp[5376]: mpi: mpi_decode_get_frame enter ctx 0x5597178740 frame 0x7ff8985b08 mpp[5376]: h264d_api: [pkt_in_timeUs] is_avcC=0, in_pts=0, pkt_eos=0, len=4096, pkt_no=0 mpp[5376]: mpi: mpi_decode_get_frame leave ret 0 mpp[5376]: mpi: mpi_decode_put_packet enter ctx 0x5597178740 packet 0x55971786a0 mpp[5376]: mpi: mpi_decode_put_packet leave ret 0 mpp[5376]: mpi: mpi_decode_get_frame enter ctx 0x5597178740 frame 0x7ff8985b08 mpp[5376]: h264d_api: [pkt_in_timeUs] is_avcC=0, in_pts=0, pkt_eos=0, len=4096, pkt_no=0 mpp[5376]: mpi: mpi_decode_get_frame leave ret 0 mpp[5376]: mpi: mpi_decode_put_packet enter ctx 0x5597178740 packet 0x55971786a0 mpp[5376]: mpi: mpi_decode_put_packet leave ret 0 mpp[5376]: mpi: mpi_decode_get_frame enter ctx 0x5597178740 frame 0x7ff8985b08 mpp[5376]: h264d_api: [pkt_in_timeUs] is_avcC=0, in_pts=0, pkt_eos=0, len=4096, pkt_no=0 mpp[5376]: mpi: mpi_decode_get_frame leave ret 0 mpp[5376]: mpi: mpi_decode_put_packet enter ctx 0x5597178740 packet 0x55971786a0 mpp[5376]: mpi: mpi_decode_put_packet leave ret 0 mpp[5376]: mpi: mpi_decode_get_frame enter ctx 0x5597178740 frame 0x7ff8985b08 mpp[5376]: h264d_api: [pkt_in_timeUs] is_avcC=0, in_pts=0, pkt_eos=0, len=4096, pkt_no=0 mpp[5376]: mpi: mpi_decode_get_frame leave ret 0 mpp[5376]: mpi: mpi_decode_put_packet enter ctx 0x5597178740 packet 0x55971786a0 mpp[5376]: mpi: mpi_decode_put_packet leave ret 0 mpp[5376]: h264d_api: [pkt_in_timeUs] is_avcC=0, in_pts=0, pkt_eos=0, len=4096, pkt_no=0 mpp[5376]: mpi: mpi_decode_get_frame enter ctx 0x5597178740 frame 0x7ff8985b08 mpp[5376]: mpi: mpi_decode_get_frame leave ret 0 mpp[5376]: mpi: mpi_decode_put_packet enter ctx 0x5597178740 packet 0x55971786a0 mpp[5376]: mpi: mpi_decode_put_packet leave ret 0 mpp[5376]: mpi: mpi_decode_get_frame enter ctx 0x5597178740 frame 0x7ff8985b08 mpp[5376]: h264d_api: [pkt_in_timeUs] is_avcC=0, in_pts=0, pkt_eos=0, len=4096, pkt_no=0 mpp[5376]: mpi: mpi_decode_get_frame leave ret 0 mpp[5376]: mpi: mpi_decode_put_packet enter ctx 0x5597178740 packet 0x55971786a0 mpp[5376]: mpi: mpi_decode_put_packet leave ret 0 mpp[5376]: mpi: mpi_decode_get_frame enter ctx 0x5597178740 frame 0x7ff8985b08 mpp[5376]: h264d_api: [pkt_in_timeUs] is_avcC=0, in_pts=0, pkt_eos=0, len=4096, pkt_no=0 mpp[5376]: mpi: mpi_decode_get_frame leave ret 0 mpp[5376]: mpi: mpi_decode_put_packet enter ctx 0x5597178740 packet 0x55971786a0 mpp[5376]: mpi: mpi_decode_put_packet leave ret 0 mpp[5376]: mpi: mpi_decode_get_frame enter ctx 0x5597178740 frame 0x7ff8985b08 mpp[5376]: h264d_api: [pkt_in_timeUs] is_avcC=0, in_pts=0, pkt_eos=0, len=4096, pkt_no=0 mpp[5376]: mpi: mpi_decode_get_frame leave ret 0 mpp[5376]: mpi: mpi_decode_put_packet enter ctx 0x5597178740 packet 0x55971786a0 mpp[5376]: mpi: mpi_decode_put_packet leave ret 0 mpp[5376]: h264d_api: [pkt_in_timeUs] is_avcC=0, in_pts=0, pkt_eos=0, len=4096, pkt_no=0 mpp[5376]: mpi: mpi_decode_get_frame enter ctx 0x5597178740 frame 0x7ff8985b08 mpp[5376]: mpi: mpi_decode_get_frame leave ret 0 mpp[5376]: mpi: mpi_decode_put_packet enter ctx 0x5597178740 packet 0x55971786a0 mpp[5376]: mpi: mpi_decode_put_packet leave ret 0 mpp[5376]: mpi: mpi_decode_get_frame enter ctx 0x5597178740 frame 0x7ff8985b08 mpp[5376]: h264d_api: [pkt_in_timeUs] is_avcC=0, in_pts=0, pkt_eos=0, len=4096, pkt_no=0 mpp[5376]: mpi: mpi_decode_get_frame leave ret 0 mpp[5376]: mpi: mpi_decode_put_packet enter ctx 0x5597178740 packet 0x55971786a0 mpp[5376]: mpi: mpi_decode_put_packet leave ret 0 mpp[5376]: mpi: mpi_decode_get_frame enter ctx 0x5597178740 frame 0x7ff8985b08 mpp[5376]: h264d_api: [pkt_in_timeUs] is_avcC=0, in_pts=0, pkt_eos=0, len=4096, pkt_no=0 mpp[5376]: mpi: mpi_decode_get_frame leave ret 0 mpp[5376]: mpi: mpi_decode_put_packet enter ctx 0x5597178740 packet 0x55971786a0 mpp[5376]: mpi: mpi_decode_put_packet leave ret 0 mpp[5376]: mpi: mpi_decode_get_frame enter ctx 0x5597178740 frame 0x7ff8985b08 mpp[5376]: h264d_api: [pkt_in_timeUs] is_avcC=0, in_pts=0, pkt_eos=0, len=4096, pkt_no=0 mpp[5376]: mpi: mpi_decode_get_frame leave ret 0 mpp[5376]: mpi: mpi_decode_put_packet enter ctx 0x5597178740 packet 0x55971786a0 mpp[5376]: mpi: mpi_decode_put_packet leave ret 0 mpp[5376]: h264d_api: [pkt_in_timeUs] is_avcC=0, in_pts=0, pkt_eos=0, len=4096, pkt_no=0 mpp[5376]: mpi: mpi_decode_get_frame enter ctx 0x5597178740 frame 0x7ff8985b08 mpp[5376]: mpi: mpi_decode_get_frame leave ret 0 mpp[5376]: mpi: mpi_decode_put_packet enter ctx 0x5597178740 packet 0x55971786a0 mpp[5376]: mpi: mpi_decode_put_packet leave ret 0 mpp[5376]: mpi: mpi_decode_get_frame enter ctx 0x5597178740 frame 0x7ff8985b08 mpp[5376]: h264d_api: [pkt_in_timeUs] is_avcC=0, in_pts=0, pkt_eos=0, len=4096, pkt_no=0 mpp[5376]: mpi: mpi_decode_get_frame leave ret 0 mpp[5376]: mpi: mpi_decode_put_packet enter ctx 0x5597178740 packet 0x55971786a0 mpp[5376]: mpi: mpi_decode_put_packet leave ret 0 mpp[5376]: mpi: mpi_decode_get_frame enter ctx 0x5597178740 frame 0x7ff8985b08 mpp[5376]: h264d_api: [pkt_in_timeUs] is_avcC=0, in_pts=0, pkt_eos=0, len=4096, pkt_no=0 mpp[5376]: mpi: mpi_decode_get_frame leave ret 0 mpp[5376]: mpi: mpi_decode_put_packet enter ctx 0x5597178740 packet 0x55971786a0 mpp[5376]: mpi: mpi_decode_put_packet leave ret 0 mpp[5376]: h264d_api: [pkt_in_timeUs] is_avcC=0, in_pts=0, pkt_eos=0, len=4096, pkt_no=0 mpp[5376]: mpi: mpi_decode_get_frame enter ctx 0x5597178740 frame 0x7ff8985b08 mpp[5376]: mpi: mpi_decode_get_frame leave ret 0 mpp[5376]: mpi: mpi_decode_put_packet enter ctx 0x5597178740 packet 0x55971786a0 mpp[5376]: mpi: mpi_decode_put_packet leave ret 0 mpp[5376]: h264d_api: [pkt_in_timeUs] is_avcC=0, in_pts=0, pkt_eos=0, len=4096, pkt_no=0 mpp[5376]: mpi: mpi_decode_get_frame enter ctx 0x5597178740 frame 0x7ff8985b08 mpp[5376]: mpi: mpi_decode_get_frame leave ret 0 mpp[5376]: mpi: mpi_decode_put_packet enter ctx 0x5597178740 packet 0x55971786a0 mpp[5376]: mpi: mpi_decode_put_packet leave ret 0 mpp[5376]: h264d_api: [pkt_in_timeUs] is_avcC=0, in_pts=0, pkt_eos=0, len=4096, pkt_no=0 mpp[5376]: mpi: mpi_decode_get_frame enter ctx 0x5597178740 frame 0x7ff8985b08 mpp[5376]: mpi: mpi_decode_get_frame leave ret 0 mpp[5376]: mpi: mpi_decode_put_packet enter ctx 0x5597178740 packet 0x55971786a0 mpp[5376]: mpi: mpi_decode_put_packet leave ret 0 mpp[5376]: h264d_api: [pkt_in_timeUs] is_avcC=0, in_pts=0, pkt_eos=0, len=4096, pkt_no=0 mpp[5376]: mpi: mpi_decode_get_frame enter ctx 0x5597178740 frame 0x7ff8985b08 mpp[5376]: mpi: mpi_decode_get_frame leave ret 0 mpp[5376]: mpi: mpi_decode_put_packet enter ctx 0x5597178740 packet 0x55971786a0 mpp[5376]: mpi: mpi_decode_put_packet leave ret 0 mpp[5376]: h264d_api: [pkt_in_timeUs] is_avcC=0, in_pts=0, pkt_eos=0, len=4096, pkt_no=0 mpp[5376]: mpi: mpi_decode_get_frame enter ctx 0x5597178740 frame 0x7ff8985b08 mpp[5376]: mpi: mpi_decode_get_frame leave ret 0 mpp[5376]: mpi: mpi_decode_put_packet enter ctx 0x5597178740 packet 0x55971786a0 mpp[5376]: mpi: mpi_decode_put_packet leave ret 0 mpp[5376]: mpi: mpi_decode_get_frame enter ctx 0x5597178740 frame 0x7ff8985b08 mpp[5376]: h264d_api: [pkt_in_timeUs] is_avcC=0, in_pts=0, pkt_eos=0, len=4096, pkt_no=0 mpp[5376]: mpi: mpi_decode_get_frame leave ret 0 mpp[5376]: mpi: mpi_decode_put_packet enter ctx 0x5597178740 packet 0x55971786a0 mpp[5376]: mpi: mpi_decode_put_packet leave ret 0 mpp[5376]: mpi: mpi_decode_get_frame enter ctx 0x5597178740 frame 0x7ff8985b08 mpp[5376]: h264d_api: [pkt_in_timeUs] is_avcC=0, in_pts=0, pkt_eos=0, len=4096, pkt_no=0 mpp[5376]: mpi: mpi_decode_get_frame leave ret 0 mpp[5376]: mpi: mpi_decode_put_packet enter ctx 0x5597178740 packet 0x55971786a0 mpp[5376]: mpi: mpi_decode_put_packet leave ret 0 mpp[5376]: mpi: mpi_decode_get_frame enter ctx 0x5597178740 frame 0x7ff8985b08 mpp[5376]: h264d_api: [pkt_in_timeUs] is_avcC=0, in_pts=0, pkt_eos=0, len=4096, pkt_no=0 mpp[5376]: mpi: mpi_decode_get_frame leave ret 0 mpp[5376]: mpi: mpi_decode_put_packet enter ctx 0x5597178740 packet 0x55971786a0 mpp[5376]: mpi: mpi_decode_put_packet leave ret 0 mpp[5376]: mpi: mpi_decode_get_frame enter ctx 0x5597178740 frame 0x7ff8985b08 mpp[5376]: h264d_api: [pkt_in_timeUs] is_avcC=0, in_pts=0, pkt_eos=0, len=4096, pkt_no=0 mpp[5376]: mpi: mpi_decode_get_frame leave ret 0 mpp[5376]: mpi: mpi_decode_put_packet enter ctx 0x5597178740 packet 0x55971786a0 mpp[5376]: mpi: mpi_decode_put_packet leave ret 0 mpp[5376]: mpi: mpi_decode_get_frame enter ctx 0x5597178740 frame 0x7ff8985b08 mpp[5376]: h264d_api: [pkt_in_timeUs] is_avcC=0, in_pts=0, pkt_eos=0, len=4096, pkt_no=0 mpp[5376]: mpi: mpi_decode_get_frame leave ret 0 mpp[5376]: mpi: mpi_decode_put_packet enter ctx 0x5597178740 packet 0x55971786a0 mpp[5376]: mpi: mpi_decode_put_packet leave ret 0 mpp[5376]: mpi: mpi_decode_get_frame enter ctx 0x5597178740 frame 0x7ff8985b08 mpp[5376]: h264d_api: [pkt_in_timeUs] is_avcC=0, in_pts=0, pkt_eos=0, len=4096, pkt_no=0 mpp[5376]: mpi: mpi_decode_get_frame leave ret 0 mpp[5376]: mpi: mpi_decode_put_packet enter ctx 0x5597178740 packet 0x55971786a0 mpp[5376]: mpi: mpi_decode_put_packet leave ret 0 mpp[5376]: h264d_api: [pkt_in_timeUs] is_avcC=0, in_pts=0, pkt_eos=0, len=4096, pkt_no=0 mpp[5376]: mpi: mpi_decode_get_frame enter ctx 0x5597178740 frame 0x7ff8985b08 mpp[5376]: mpi: mpi_decode_get_frame leave ret 0 mpp[5376]: mpi: mpi_decode_put_packet enter ctx 0x5597178740 packet 0x55971786a0 mpp[5376]: mpi: mpi_decode_put_packet leave ret 0 mpp[5376]: mpi: mpi_decode_get_frame enter ctx 0x5597178740 frame 0x7ff8985b08 mpp[5376]: h264d_api: [pkt_in_timeUs] is_avcC=0, in_pts=0, pkt_eos=0, len=4096, pkt_no=0 mpp[5376]: mpi: mpi_decode_get_frame leave ret 0 mpp[5376]: mpi: mpi_decode_put_packet enter ctx 0x5597178740 packet 0x55971786a0 mpp[5376]: mpi: mpi_decode_put_packet leave ret 0 mpp[5376]: h264d_api: [pkt_in_timeUs] is_avcC=0, in_pts=0, pkt_eos=0, len=4096, pkt_no=0 mpp[5376]: mpi: mpi_decode_get_frame enter ctx 0x5597178740 frame 0x7ff8985b08 mpp[5376]: mpi: mpi_decode_get_frame leave ret 0 mpp[5376]: mpi: mpi_decode_put_packet enter ctx 0x5597178740 packet 0x55971786a0 mpp[5376]: mpi: mpi_decode_put_packet leave ret 0 mpp[5376]: mpi: mpi_decode_get_frame enter ctx 0x5597178740 frame 0x7ff8985b08 mpp[5376]: h264d_api: [pkt_in_timeUs] is_avcC=0, in_pts=0, pkt_eos=0, len=4096, pkt_no=0 mpp[5376]: mpi: mpi_decode_get_frame leave ret 0 mpp[5376]: mpi: mpi_decode_put_packet enter ctx 0x5597178740 packet 0x55971786a0 mpp[5376]: mpi: mpi_decode_put_packet leave ret 0 mpp[5376]: h264d_api: [pkt_in_timeUs] is_avcC=0, in_pts=0, pkt_eos=0, len=4096, pkt_no=0 mpp[5376]: mpi: mpi_decode_get_frame enter ctx 0x5597178740 frame 0x7ff8985b08 mpp[5376]: mpi: mpi_decode_get_frame leave ret 0 mpp[5376]: mpi: mpi_decode_put_packet enter ctx 0x5597178740 packet 0x55971786a0 mpp[5376]: mpi: mpi_decode_put_packet leave ret 0 mpp[5376]: mpi: mpi_decode_get_frame enter ctx 0x5597178740 frame 0x7ff8985b08 mpp[5376]: h264d_api: [pkt_in_timeUs] is_avcC=0, in_pts=0, pkt_eos=0, len=4096, pkt_no=0 mpp[5376]: mpi: mpi_decode_get_frame leave ret 0 mpp[5376]: mpi: mpi_decode_put_packet enter ctx 0x5597178740 packet 0x55971786a0 mpp[5376]: mpi: mpi_decode_put_packet leave ret 0 mpp[5376]: mpi: mpi_decode_get_frame enter ctx 0x5597178740 frame 0x7ff8985b08 mpp[5376]: h264d_api: [pkt_in_timeUs] is_avcC=0, in_pts=0, pkt_eos=0, len=4096, pkt_no=0 mpp[5376]: mpi: mpi_decode_get_frame leave ret 0 mpp[5376]: mpi: mpi_decode_put_packet enter ctx 0x5597178740 packet 0x55971786a0 mpp[5376]: mpi: mpi_decode_put_packet leave ret 0 mpp[5376]: h264d_api: [pkt_in_timeUs] is_avcC=0, in_pts=0, pkt_eos=0, len=4096, pkt_no=0 mpp[5376]: mpi: mpi_decode_get_frame enter ctx 0x5597178740 frame 0x7ff8985b08 mpp[5376]: mpi: mpi_decode_get_frame leave ret 0 mpp[5376]: mpi: mpi_decode_put_packet enter ctx 0x5597178740 packet 0x55971786a0 mpp[5376]: mpi: mpi_decode_put_packet leave ret 0 mpp[5376]: mpi: mpi_decode_get_frame enter ctx 0x5597178740 frame 0x7ff8985b08 mpp[5376]: h264d_api: [pkt_in_timeUs] is_avcC=0, in_pts=0, pkt_eos=0, len=4096, pkt_no=0 mpp[5376]: mpi: mpi_decode_get_frame leave ret 0 mpp[5376]: mpi: mpi_decode_put_packet enter ctx 0x5597178740 packet 0x55971786a0 mpp[5376]: mpi: mpi_decode_put_packet leave ret 0 mpp[5376]: mpi: mpi_decode_get_frame enter ctx 0x5597178740 frame 0x7ff8985b08 mpp[5376]: h264d_api: [pkt_in_timeUs] is_avcC=0, in_pts=0, pkt_eos=0, len=4096, pkt_no=0 mpp[5376]: mpi: mpi_decode_get_frame leave ret 0 mpp[5376]: mpi: mpi_decode_put_packet enter ctx 0x5597178740 packet 0x55971786a0 mpp[5376]: mpi: mpi_decode_put_packet leave ret 0 mpp[5376]: mpi: mpi_decode_get_frame enter ctx 0x5597178740 frame 0x7ff8985b08 mpp[5376]: h264d_api: [pkt_in_timeUs] is_avcC=0, in_pts=0, pkt_eos=0, len=4096, pkt_no=0 mpp[5376]: mpi: mpi_decode_get_frame leave ret 0 mpp[5376]: mpi: mpi_decode_put_packet enter ctx 0x5597178740 packet 0x55971786a0 mpp[5376]: mpi: mpi_decode_put_packet leave ret 0 mpp[5376]: mpi: mpi_decode_get_frame enter ctx 0x5597178740 frame 0x7ff8985b08 mpp[5376]: h264d_api: [pkt_in_timeUs] is_avcC=0, in_pts=0, pkt_eos=0, len=4096, pkt_no=0 mpp[5376]: mpi: mpi_decode_get_frame leave ret 0 mpp[5376]: mpi: mpi_decode_put_packet enter ctx 0x5597178740 packet 0x55971786a0 mpp[5376]: mpi: mpi_decode_put_packet leave ret 0 mpp[5376]: mpi: mpi_decode_get_frame enter ctx 0x5597178740 frame 0x7ff8985b08 mpp[5376]: h264d_api: [pkt_in_timeUs] is_avcC=0, in_pts=0, pkt_eos=0, len=4096, pkt_no=0 mpp[5376]: mpi: mpi_decode_get_frame leave ret 0 mpp[5376]: mpi: mpi_decode_put_packet enter ctx 0x5597178740 packet 0x55971786a0 mpp[5376]: mpi: mpi_decode_put_packet leave ret 0 mpp[5376]: mpi: mpi_decode_get_frame enter ctx 0x5597178740 frame 0x7ff8985b08 mpp[5376]: h264d_api: [pkt_in_timeUs] is_avcC=0, in_pts=0, pkt_eos=0, len=4096, pkt_no=0 mpp[5376]: mpi: mpi_decode_get_frame leave ret 0 mpp[5376]: mpi: mpi_decode_put_packet enter ctx 0x5597178740 packet 0x55971786a0 mpp[5376]: mpi: mpi_decode_put_packet leave ret 0 mpp[5376]: mpi: mpi_decode_get_frame enter ctx 0x5597178740 frame 0x7ff8985b08 mpp[5376]: mpi: mpi_decode_get_frame leave ret 0 mpp[5376]: mpi: mpi_decode_put_packet enter ctx 0x5597178740 packet 0x55971786a0 mpp[5376]: mpi: mpi_decode_put_packet leave ret 0 mpp[5376]: mpi: mpi_decode_get_frame enter ctx 0x5597178740 frame 0x7ff8985b08 mpp[5376]: h264d_parse: SliceSTATE_ResetSlice mpp[5376]: h264d_parse: SliceSTATE_ReadNalu mpp[5376]: h264d_parse: nalu_type=SPS mpp[5376]: h264d_parse: SliceSTATE_ParseNalu mpp[5376]: h264d_parse: SliceSTATE_ReadNalu mpp[5376]: h264d_parse: nalu_type=PPS mpp[5376]: h264d_parse: SliceSTATE_ParseNalu mpp[5376]: h264d_parse: SliceSTATE_ReadNalu mpp[5376]: h264d_parse: nalu_type=SEI mpp[5376]: h264d_sei: [SEI_info] type=5 size: 520 mpp[5376]: h264d_parse: SliceSTATE_ParseNalu mpp[5376]: h264d_parse: SliceSTATE_ReadNalu mpp[5376]: h264d_parse: nalu_type=SLICE. mpp[5376]: h264d_dpb: warning: max_dec_frame_buffering(1) is less than dpb_size(4) calculated from Profile/Level. mpp[5376]: h264d_sps: [DPB_size] dpb_size[0]=1, mvc_flag=0, dpb_size[1]=0 mpp[5376]: h264d_slice: [SLICE_HEAD] type=2, layer_id=0,sps_id=0, pps_id=0, struct=3, frame_num=0 mpp[5376]: h264d_parse: SliceSTATE_ParseNalu mpp[5376]: h264d_init: [DPB_malloc] g_framecnt=0, com_flag=0, mark_idx=0, slot_idx=0, slice_type=2, struct=3, lay_id=0 mpp[5376]: h264d_init: [DPB_INFO] cur_slot_idx=0 mpp[5376]: h264d_init: [DPB_MARK_INFO] slot_idx=0, top_used=1, bot_used=1, out_flag=1, fd=0xff mpp[5376]: h264d_init: [DPB_MARK_INFO] ---------- cur_slot=0 -------------------- mpp[5376]: h264d_parse: SliceSTATE_InitPicture mpp[5376]: h264d_parse: SliceSTATE_GetSliceData mpp[5376]: h264d_parse: SliceSTATE_RegisterOneFrame mpp[5376]: h264d_dpb: [DPB_size] p_Dpb->used_size=1 mpp[5376]: mpi: mpi_decode_get_frame leave ret 0 mpp[5376]: mpi: mpi_decode_put_packet enter ctx 0x5597178740 packet 0x55971786a0 mpp[5376]: mpi: mpi_decode_put_packet leave ret 0 mpp[5376]: mpi: mpi_decode_get_frame enter ctx 0x5597178740 frame 0x7ff8985b08 mpp[5376]: mpi: mpi_decode_get_frame leave ret 0 mpp[5376]: mpi_dec_test: 0x5597178740 decode_get_frame get info changed found mpp[5376]: mpi_dec_test: 0x5597178740 decoder require buffer w:h [1920:1080] stride [1920:1088] buf_size 5222400 mpp[5376]: mpi: mpi_control enter ctx 0x5597178740 cmd 310002 parm 0x55971890c0 mpp[5376]: mpi: mpi_control leave ret 0 mpp[5376]: mpi: mpi_control enter ctx 0x5597178740 cmd 310003 parm (nil) mpp[5376]: mpi: mpi_control leave ret 0 mpp[5376]: mpi: mpi_decode_get_frame enter ctx 0x5597178740 frame 0x7ff8985b08 mpp[5376]: mpi: mpi_decode_get_frame leave ret 0 mpp[5376]: mpi: mpi_decode_put_packet enter ctx 0x5597178740 packet 0x55971786a0 mpp[5376]: mpi: mpi_decode_put_packet leave ret 0 mpp[5376]: mpi: mpi_decode_get_frame enter ctx 0x5597178740 frame 0x7ff8985b08 mpp[5376]: mpi: mpi_decode_get_frame leave ret 0 mpp[5376]: mpi: mpi_decode_put_packet enter ctx 0x5597178740 packet 0x55971786a0 mpp[5376]: mpi: mpi_decode_put_packet leave ret -1012 mpp[5376]: mpi: mpi_decode_get_frame enter ctx 0x5597178740 frame 0x7ff8985b08 mpp[5376]: mpi: mpi_decode_get_frame leave ret 0 mpp[5376]: h264d_api: [pkt_in_timeUs] is_avcC=0, in_pts=0, pkt_eos=0, len=2984, pkt_no=1 mpp[5376]: h264d_api: [pkt_in_timeUs] is_avcC=0, in_pts=0, pkt_eos=0, len=4096, pkt_no=1 mpp[5376]: mpi: mpi_decode_put_packet enter ctx 0x5597178740 packet 0x55971786a0 mpp[5376]: mpi: mpi_decode_put_packet leave ret 0 mpp[5376]: mpi: mpi_decode_get_frame enter ctx 0x5597178740 frame 0x7ff8985b08 mpp[5376]: mpi: mpi_decode_get_frame leave ret 0 mpp[5376]: mpi: mpi_decode_put_packet enter ctx 0x5597178740 packet 0x55971786a0 mpp[5376]: mpi: mpi_decode_put_packet leave ret -1012 mpp[5376]: mpi: mpi_decode_get_frame enter ctx 0x5597178740 frame 0x7ff8985b08 mpp[5376]: h264d_api: [CALLBACK] g_no=1, out_idx=0, dpberr=0, harderr=0, ref_flag=1, errinfo=0, discard=0 mpp[5376]: h264d_parse: SliceSTATE_ResetSlice mpp[5376]: h264d_parse: SliceSTATE_ReadNalu mpp[5376]: h264d_parse: nalu_type=SLICE. mpp[5376]: h264d_sps: [DPB_size] dpb_size[0]=1, mvc_flag=0, dpb_size[1]=0 mpp[5376]: h264d_slice: [SLICE_HEAD] type=0, layer_id=0,sps_id=0, pps_id=0, struct=3, frame_num=1 mpp[5376]: h264d_parse: SliceSTATE_ParseNalu mpp[5376]: h264d_init: [DPB_malloc] g_framecnt=1, com_flag=0, mark_idx=1, slot_idx=1, slice_type=0, struct=3, lay_id=0 mpp[5376]: h264d_init: [DPB_INFO] cur_slot_idx=1 mpp[5376]: h264d_init: [DPB_INFO] ref_slot_idx[0]=0 mpp[5376]: h264d_init: [DPB_MARK_INFO] slot_idx=1, top_used=1, bot_used=1, out_flag=1, fd=0xff mpp[5376]: h264d_init: [DPB_MARK_INFO] ---------- cur_slot=1 -------------------- mpp[5376]: h264d_init: [DPB_REF_ERR] slot_idx=0, dpb_err[0]=0 mpp[5376]: h264d_init: list0 dpb: cur_err_flag=0, pps_refs=1, over_flag=0, num_ref_l0=1 mpp[5376]: h264d_parse: SliceSTATE_InitPicture mpp[5376]: h264d_parse: SliceSTATE_GetSliceData mpp[5376]: h264d_parse: SliceSTATE_RegisterOneFrame mpp[5376]: h264d_dpb: [DPB_size] p_Dpb->used_size=1 mpp[5376]: mpi: mpi_decode_get_frame leave ret 0 mpp[5376]: h264d_api: [pkt_in_timeUs] is_avcC=0, in_pts=0, pkt_eos=0, len=480, pkt_no=2 mpp[5376]: h264d_api: [pkt_in_timeUs] is_avcC=0, in_pts=0, pkt_eos=0, len=4096, pkt_no=2 mpp[5376]: h264d_api: [pkt_in_timeUs] is_avcC=0, in_pts=0, pkt_eos=0, len=4096, pkt_no=2 mpp[5376]: mpi: mpi_decode_put_packet enter ctx 0x5597178740 packet 0x55971786a0 mpp[5376]: mpi: mpi_decode_put_packet leave ret 0 mpp[5376]: mpi: mpi_decode_get_frame enter ctx 0x5597178740 frame 0x7ff8985b08 mpp[5376]: mpi: mpi_decode_get_frame leave ret 0 mpp[5376]: mpi_dec_test: 0x5597178740 decode get frame 0 mpp[5376]: h264d_api: [CALLBACK] g_no=2, out_idx=1, dpberr=0, harderr=0, ref_flag=1, errinfo=0, discard=0 mpp[5376]: h264d_parse: SliceSTATE_ResetSlice mpp[5376]: h264d_parse: SliceSTATE_ReadNalu mpp[5376]: h264d_parse: nalu_type=SLICE. mpp[5376]: h264d_sps: [DPB_size] dpb_size[0]=1, mvc_flag=0, dpb_size[1]=0 mpp[5376]: h264d_slice: [SLICE_HEAD] type=0, layer_id=0,sps_id=0, pps_id=0, struct=3, frame_num=2 mpp[5376]: h264d_parse: SliceSTATE_ParseNalu mpp[5376]: h264d_init: [DPB_malloc] g_framecnt=2, com_flag=0, mark_idx=0, slot_idx=0, slice_type=0, struct=3, lay_id=0 mpp[5376]: h264d_init: [DPB_INFO] cur_slot_idx=0 mpp[5376]: h264d_init: [DPB_INFO] ref_slot_idx[0]=1 mpp[5376]: h264d_init: [DPB_MARK_INFO] slot_idx=0, top_used=1, bot_used=1, out_flag=1, fd=0xff mpp[5376]: h264d_init: [DPB_MARK_INFO] ---------- cur_slot=0 -------------------- mpp[5376]: h264d_init: [DPB_REF_ERR] slot_idx=1, dpb_err[0]=0 mpp[5376]: h264d_init: list0 dpb: cur_err_flag=0, pps_refs=1, over_flag=0, num_ref_l0=1 mpp[5376]: h264d_parse: SliceSTATE_InitPicture mpp[5376]: h264d_parse: SliceSTATE_GetSliceData mpp[5376]: h264d_parse: SliceSTATE_RegisterOneFrame mpp[5376]: h264d_dpb: [DPB_size] p_Dpb->used_size=1 mpp[5376]: h264d_api: [pkt_in_timeUs] is_avcC=0, in_pts=0, pkt_eos=0, len=2705, pkt_no=3 mpp[5376]: h264d_api: [pkt_in_timeUs] is_avcC=0, in_pts=0, pkt_eos=0, len=4096, pkt_no=3 mpp[5376]: h264d_api: [CALLBACK] g_no=3, out_idx=0, dpberr=0, harderr=0, ref_flag=1, errinfo=0, discard=0 mpp[5376]: h264d_parse: SliceSTATE_ResetSlice mpp[5376]: h264d_parse: SliceSTATE_ReadNalu mpp[5376]: h264d_parse: nalu_type=SLICE. mpp[5376]: h264d_sps: [DPB_size] dpb_size[0]=1, mvc_flag=0, dpb_size[1]=0 mpp[5376]: h264d_slice: [SLICE_HEAD] type=0, layer_id=0,sps_id=0, pps_id=0, struct=3, frame_num=3 mpp[5376]: h264d_parse: SliceSTATE_ParseNalu mpp[5376]: h264d_init: [DPB_malloc] g_framecnt=3, com_flag=0, mark_idx=1, slot_idx=1, slice_type=0, struct=3, lay_id=0 mpp[5376]: h264d_init: [DPB_INFO] cur_slot_idx=1 mpp[5376]: h264d_init: [DPB_INFO] ref_slot_idx[0]=0 mpp[5376]: h264d_init: [DPB_MARK_INFO] slot_idx=1, top_used=1, bot_used=1, out_flag=1, fd=0xff mpp[5376]: h264d_init: [DPB_MARK_INFO] ---------- cur_slot=1 -------------------- mpp[5376]: h264d_init: [DPB_REF_ERR] slot_idx=0, dpb_err[0]=0 mpp[5376]: h264d_init: list0 dpb: cur_err_flag=0, pps_refs=1, over_flag=0, num_ref_l0=1 mpp[5376]: h264d_parse: SliceSTATE_InitPicture mpp[5376]: h264d_parse: SliceSTATE_GetSliceData mpp[5376]: h264d_parse: SliceSTATE_RegisterOneFrame mpp[5376]: h264d_dpb: [DPB_size] p_Dpb->used_size=1 mpp[5376]: h264d_api: [pkt_in_timeUs] is_avcC=0, in_pts=0, pkt_eos=0, len=834, pkt_no=4 mpp[5376]: h264d_api: [pkt_in_timeUs] is_avcC=0, in_pts=0, pkt_eos=0, len=4096, pkt_no=4 mpp[5376]: h264d_api: [pkt_in_timeUs] is_avcC=0, in_pts=0, pkt_eos=0, len=4096, pkt_no=4 mpp[5376]: h264d_api: [CALLBACK] g_no=4, out_idx=1, dpberr=0, harderr=0, ref_flag=1, errinfo=0, discard=0 mpp[5376]: h264d_parse: SliceSTATE_ResetSlice mpp[5376]: h264d_parse: SliceSTATE_ReadNalu mpp[5376]: h264d_parse: nalu_type=SLICE. mpp[5376]: h264d_sps: [DPB_size] dpb_size[0]=1, mvc_flag=0, dpb_size[1]=0 mpp[5376]: h264d_slice: [SLICE_HEAD] type=0, layer_id=0,sps_id=0, pps_id=0, struct=3, frame_num=4 mpp[5376]: h264d_parse: SliceSTATE_ParseNalu mpp[5376]: h264d_init: [DPB_malloc] g_framecnt=4, com_flag=0, mark_idx=0, slot_idx=0, slice_type=0, struct=3, lay_id=0 mpp[5376]: h264d_init: [DPB_INFO] cur_slot_idx=0 mpp[5376]: h264d_init: [DPB_INFO] ref_slot_idx[0]=1 mpp[5376]: h264d_init: [DPB_MARK_INFO] slot_idx=0, top_used=1, bot_used=1, out_flag=1, fd=0xff mpp[5376]: h264d_init: [DPB_MARK_INFO] ---------- cur_slot=0 -------------------- mpp[5376]: h264d_init: [DPB_REF_ERR] slot_idx=1, dpb_err[0]=0 mpp[5376]: h264d_init: list0 dpb: cur_err_flag=0, pps_refs=1, over_flag=0, num_ref_l0=1 mpp[5376]: h264d_parse: SliceSTATE_InitPicture mpp[5376]: h264d_parse: SliceSTATE_GetSliceData mpp[5376]: h264d_parse: SliceSTATE_RegisterOneFrame mpp[5376]: h264d_dpb: [DPB_size] p_Dpb->used_size=1 mpp[5376]: h264d_api: [pkt_in_timeUs] is_avcC=0, in_pts=0, pkt_eos=0, len=3059, pkt_no=5 mpp[5376]: h264d_api: [CALLBACK] g_no=5, out_idx=0, dpberr=0, harderr=0, ref_flag=1, errinfo=0, discard=0 mpp[5376]: mpi: mpi_decode_get_frame enter ctx 0x5597178740 frame 0x7ff8985b08 mpp[5376]: mpi: mpi_decode_get_frame leave ret 0 mpp[5376]: mpi_dec_test: 0x5597178740 decode get frame 1 mpp[5376]: mpi: mpi_decode_get_frame enter ctx 0x5597178740 frame 0x7ff8985b08 mpp[5376]: mpi: mpi_decode_get_frame leave ret 0 mpp[5376]: mpi_dec_test: 0x5597178740 decode get frame 2 mpp[5376]: mpi: mpi_decode_get_frame enter ctx 0x5597178740 frame 0x7ff8985b08 mpp[5376]: mpi: mpi_decode_get_frame leave ret 0 mpp[5376]: mpi_dec_test: 0x5597178740 decode get frame 3 mpp[5376]: mpi: mpi_decode_get_frame enter ctx 0x5597178740 frame 0x7ff8985b08 mpp[5376]: mpi: mpi_decode_get_frame leave ret 0 mpp[5376]: mpi_dec_test: 0x5597178740 decode get frame 4 mpp[5376]: mpi: mpi_decode_get_frame enter ctx 0x5597178740 frame 0x7ff8985b08 mpp[5376]: mpi: mpi_decode_get_frame leave ret 0 mpp[5376]: mpi: mpi_decode_put_packet enter ctx 0x5597178740 packet 0x55971786a0 mpp[5376]: mpi: mpi_decode_put_packet leave ret 0 mpp[5376]: mpi: mpi_decode_get_frame enter ctx 0x5597178740 frame 0x7ff8985b08 mpp[5376]: h264d_api: [pkt_in_timeUs] is_avcC=0, in_pts=0, pkt_eos=0, len=4096, pkt_no=5 mpp[5376]: h264d_parse: SliceSTATE_ResetSlice mpp[5376]: h264d_parse: SliceSTATE_ReadNalu mpp[5376]: h264d_parse: nalu_type=SLICE. mpp[5376]: h264d_sps: [DPB_size] dpb_size[0]=1, mvc_flag=0, dpb_size[1]=0 mpp[5376]: h264d_slice: [SLICE_HEAD] type=0, layer_id=0,sps_id=0, pps_id=0, struct=3, frame_num=5 mpp[5376]: h264d_parse: SliceSTATE_ParseNalu mpp[5376]: h264d_init: [DPB_malloc] g_framecnt=5, com_flag=0, mark_idx=1, slot_idx=1, slice_type=0, struct=3, lay_id=0 mpp[5376]: h264d_init: [DPB_INFO] cur_slot_idx=1 mpp[5376]: h264d_init: [DPB_INFO] ref_slot_idx[0]=0 mpp[5376]: h264d_init: [DPB_MARK_INFO] slot_idx=1, top_used=1, bot_used=1, out_flag=1, fd=0xff mpp[5376]: h264d_init: [DPB_MARK_INFO] ---------- cur_slot=1 -------------------- mpp[5376]: h264d_init: [DPB_REF_ERR] slot_idx=0, dpb_err[0]=0 mpp[5376]: h264d_init: list0 dpb: cur_err_flag=0, pps_refs=1, over_flag=0, num_ref_l0=1 mpp[5376]: h264d_parse: SliceSTATE_InitPicture mpp[5376]: mpi: mpi_decode_get_frame leave ret 0 mpp[5376]: h264d_parse: SliceSTATE_GetSliceData mpp[5376]: h264d_parse: SliceSTATE_RegisterOneFrame mpp[5376]: mpi: mpi_decode_put_packet enter ctx 0x5597178740 packet 0x55971786a0 mpp[5376]: mpi: mpi_decode_put_packet leave ret 0 mpp[5376]: h264d_dpb: [DPB_size] p_Dpb->used_size=1 mpp[5376]: mpi: mpi_decode_get_frame enter ctx 0x5597178740 frame 0x7ff8985b08 mpp[5376]: h264d_api: [pkt_in_timeUs] is_avcC=0, in_pts=0, pkt_eos=0, len=1188, pkt_no=6 mpp[5376]: h264d_api: [pkt_in_timeUs] is_avcC=0, in_pts=0, pkt_eos=0, len=4096, pkt_no=6 mpp[5376]: mpi: mpi_decode_get_frame leave ret 0 mpp[5376]: mpi: mpi_decode_put_packet enter ctx 0x5597178740 packet 0x55971786a0 mpp[5376]: mpi: mpi_decode_put_packet leave ret 0 mpp[5376]: mpi: mpi_decode_get_frame enter ctx 0x5597178740 frame 0x7ff8985b08 mpp[5376]: h264d_api: [pkt_in_timeUs] is_avcC=0, in_pts=0, pkt_eos=0, len=4096, pkt_no=6 mpp[5376]: mpi: mpi_decode_get_frame leave ret 0 mpp[5376]: mpi: mpi_decode_put_packet enter ctx 0x5597178740 packet 0x55971786a0 mpp[5376]: mpi: mpi_decode_put_packet leave ret 0 mpp[5376]: mpi: mpi_decode_get_frame enter ctx 0x5597178740 frame 0x7ff8985b08 mpp[5376]: h264d_api: [pkt_in_timeUs] is_avcC=0, in_pts=0, pkt_eos=0, len=4096, pkt_no=6 mpp[5376]: mpi: mpi_decode_get_frame leave ret 0 mpp[5376]: h264d_api: [CALLBACK] g_no=6, out_idx=1, dpberr=0, harderr=0, ref_flag=1, errinfo=0, discard=0 mpp[5376]: mpi: mpi_decode_put_packet enter ctx 0x5597178740 packet 0x55971786a0 mpp[5376]: mpi: mpi_decode_put_packet leave ret 0 mpp[5376]: mpi: mpi_decode_get_frame enter ctx 0x5597178740 frame 0x7ff8985b08 mpp[5376]: h264d_api: [pkt_in_timeUs] is_avcC=0, in_pts=0, pkt_eos=0, len=4096, pkt_no=6 mpp[5376]: mpi: mpi_decode_get_frame leave ret 0 mpp[5376]: mpi_dec_test: 0x5597178740 decode get frame 5 mpp[5376]: h264d_parse: SliceSTATE_ResetSlice mpp[5376]: h264d_parse: SliceSTATE_ReadNalu mpp[5376]: h264d_parse: nalu_type=SLICE. mpp[5376]: h264d_sps: [DPB_size] dpb_size[0]=1, mvc_flag=0, dpb_size[1]=0 mpp[5376]: h264d_slice: [SLICE_HEAD] type=0, layer_id=0,sps_id=0, pps_id=0, struct=3, frame_num=6 mpp[5376]: h264d_parse: SliceSTATE_ParseNalu mpp[5376]: h264d_init: [DPB_malloc] g_framecnt=6, com_flag=0, mark_idx=0, slot_idx=0, slice_type=0, struct=3, lay_id=0 mpp[5376]: h264d_init: [DPB_INFO] cur_slot_idx=0 mpp[5376]: h264d_init: [DPB_INFO] ref_slot_idx[0]=1 mpp[5376]: h264d_init: [DPB_MARK_INFO] slot_idx=0, top_used=1, bot_used=1, out_flag=1, fd=0xff mpp[5376]: h264d_init: [DPB_MARK_INFO] ---------- cur_slot=0 -------------------- mpp[5376]: h264d_init: [DPB_REF_ERR] slot_idx=1, dpb_err[0]=0 mpp[5376]: h264d_init: list0 dpb: cur_err_flag=0, pps_refs=1, over_flag=0, num_ref_l0=1 mpp[5376]: h264d_parse: SliceSTATE_InitPicture mpp[5376]: h264d_parse: SliceSTATE_GetSliceData mpp[5376]: h264d_parse: SliceSTATE_RegisterOneFrame mpp[5376]: h264d_dpb: [DPB_size] p_Dpb->used_size=1 mpp[5376]: h264d_api: [pkt_in_timeUs] is_avcC=0, in_pts=0, pkt_eos=0, len=3729, pkt_no=7 mpp[5376]: h264d_api: [CALLBACK] g_no=7, out_idx=0, dpberr=0, harderr=0, ref_flag=1, errinfo=0, discard=0 mpp[5376]: mpi: mpi_decode_get_frame enter ctx 0x5597178740 frame 0x7ff8985b08 mpp[5376]: mpi: mpi_decode_get_frame leave ret 0 mpp[5376]: mpi_dec_test: 0x5597178740 decode get frame 6 mpp[5376]: mpi: mpi_decode_get_frame enter ctx 0x5597178740 frame 0x7ff8985b08 mpp[5376]: mpi: mpi_decode_get_frame leave ret 0 mpp[5376]: mpi: mpi_decode_put_packet enter ctx 0x5597178740 packet 0x55971786a0 mpp[5376]: mpi: mpi_decode_put_packet leave ret 0 mpp[5376]: mpi: mpi_decode_get_frame enter ctx 0x5597178740 frame 0x7ff8985b08 mpp[5376]: h264d_api: [pkt_in_timeUs] is_avcC=0, in_pts=0, pkt_eos=0, len=4096, pkt_no=7 mpp[5376]: mpi: mpi_decode_get_frame leave ret 0 mpp[5376]: mpi: mpi_decode_put_packet enter ctx 0x5597178740 packet 0x55971786a0 mpp[5376]: mpi: mpi_decode_put_packet leave ret 0 mpp[5376]: mpi: mpi_decode_get_frame enter ctx 0x5597178740 frame 0x7ff8985b08 mpp[5376]: h264d_api: [pkt_in_timeUs] is_avcC=0, in_pts=0, pkt_eos=0, len=4096, pkt_no=7 mpp[5376]: h264d_parse: SliceSTATE_ResetSlice mpp[5376]: h264d_parse: SliceSTATE_ReadNalu mpp[5376]: h264d_parse: nalu_type=SLICE. mpp[5376]: h264d_sps: [DPB_size] dpb_size[0]=1, mvc_flag=0, dpb_size[1]=0 mpp[5376]: h264d_slice: [SLICE_HEAD] type=0, layer_id=0,sps_id=0, pps_id=0, struct=3, frame_num=7 mpp[5376]: h264d_parse: SliceSTATE_ParseNalu mpp[5376]: h264d_init: [DPB_malloc] g_framecnt=7, com_flag=0, mark_idx=1, slot_idx=1, slice_type=0, struct=3, lay_id=0 mpp[5376]: h264d_init: [DPB_INFO] cur_slot_idx=1 mpp[5376]: h264d_init: [DPB_INFO] ref_slot_idx[0]=0 mpp[5376]: h264d_init: [DPB_MARK_INFO] slot_idx=1, top_used=1, bot_used=1, out_flag=1, fd=0xff mpp[5376]: h264d_init: [DPB_MARK_INFO] ---------- cur_slot=1 -------------------- mpp[5376]: h264d_init: [DPB_REF_ERR] slot_idx=0, dpb_err[0]=0 mpp[5376]: h264d_init: list0 dpb: cur_err_flag=0, pps_refs=1, over_flag=0, num_ref_l0=1 mpp[5376]: h264d_parse: SliceSTATE_InitPicture mpp[5376]: h264d_parse: SliceSTATE_GetSliceData mpp[5376]: h264d_parse: SliceSTATE_RegisterOneFrame mpp[5376]: h264d_dpb: [DPB_size] p_Dpb->used_size=1 mpp[5376]: h264d_api: [pkt_in_timeUs] is_avcC=0, in_pts=0, pkt_eos=0, len=3405, pkt_no=8 mpp[5376]: mpi: mpi_decode_get_frame leave ret 0 mpp[5376]: mpi: mpi_decode_put_packet enter ctx 0x5597178740 packet 0x55971786a0 mpp[5376]: mpi: mpi_decode_put_packet leave ret 0 mpp[5376]: mpi: mpi_decode_get_frame enter ctx 0x5597178740 frame 0x7ff8985b08 mpp[5376]: h264d_api: [pkt_in_timeUs] is_avcC=0, in_pts=0, pkt_eos=0, len=4096, pkt_no=8 mpp[5376]: mpi: mpi_decode_get_frame leave ret 0 mpp[5376]: mpi: mpi_decode_put_packet enter ctx 0x5597178740 packet 0x55971786a0 mpp[5376]: mpi: mpi_decode_put_packet leave ret 0 mpp[5376]: h264d_api: [pkt_in_timeUs] is_avcC=0, in_pts=0, pkt_eos=0, len=4096, pkt_no=8 mpp[5376]: mpi: mpi_decode_get_frame enter ctx 0x5597178740 frame 0x7ff8985b08 mpp[5376]: mpi: mpi_decode_get_frame leave ret 0 mpp[5376]: mpi: mpi_decode_put_packet enter ctx 0x5597178740 packet 0x55971786a0 mpp[5376]: mpi: mpi_decode_put_packet leave ret 0 mpp[5376]: mpi: mpi_decode_get_frame enter ctx 0x5597178740 frame 0x7ff8985b08 mpp[5376]: h264d_api: [CALLBACK] g_no=8, out_idx=1, dpberr=0, harderr=0, ref_flag=1, errinfo=0, discard=0 mpp[5376]: mpi: mpi_decode_get_frame leave ret 0 mpp[5376]: mpi: mpi_decode_put_packet enter ctx 0x5597178740 packet 0x55971786a0 mpp[5376]: h264d_parse: SliceSTATE_ResetSlice mpp[5376]: mpi: mpi_decode_put_packet leave ret 0 mpp[5376]: h264d_parse: SliceSTATE_ReadNalu mpp[5376]: mpi: mpi_decode_get_frame enter ctx 0x5597178740 frame 0x7ff8985b08 mpp[5376]: h264d_parse: nalu_type=SLICE. mpp[5376]: h264d_sps: [DPB_size] dpb_size[0]=1, mvc_flag=0, dpb_size[1]=0 mpp[5376]: mpi: mpi_decode_get_frame leave ret 0 mpp[5376]: h264d_slice: [SLICE_HEAD] type=0, layer_id=0,sps_id=0, pps_id=0, struct=3, frame_num=8 mpp[5376]: mpi_dec_test: 0x5597178740 decode get frame 7 mpp[5376]: h264d_parse: SliceSTATE_ParseNalu mpp[5376]: h264d_init: [DPB_malloc] g_framecnt=8, com_flag=0, mark_idx=0, slot_idx=0, slice_type=0, struct=3, lay_id=0 mpp[5376]: h264d_init: [DPB_INFO] cur_slot_idx=0 mpp[5376]: h264d_init: [DPB_INFO] ref_slot_idx[0]=1 mpp[5376]: h264d_init: [DPB_MARK_INFO] slot_idx=0, top_used=1, bot_used=1, out_flag=1, fd=0xff mpp[5376]: h264d_init: [DPB_MARK_INFO] ---------- cur_slot=0 -------------------- mpp[5376]: h264d_init: [DPB_REF_ERR] slot_idx=1, dpb_err[0]=0 mpp[5376]: h264d_init: list0 dpb: cur_err_flag=0, pps_refs=1, over_flag=0, num_ref_l0=1 mpp[5376]: h264d_parse: SliceSTATE_InitPicture mpp[5376]: h264d_parse: SliceSTATE_GetSliceData mpp[5376]: h264d_parse: SliceSTATE_RegisterOneFrame mpp[5376]: h264d_dpb: [DPB_size] p_Dpb->used_size=1 mpp[5376]: h264d_api: [pkt_in_timeUs] is_avcC=0, in_pts=0, pkt_eos=0, len=3769, pkt_no=9 mpp[5376]: h264d_api: [pkt_in_timeUs] is_avcC=0, in_pts=0, pkt_eos=0, len=4096, pkt_no=9 mpp[5376]: h264d_api: [CALLBACK] g_no=9, out_idx=0, dpberr=0, harderr=0, ref_flag=1, errinfo=0, discard=0 mpp[5376]: h264d_parse: SliceSTATE_ResetSlice mpp[5376]: h264d_parse: SliceSTATE_ReadNalu mpp[5376]: h264d_parse: nalu_type=SLICE. mpp[5376]: h264d_sps: [DPB_size] dpb_size[0]=1, mvc_flag=0, dpb_size[1]=0 mpp[5376]: h264d_slice: [SLICE_HEAD] type=0, layer_id=0,sps_id=0, pps_id=0, struct=3, frame_num=9 mpp[5376]: h264d_parse: SliceSTATE_ParseNalu mpp[5376]: h264d_init: [DPB_malloc] g_framecnt=9, com_flag=0, mark_idx=1, slot_idx=1, slice_type=0, struct=3, lay_id=0 mpp[5376]: h264d_init: [DPB_INFO] cur_slot_idx=1 mpp[5376]: h264d_init: [DPB_INFO] ref_slot_idx[0]=0 mpp[5376]: h264d_init: [DPB_MARK_INFO] slot_idx=1, top_used=1, bot_used=1, out_flag=1, fd=0xff mpp[5376]: h264d_init: [DPB_MARK_INFO] ---------- cur_slot=1 -------------------- mpp[5376]: h264d_init: [DPB_REF_ERR] slot_idx=0, dpb_err[0]=0 mpp[5376]: h264d_init: list0 dpb: cur_err_flag=0, pps_refs=1, over_flag=0, num_ref_l0=1 mpp[5376]: h264d_parse: SliceSTATE_InitPicture mpp[5376]: h264d_parse: SliceSTATE_GetSliceData mpp[5376]: h264d_parse: SliceSTATE_RegisterOneFrame mpp[5376]: h264d_dpb: [DPB_size] p_Dpb->used_size=1 mpp[5376]: h264d_api: [pkt_in_timeUs] is_avcC=0, in_pts=0, pkt_eos=0, len=1098, pkt_no=10 mpp[5376]: h264d_api: [pkt_in_timeUs] is_avcC=0, in_pts=0, pkt_eos=0, len=4096, pkt_no=10 mpp[5376]: h264d_api: [CALLBACK] g_no=10, out_idx=1, dpberr=0, harderr=0, ref_flag=1, errinfo=0, discard=0 mpp[5376]: mpi: mpi_decode_get_frame enter ctx 0x5597178740 frame 0x7ff8985b08 mpp[5376]: mpi: mpi_decode_get_frame leave ret 0 mpp[5376]: mpi_dec_test: 0x5597178740 decode get frame 8 mpp[5376]: mpi: mpi_decode_get_frame enter ctx 0x5597178740 frame 0x7ff8985b08 mpp[5376]: mpi: mpi_decode_get_frame leave ret 0 mpp[5376]: mpi_dec_test: 0x5597178740 decode get frame 9 mpp[5376]: mpi_dec_test: 0x5597178740 reach max frame number 10 mpp[5376]: mpi: mpi_control enter ctx 0x5597178740 cmd 310101 parm 0x7ff8985b08 mpp[5376]: mpi: mpi_control leave ret 0 mpp[5376]: mpi_dec_test: 0x5597178740 input 68 pkt output 11 frm decode 10 frames mpp[5376]: mpi: mpi_reset enter ctx 0x5597178740 mpp[5376]: h264d_dpb: warning: max_dec_frame_buffering(1) is less than dpb_size(4) calculated from Profile/Level. mpp[5376]: mpi: mpi_reset leave ret 0 mpp[5376]: mpi: mpp_destroy enter ctx 0x5597178740 mpp[5376]: mpi: mpp_destroy leave ret 0 mpp[5376]: mpi_dec_test: test success max memory 24.90 MB

HermanChen commented 3 years ago

麻烦上传下码流文件,可能 422 格式写文件有问题,也有可能是 YUV 工具有问题

wangjl-william commented 3 years ago

麻烦上传下码流文件,可能 422 格式写文件有问题,也有可能是 YUV 工具有问题 您的意思是3568 这款芯片支持 422的 硬解码是吧 422.zip yuv播放工具 以及 使用系统中的工具 mpi_dec_test 解码后写的文件。

wangjl-william commented 3 years ago

@HermanChen 帮忙看了吗,谢谢。

HermanChen commented 3 years ago

麻烦测试下新的版本是否已经解决了这个问题~多谢先