Firefly开源社区

打印 上一主题 下一主题

[技术讨论] ff_media 硬件解码demo运行失败!

101

积分

0

威望

0

贡献

技术小白

积分
101

ff_media 硬件解码demo运行失败!

发表于 2023-6-15 17:22:23      浏览:4059 | 回复:1        打印      只看该作者   [复制链接] 楼主
问题描述及复现步骤:
本帖最后由 spp 于 2023-6-15 17:28 编辑

板子:AIO3588JQ
系统:Ubuntu20.04
固件:firefly AIO3588JQ的官方Ubuntu固件


ff_media 仓库的指示,在官方原版固件里编译demo并运行,没有显示画面并出现解码器的报错,如下:
firefly@firefly:~/ffmedia_release/demo$ demo rtsp://admin:Admin123@192.168.8.114//Streaming/Channels/1 -o 1280x720 -d 0 -r 90
INFO: start_instance:


==========================================
INFO: start_instance: enable rtsp client
INFO: 10RtspClient: networkInit: async connecting...
INFO: 10RtspClient: RTPInitDatagramSock: rtp connect success, port 12432
INFO: 16ModuleRtspClient: init: rtsp para w h: 1280 720, ws hs: 1280 720, format: H264
rga_api version 1.8.1_[4]
INFO: 16ModuleDrmDisplay: getDrmDisplayPara: conn_id = 196 enc_id = 197 crtc_id = 68
INFO: 16ModuleDrmDisplay: createDisplayDevice: buffer fd 34
INFO: 16ModuleDrmDisplay: createDisplayDevice: plane id = 114
INFO: start_instance: t_h t_v 1920 1080
INFO: start_instance: hc vc 1 1
INFO: start_instance: dw dh 1920 1080
INFO: start_instance: w h 720 1280
INFO: start_instance: x y w h 600 0 720 1080
INFO: start_instance:
Input Source:   rtsp://admin:Admin123@192.168.8.114//Streaming/Channels/1
Input format:   1280x720 H264
Output format:  720x1280 NV12
Encode type:    H264
Decoder:        enable
Rga:            enable
Encoder:        disable
Enmux:          disable
RtspClient:     enable
File:           disable
Rtsp push:      disable
INFO: 16ModuleDrmDisplay: start: input NV12 0 0 720 1280 720 1280
INFO: 16ModuleDrmDisplay: start: output NV12 600 0 720 1080 1920 1080
INFO: 10RtspClient: get: send sps size 32
INFO: 10RtspClient: get: send pps size 8
INFO: 10MppDecoder: getTimeoutSample: 0x55847284c0 frame info changed 1 error 0 discard 0
INFO: 10MppDecoder: getTimeoutSample: 0x55847284c0 frame info changed 0 error 1 discard 0
...
INFO: 10MppDecoder: getTimeoutSample: 0x55847284c0 frame info changed 0 error 1 discard 0
INFO: 10MppDecoder: getTimeoutSample: 0x55847284c0 frame info changed 0 error 1 discard 0
ERROR: 9ModuleRga: running: wait for productor ModuleMppDec timeout
ERROR: 16ModuleDrmDisplay: running: wait for productor ModuleRga timeout
INFO: 10MppDecoder: getTimeoutSample: 0x55847284c0 frame info changed 0 error 1 discard 0
INFO: 10MppDecoder: getTimeoutSample: 0x55847284c0 frame info changed 0 error 1 discard 0
ffmedia编译过程没有报错,python3.8的whl包报同样的错


2.zip

882 Bytes, 下载次数: 1, 下载积分: 灯泡 -1 , 经验 -1

回复

使用道具 举报

101

积分

0

威望

0

贡献

技术小白

积分
101
发表于 2023-6-15 17:50:13        只看该作者  沙发
cd /boot/; ln -sf rk3588-firefly-aio-3588q.dtb rk-kernel.dtb 重启再运行就可以了
回复

使用道具 举报

您需要登录后才可以回帖 登录 | 立即注册

本版积分规则

友情链接 : 爱板网 电子发烧友论坛 云汉电子社区 粤ICP备14022046号-2
快速回复 返回顶部 返回列表