JeffyCN / mirrors

Mirrors of Rockchip BSP repositories, only contains yocto related ones to keep it thin since the yocto would try to clone the whole repository.
Other
13 stars 5 forks source link

gstreamer-rockchip cannot decode NV16 #12

Closed avafinger closed 1 year ago

avafinger commented 1 year ago

@JeffyCN

I updated gstreamer-rockchip and it cannot decode NV16 anymore. My previous version that worked was with the commit: https://github.com/JeffyCN/mirrors/commit/2ed1e68b0aa77728b1d493344d8e62a04b1b64e0

gst-launch-1.0 filesrc location=/apps/Videos/Poltergeist_DOM_TrailerD-1080p-HDTN.mp4 ! qtdemux ! h264parse ! mppvideodec arm-afbc=1 ! waylandsink

JeffyCN commented 1 year ago

the waylandsink requires dma-feature for this kind of usage:

https://github.com/JeffyCN/mirrors/commit/4d2ae6b3d8c4fdbc8f2971ce7b64ecaf0a097412

avafinger commented 1 year ago

I've cloned the gstreamer-rockchip which has all commits.

This was also working:

gst-launch-1.0 filesrc location=/apps/Videos/Poltergeist_DOM_TrailerD-1080p-HDTN.mp4 ! qtdemux ! h264parse ! mppvideodec ! glimagesink

JeffyCN commented 1 year ago

export GST_MPP_DEC_DMA_FEATURE=1

or set dma-feature=true for mppvideodec