Toybrick

标题: MPP解码问题 [打印本页]

作者: Kurt_Koo    时间: 2022-8-31 19:36
标题: MPP解码问题
硬件:TB-RK3399ProD
操作系统:Debian

利用GStreamer生成测试H264视频文件
  1. gst-launch-1.0 videotestsrc num-buffers=100 ! videoconvert ! x264enc ! h264parse ! qtmux ! filesink location=test_h264.mp4
复制代码

用"/usr/share/rockchip-mpp/example/toybrick/mpp_decode -i ~/test_h264.mp4 -o test_output -t H264"测试mpp,运行失败,log如下:
toybrick@debian10:/usr/share/rockchip-mpp/example/toybrick$ sudo ./mpp_decode -i ~/test_h264.mp4  -o test_output -t H264
in: /home/toybrick/test_h264.mp4, out test_output, type H264
mpp[2737]: mpp_info: mpp version: unknown mpp version for missing VCS info
mpp[2737]: mpp_rt: NOT found ion allocator
mpp[2737]: mpp_rt: found drm allocator
[Toybrick] mpp decode get frame timeout
Get decoded packet failed, error -110
Put packet, size 102400


请问这里超过timeout是因为什么?

用"/usr/share/rockchip-mpp/example/toybrick/mpp_decode -i ~/test.jpg -o test_output -t MJPEG"测试mpp,运行是成功的。

谢谢!

作者: Kurt_Koo    时间: 2022-9-1 15:14
已找出问题:
mpp面向的是H.264文件,不是MP4文件。用H.264文件测试,是正常运行的。




欢迎光临 Toybrick (https://t.rock-chips.com/) Powered by Discuz! X3.3