cd build/linux/aarch64 cmake ../../../ make 准备好Tennis1080p.h264文件, 执行 : sudo ./mpi_dec_test-i Tennis1080p.h264 -o 1080P_n.yuv -w1920 -h 1080 -t 7 -d 0 -x 0 【输出问题】:没打印信息,没有输出文件:然后dmesg输出如下: rk_vcodec:mpp_task_attach_fd:1679: can't import dma-buf 1 [ 1904.064617]rk_vcodec: mpp_translate_reg_address:1735: reg[128]: 0x00000001 fd 1 failed [ 1904.064624]rk_vcodec: mpp_task_dump_mem_region:1909: --- dump mem region --- [ 1904.064634]mpp_rkvdec2 fdc38100.rkvdec-core: no memory region mapped [ 1904.064642]rk_vcodec: mpp_process_task_default:566: alloc_task failed. [ 1904.064684]rk_vcodec: mpp_wait_result_default:826: session 000000004d9d2db2 pending listis empty! [ 1904.064699]rk_vcodec: mpp_msgs_wait:1531: session 7 wait result ret -5 [ 1904.564840]mpp_dma_import_fd:197: dma_buf_get fd 1 failed [ 1904.564873]rk_vcodec: mpp_task_attach_fd:1679: can't import dma-buf 1 [ 1904.564882]rk_vcodec: mpp_translate_reg_address:1735: reg[128]: 0x00000001 fd 1 failed [ 1904.564889]rk_vcodec: mpp_task_dump_mem_region:1909: --- dump mem region --- [ 1904.564901]mpp_rkvdec2 fdc38100.rkvdec-core: no memory region mapped [ 1904.564910]rk_vcodec: mpp_process_task_default:566: alloc_task failed. [ 1904.564953]rk_vcodec: mpp_wait_result_default:826: session 000000004d9d2db2 pending list 第二个问题:使用系统默认解码脚本 cd /usr/local/bin ./h264dec.sh mpp[6646]: mpp_info: mpp version: 8a85dc5d author: HermanChen 2022-03-14 [mpp_enc]: Fix stuck onreset async mode encoder mpp[6646]: mpp_rt: NOT found ion allocator mpp[6646]: mpp_rt: found drm allocator mpp[6646]: mpp_info: mpp version: 8a85dc5d author: HermanChen 2022-03-14 [mpp_enc]: Fix stuck onreset async mode encoder mpp[6646]: mpp_info: mpp version: 8a85dc5d author: HermanChen 2022-03-14 [mpp_enc]: Fix stuck onreset async mode encoder mpp[6646]: mpp_info: mpp version: 8a85dc5d author: HermanChen 2022-03-14 [mpp_enc]: Fix stuck onreset async mode encoder Setting pipeline to PAUSED ... ERROR: Pipeline doesn't want to pause. ERROR: from element/GstPipeline:pipeline0/GstXvImageSink:xvimagesink0: Could not initialise Xvoutput Additional debug info: xvimagesink.c(1996): gst_xv_image_sink_open ():/GstPipeline:pipeline0/GstXvImageSink:xvimagesink0: Could not open display (null) Setting pipeline to NULL ... Freeing pipeline ... firefly@firefly:/usr/local/bin$ 请问如果验证32路1080P解码能力,如果进行解码,系统是否有问题? |
-
11.75 KB, 下载次数: 0, 下载积分: 灯泡 -1 , 经验 -1