Firefly Open Source Community

   Login   |   Register   |
New_Topic
Print Previous Topic Next Topic

[Linux] RK3399 ffmpeg - librga/mpp errors

14

Credits

0

Prestige

0

Contribution

new registration

Rank: 1

Credits
14
Posted at 4/2/2023 14:25:35      1#
I have the same problem with lots of BlitRGA errors and warning messages added to syslog and journalctl when using gstreamer with mpph264enc
My gstreamer command takes a MP4 file, decodes it and re-encodes it.
```
gst-launch-1.0 filesrc location=source.mp4 ! decodebin ! textoverlay text="2023-04-01" ! mpph264enc ! h264parse ! filesink location=encode_mpp.264
```

The error messages that fill the syslog / journalctl ar
```
fd-vir-phy-hnd-format[47, (nil), (nil), (nil), 0]
rect[0, 0, 1920, 1080, 1920, 1088, 2560, 0]
f-blend-size-rotation-col-log-mmu[0, 0, 0, 0, 0, 0, 1]
fd-vir-phy-hnd-format[44, (nil), (nil), (nil), 0]
rect[0, 0, 1920, 1080, 1920, 1088, 2560, 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
RgaBlit(1387) RGA_BLIT fail: Invalid argument
RgaBlit(1388) RGA_BLIT fail: Invalid argument
fd-vir-phy-hnd-format[52, (nil), (nil), (nil), 0]
rect[0, 0, 1920, 1080, 1920, 1088, 2560, 0]
f-blend-size-rotation-col-log-mmu[0, 0, 0, 0, 0, 0, 1]
fd-vir-phy-hnd-format[44, (nil), (nil), (nil), 0]
rect[0, 0, 1920, 1080, 1920, 1088, 2560, 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
RgaBlit(1387) RGA_BLIT fail: Invalid argument
RgaBlit(1388) RGA_BLIT fail: Invalid argument
```

This is on a RK3568 board from Firefly.

Linux firefly 4.19.206 #369 SMP Thu Dec 16 10:17:57 CST 2021 aarch64 aarch64 aarch64 GNU/Linux

gst-launch-1.0 --version
GStreamer 1.16.2

gst-inspect-1.0 mpp264enc

Factory Details:
Rank primary + 1 (257)
Long-name Rockchip Mpp H264 Encoder
Klass Codec/Encoder/Video
Description Encode video streams via Rockchip Mpp
Author Randy Li randy.li@rock-chips.com, Jeffy Chen jeffy.chen@rock-chips.com

Plugin Details:
Name rockchipmpp
Description Rockchip Mpp Video Plugin
Filename /usr/lib/aarch64-linux-gnu/gstreamer-1.0/libgstrockchipmpp.so
Version 1.14.4
License LGPL
Source module gst-rockchip
Binary package GStreamer Rockchip Plug-ins
Origin URL Unknown package origin

cat /root-ro/usr/lib/aarch64-linux-gnu/pkgconfig/rockchip_mpp.pc
prefix=/usr
exec_prefix=${prefix}
libdir=${prefix}/lib/aarch64-linux-gnu
includedir=${prefix}/include

Name: rockchip_mpp
Description: Rockchip Media Process Platform
Requires.private:
Version: 1.3.8
Libs: -L${libdir} -lrockchip_mpp
Libs.private:
Cflags: -I${includedir}

mpp_info_test
mpp[3792273]: mpp_info_test: normal version log:
mpp[3792273]: mpp_info: mpp version: 8a85dc5 author: Herman Chen 2022-03-14 [mpp_enc]: Fix stuck on reset async mode encoder
mpp[3792273]: mpp_info_test: history version log:
mpp[3792273]: mpp_info: mpp version history 10:
mpp[3792273]: mpp_info: 8a85dc5 author: Herman Chen 2022-03-14 [mpp_enc]: Fix stuck on reset async mode encoder (HEAD -> master, origin/develop)
mpp[3792273]: mpp_info: c07169d author: Jeffy Chen 2022-03-11 [misc]: Fix a few compile warnings and errors
mpp[3792273]: mpp_info: da6654c author: Yandong Lin 2022-03-10 [h264d_init]: fix h264 video with 10bit parse err
mpp[3792273]: mpp_info: f02fd23 author: Herman Chen 2022-03-09 [mpp_enc]: Use meta with default value to get info
mpp[3792273]: mpp_info: 72a6118 author: Herman Chen 2022-03-09 [mpp_meta]: Add mpp_meta_get with default value
mpp[3792273]: mpp_info: 98ac9b2 author: Hongjin Li 2022-03-09 [h264d_dpb]: Fix h264 video flicker issue
mpp[3792273]: mpp_info: 22caf3f author: toby.zhang 2022-03-08 [hal_vepu580]: Add scene_mode to distinguish ipc and none ipc scene.
mpp[3792273]: mpp_info: 2eb15d5 author: Herman Chen 2022-03-08 [mpp_enc_cfg]: Add tuning scene mode check
mpp[3792273]: mpp_info: ff40ff4 author: Herman Chen 2022-03-07 [mpp_enc_cfg]: Add fine tuning paramter define
mpp[3792273]: mpp_info: 3dea9cc author: zj 2022-03-07 [mpp_soc]: rk3368 has h264 decoder with vdpu1_2160p
Reply

Use props Report

You need to log in before you can reply Login | Register

This forum Credits Rules

Quick Reply Back to top Back to list