Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

rk3588编码可以实现缩放功能吗 #686

Open
taozw-a opened this issue Sep 20, 2024 · 3 comments
Open

rk3588编码可以实现缩放功能吗 #686

taozw-a opened this issue Sep 20, 2024 · 3 comments

Comments

@taozw-a
Copy link

taozw-a commented Sep 20, 2024

RK3588平台,使用mpp编码库,如何做到编码输出不同分辨率的功能,比如原始数据是19201080,编码为1280720分辨率的码流数据,看手册介绍是有视频缩放的功能,但是没有找到对应的代码,使用mpi_enc_test,如果分辨率参数与原始数据的分辨率对不上,编码器没有报错,但是却是花屏的数据,要做到缩放功能,是不是必须借助librga之类的库。请大神救急!!!

@HermanChen
Copy link
Collaborator

mpp 库不带编码缩放功能,这部分需要用 rga 去实现会比较高效

@androidHQJ
Copy link

mpp 库不带编码缩放功能,这部分需要用 rga 去实现会比较高效

为什么我用demo 测试时,是可以改变输出分辨率的?是MPP 还是 v4l2 改变的呢?
“./mpi_enc_test -i /dev/video0 -t 7 -n 200 -o /storage/emulated/0/rkMpp/outTest.h264 -w 720 -h 480 -fps 25”

@HermanChen
Copy link
Collaborator

这个是由 v4l2 定的,这里的配置只是给编码器本身用

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

3 participants