Skip to content

3576上使用OSD字符叠加不了 #920

@denghengli

Description

@denghengli

一、硬件平台
RK3576

二、程序运行环境
1、内核版本
root@ok3576-buildroot:# cat /proc/version
Linux version 6.1.84 (srz@66b28d991bf5) (aarch64-none-linux-gnu-gcc (GNU Toolchain for the A-profile Architecture 10.3-2021.07 (arm-10.29)) 10.3.1 20210621, GNU ld (GNU Toolchain for the A-profile Architecture 10.3-2021.07 (arm-10.29)) 2.36.1.20210621) #1 SMP Thu Jul 3 18:38:39 CST 2025
root@ok3576-buildroot:
#

2、mpp版本
https://gitee.com/hermanchen82/mpp/tree/1.0.7/
https://gitee.com/hermanchen82/mpp/tree/1.0.11/

3、测试程序
https://gitee.com/hermanchen82/mpp/blob/1.0.7/test/mpi_enc_test.c
https://gitee.com/hermanchen82/mpp/blob/1.0.11/test/mpi_enc_test.c

三、使用方法
(1)使能OSD叠加
export osd_enable=1
(2)H264编码
mpi_enc_test -i yuv420p_1920x1080.yuv -w 1920 -h 1080 -f 4 -t 7 -o yuv420p_1920x1080.h264
(3)H265编码
mpi_enc_test -i yuv420p_1920x1080.yuv -w 1920 -h 1080 -f 4 -t 16777220 -o yuv420p_1920x1080.h265

四、问题描述
试过1.0.7与1.0.11两个版本
1、1.0.7版本时
(1)H264编码,osd_enable=1 与 osd_enable=0 日志都一样,osd_enable=1时实际没有叠加。日志详见《H264编码,osd_enable=1与osd_enable=0.txt》
(2)H265编码,osd_enable=0时,能正常编码。日志详见《H265编码,osd_enable=0.txt》
(3)H265编码,osd_enable=1时,编码异常,内核报错。日志详见《H265编码,osd_enable=1.txt》
2、1.0.11版本时
(1)H264编码,osd_enable=1 与 osd_enable=0 日志都一样,osd_enable=1时实际没有叠加
(2)H265编码,osd_enable=0时,能正常编码
(3)H265编码,osd_enable=1时,能正常编码,但实际没叠加

RK3576使用MPP视频编解码问题.zip

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions