JeffyCN / meta-rockchip

Yocto BSP layer for the Rockchip SOC boards
Other
120 stars 93 forks source link

gstreamer playback x264 #112

Closed nandra closed 4 months ago

nandra commented 4 months ago

Hello, I have x264 playback working using gstreamer1.0-libav library but it's SW only and took 130% CPU. Can I somehow enable HW decoding for x264 videos please? I'm using RK3566. Thanks.

JeffyCN commented 4 months ago

The sugguested flow would be: gstreamer-rockchip(mppvideodec) -> rockchip-mpp(librockchip_mpp.so) -> Rockchip BSP kernel's mpp driver.

Normally those things should be ready by default in the SDK, you can just run: gst-play-1.0 video