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

重新源码编译rocketchip-mpp后缺失mppjpegenc和h264的mpp #664

Open
huafengq opened this issue Aug 26, 2024 · 6 comments
Open

重新源码编译rocketchip-mpp后缺失mppjpegenc和h264的mpp #664

huafengq opened this issue Aug 26, 2024 · 6 comments

Comments

@huafengq
Copy link

在Ubuntu 22.04下,从的源码gstreamer-rockchip编译后,只有三个mpp编解码支持。麻烦帮忙看看为什么缺少了mppjpegenc和h264的mpp?谢谢!

root@dcic:/# gst-inspect-1.0 | grep mpp
rockchipmpp: mppjpegdec: Rockchip's MPP JPEG image decoder
rockchipmpp: mppvideodec: Rockchip's MPP video decoder
rockchipmpp: mppvpxalphadecodebin: VP8/VP9 Alpha Decoder
typefindfunctions: audio/x-musepack: mpc, mpp, mp+
root@dcic:/# gst-inspect-1.0 mppjpegdec
Factory Details:
Rank primary + 1 (257)
Long-name Rockchip's MPP JPEG image decoder
Klass Decoder/Image
Description JPEG hardware decoder
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

@HermanChen
Copy link
Collaborator

@JeffyCN

@JeffyCN
Copy link
Contributor

JeffyCN commented Aug 26, 2024

mpp is not working, the plugins failed to init it.

@neelsani
Copy link

在Ubuntu 22.04下,从的源码gstreamer-rockchip编译后,只有三个mpp编解码支持。麻烦帮忙看看为什么缺少了mppjpegenc和h264的mpp?谢谢!

root@dcic:/# gst-inspect-1.0 | grep mpp rockchipmpp: mppjpegdec: Rockchip's MPP JPEG image decoder rockchipmpp: mppvideodec: Rockchip's MPP video decoder rockchipmpp: mppvpxalphadecodebin: VP8/VP9 Alpha Decoder typefindfunctions: audio/x-musepack: mpc, mpp, mp+ root@dcic:/# gst-inspect-1.0 mppjpegdec Factory Details: Rank primary + 1 (257) Long-name Rockchip's MPP JPEG image decoder Klass Decoder/Image Description JPEG hardware decoder 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

What kernel are you using?

@huafengq
Copy link
Author

在Ubuntu 22.04下,从的源码gstreamer-rockchip编译后,只有三个mpp编解码支持。麻烦帮忙看看为什么缺少了mppjpegenc和h264的mpp?谢谢!
root@dcic:/# gst-inspect-1.0 | grep mpp rockchipmpp: mppjpegdec: Rockchip's MPP JPEG image decoder rockchipmpp: mppvideodec: Rockchip's MPP video decoder rockchipmpp: mppvpxalphadecodebin: VP8/VP9 Alpha Decoder typefindfunctions: audio/x-musepack: mpc, mpp, mp+ root@dcic:/# gst-inspect-1.0 mppjpegdec Factory Details: Rank primary + 1 (257) Long-name Rockchip's MPP JPEG image decoder Klass Decoder/Image Description JPEG hardware decoder 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

What kernel are you using?

The kernel is 5.10.198 for rk356x. the ubuntu 18.04 can work with mppjpegenc, mpph264enc/dec on the same kernel linux.
could you please help to point how to fix this issue, Thanks!

@huafengq
Copy link
Author

mpp is not working, the plugins failed to init it.

Thanks! how to init the mpp success, or how to debug to find the root cause and where the initialization failed?

@HermanChen
Copy link
Collaborator

provide the log please

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

4 participants