Toybrick
标题:
rtsp库解码h264成功,解码h265获取不到frame
[打印本页]
作者:
18565542915
时间:
2020-5-17 12:16
标题:
rtsp库解码h264成功,解码h265获取不到frame
本帖最后由 18565542915 于 2020-5-17 13:27 编辑
如题,用rk3399pro的rtsp库解码h265出现decode get frame failed, return -8的情况。
已检查ip,用户和密码均无误,使用VLC可以播放
固件版本v1.5
具体报错信息如下:
root@toybrick build]# ./rtsp_server
mpi: mpp version: Without VCS info
mpp_rt: NOT found ion allocator
mpp_rt: found drm allocator
[2020/05/17 01:23:42] D/: listening rtcp port 36231
[2020/05/17 01:23:42] D/: listening rtp port 36230
[2020/05/17 01:23:42] D/: listening rtp port 36240
[2020/05/17 01:23:42] D/: listening rtcp port 36241
[2020/05/17 01:23:42] D/: curlto
rtsp://192.168.1.170:554
, cli 36230:36240, tcp: 0
[2020/05/17 01:23:43] D/: # FOUND[0] media: video
[2020/05/17 01:23:43] D/: # FOUND[0] control: trackID=0
[2020/05/17 01:23:43] D/: # FOUND[0] rtpmap: id:96 format:H265 bitrate:90000
[2020/05/17 01:23:43] D/: # FOUND[1] media: audio
[2020/05/17 01:23:43] D/: # FOUND[1] control: trackID=1
[2020/05/17 01:23:43] D/: # FOUND[1] rtpmap: id:0 format
CMU bitrate:8000
[2020/05/17 01:23:43] D/: # TOTAL FOUND 2
[2020/05/17 01:23:43] D/: TRACK [0] : trackID=0
[2020/05/17 01:23:43] D/: setup 36230 , 36231, uri:
rtsp://192.168.1.170:554/trackID=0
[2020/05/17 01:23:43] D/: TRACK [1] : trackID=1
[2020/05/17 01:23:43] W/: (play in curl_rtsp.cpp:176): PLAY
rtsp://192.168.1.170:554
failed.
[2020/05/17 01:23:43] E/: (enable in unit_rtsp_client.cpp:279): rtsp client connect
rtsp://192.168.1.170:554
failed.
[2020/05/17 01:23:43] D/: close curl
rtsp://192.168.1.170:554
[2020/05/17 01:23:43] D/: destroying curl rtsp ...
[2020/05/17 01:23:43] D/: destroying curl rtsp ... done
mpp_log: decode_get_frame failed, return -8.
mpp_log: decode_get_frame failed, return -8.
作者:
18565542915
时间:
2020-5-17 13:25
本帖最后由 18565542915 于 2020-5-17 13:28 编辑
有没有人知道怎么回事啊
作者:
jefferyzhang
时间:
2020-5-17 19:08
建议直接用mpp库自己写。论坛带的那些什么rtsp编解码库都是为了快速demo用的,不建议做项目用。
而且这库目前也没有人有空维护。
作者:
18565542915
时间:
2020-5-18 09:07
jefferyzhang 发表于 2020-5-17 19:08
建议直接用mpp库自己写。论坛带的那些什么rtsp编解码库都是为了快速demo用的,不建议做项目用。
而且这库目 ...
好的,谢谢
欢迎光临 Toybrick (https://t.rock-chips.com/)
Powered by Discuz! X3.3