基于RK3588 Gstreamer 硬件解码MPP 代码实例

目录

1:在此之前先看比较2条指令

2:重要的输出信息

3:代码说明

3.1 appsink 元素 说明

3.2 GstCaps收到数据的格式

 3.3 完整代码

 3.4 CMakeList及文件结构


1:在此之前先看比较2条指令

gst-launch-1.0 rtspsrc location=rtsp://admin:[email protected]:554/ch01.264 ! rtph264depay ! h264parse ! mppvideodec ! fakesink
和
gst-launch-1.0 rtspsrc location=rtsp://admin:[email protected]:554/ch01.264 ! rtph264depay ! h264parse ! avdec_h264 ! fakesink


gst-launch-1.0 rtspsrc location=rtsp://admin:[email protected]:554/ch01.264 ! rtph264depay ! h264parse ! mppvideodec ! videoconvert ! videoscale ! video/x-raw,format=NV12 ! autovideosink



gst-launch-1.0 rtspsrc location=rtsp://admin:[email protected]:554/ch01.264 ! rtph264d

你可能感兴趣的:(RK3568,Android12,RK3588,MPP,NV12)