|
【Linux】
RK3399 ffmpeg - librga/mpp errors
Posted at 5/26/2022 10:44:23
View:4320
|
Replies:5
Print
[Copy Link]
1#
I'm using the GPT ubuntu 20.04 build and have tried to read a udp mpegts stream by using:
ffplay -fflags nobuffer -f:v mpegts -an -probesize 8192 udp://0.0.0.0:8554
Instead I get alot of repeating errors that appear to originate from librga:
rga_api version 1.7.0_[1]
RgaBlit(1387) RGA_BLIT fail: Invalid argument
RgaBlit(1388) RGA_BLIT fail: Invalid argument
fd-vir-phy-hnd-format[22, (nil), (nil), (nil), 0]
rect[0, 0, 640, 360, 640, 368, 10, 0]
f-blend-size-rotation-col-log-mmu[0, 0, 0, 0, 0, 0, 1]
fd-vir-phy-hnd-format[0, 0x7f0c009ca0, (nil), (nil), 0]
rect[0, 0, 640, 360, 640, 384, 11, 0]
f-blend-size-rotation-col-log-mmu[0, 0, 0, 0, 0, 0, 1]
This output the user patamaters when rga call blit fail
[h264_rkmpp @ 0x7f14008d00] Doing slow software conversion
This also appears when trying to simply play an mp4. i.e from learnopencv VideoReadWriteDisplay/chaplin,mp4
ffplay chaplin.mp4
At startup it also shows the following error in mpp:
mpp[1875]: mpp_info: mpp version: 8a85dc5d author: Herman Chen 2022-03-14 [mpp_enc]: Fix stuck on reset
async mode encoder
mpp[1875]: mpp_rt: NOT found ion allocator
mpp[1875]: mpp_rt: found drm allocator
mpp[1875]: hal_h264d_rkv_reg: control info: fmt 7, w 640, h 360
mpp[1875]: mpp_buf_slot: set frame info: w 640 h 360 hor 640 ver 368
mpp[1875]: mpp_dec: setting default w 640 h 360 h_str 640 v_str 368
mpp[1875]: hal_h264d_rkv_reg: control info: fmt 7, w 640, h 360
mpp[1875]: mpp_buf_slot: set frame info: w 640 h 360 hor 640 ver 368
mpp[1875]: mpp_dec: setting default w 640 h 360 h_str 640 v_str 368
[h264_rkmpp @ 0x7f14008d00] Decoder noticed an info change (640x360), format=0
librga fail to get driver version! Legacy mode will be enabled.
Thank you for any help in getting this working properly |
|