|
发表于 2024-2-22 20:03:47
只看该作者
5#
本帖最后由 wuyq 于 2024-2-23 09:33 编辑
继续在rk3568pc盒子中使用pycharm打开demo.py文件,修改【print(str(MediaBuffer.getActiveData()))】输出位置,并使用pycharm启动代码,命令参数不变,输出结果- Firefly FFMedia: v2.2.3
- input source is a rtsp url
- INFO: ff_media: connectToServer: connected to server 192.168.8.216:554
- INFO: 16ModuleRtspClient: init: rtsp para w h: 3840 2160, ws hs: 3840 2160, format: H265
- rga_api version 1.3.0_[0] (RGA is compiling with meson base: $PRODUCT_BASE)
- INFO: 10MppDecoder: getTimeoutSample: 0x39143580 frame info changed 1 error 0 discard 0
- [147 0 171 ... 0 252 6]
- [151 152 151 ... 142 140 133]
- ==================Pipe===================
- ModuleRtspClient (H265 3840x2160)
- |--->ModuleMppDec (NV12 3840x2160)
- |--->ModuleRga (BGR24 1280x720)
- |--->���8 (Unknow V4L2 Format 0x0)
- [172 173 172 ... 142 140 133]
复制代码 cv2展示的内容正常,流也正常。
并且直接使用命令行也能正常输出了~~~
然后重启rk3568pc,直接启动pycharm,再次尝试,输出结果- Firefly FFMedia: v2.2.3
- input source is a rtsp url
- INFO: ff_media: connectToServer: connected to server 192.168.8.216:554
- INFO: 16ModuleRtspClient: init: rtsp para w h: 3840 2160, ws hs: 3840 2160, format: H265
- rga_api version 1.3.0_[0] (RGA is compiling with meson base: $PRODUCT_BASE)
- INFO: 10MppDecoder: getTimeoutSample: 0x26419580 frame info changed 1 error 0 discard 0
- [0 0 0 ... 0 0 0]
- ==================Pipe===================
- ModuleRtspClient (H265 3840x2160)
- |--->ModuleMppDec (NV12 3840x2160)
- |--->ModuleRga (BGR24 1280x720)
- |--->�a (Unknow V4L2 Format 0x0)
- wait...[0 0 0 ... 0 0 0]
复制代码 又又又又黑屏了。请大神指导~~~
并且直接使用命令行也无法正常输出了~~~
|
|