[RK3568 Android12] MPP视频硬解码
阿里云国内75折 回扣 微信号:monov8 |
阿里云国际,腾讯云国际,低至75折。AWS 93折 免费开户实名账号 代冲值 优惠多多 微信号:monov8 飞机:@monov6 |
1: RK文档中对gstreamer以及插件介绍
2: 由于使用的是RK提供的Debian系统
如果需要更新系统(无论是ubuntu还是Debian)首先需要查看当前系统的信息
lsb_release -a
root@linaro-alip:~# lsb_release -a
No LSB modules are available.
Distributor ID: Debian
Description: Debian GNU/Linux 11 (bullseye)
Release: 11
Codename: bullseye
root@linaro-alip:~#
root@linaro-alip:~#
root@linaro-alip:~# find . -name libgstrockchipmpp.so
root@linaro-alip:~# cd /
root@linaro-alip:/# find . -name libgstrockchipmpp.so
./usr/lib/aarch64-linux-gnu/gstreamer-1.0/libgstrockchipmpp.so
root@linaro-alip:/# ll ./usr/lib/aarch64-linux-gnu/gstreamer-1.0/
-bash: ll未找到命令
root@linaro-alip:/# ls -al ./usr/lib/aarch64-linux-gnu/gstreamer-1.0/
总用量 18056
drwxr-xr-x 3 root root 8192 9月 8 2022 .
drwxr-xr-x 75 root root 69632 3月 20 19:56 ..
drwxr-xr-x 3 root root 4096 8月 15 2022 include
-rw-r--r-- 1 root root 18280 9月 24 2020 libcluttergst3.so
-rw-r--r-- 1 root root 44232 9月 13 2021 libgst1394.so
-rw-r--r-- 1 root root 31656 9月 13 2021 libgstaasink.so
-rw-r--r-- 1 root root 14712 9月 13 2021 libgstaccurip.so
-rw-r--r-- 1 root root 56712 9月 13 2021 libgstadder.so
-rw-r--r-- 1 root root 52504 9月 13 2021 libgstaiff.so
-rw-r--r-- 1 root root 19088 9月 13 2021 libgstalaw.so
-rw-r--r-- 1 root root 14640 9月 13 2021 libgstalphacolor.so
-rw-r--r-- 1 root root 47856 9月 13 2021 libgstalpha.so
-rw-r--r-- 1 root root 102704 9月 13 2021 libgstalsa.so
-rw-r--r-- 1 root root 23336 9月 13 2021 libgstamrnb.so
-rw-r--r-- 1 root root 14840 9月 13 2021 libgstamrwbdec.so
-rw-r--r-- 1 root root 40000 9月 13 2021 libgstaom.so
-rw-r--r-- 1 root root 18984 9月 13 2021 libgstapetag.so
-rw-r--r-- 1 root root 6128 9月 13 2021 libgstapp.so
-rw-r--r-- 1 root root 69368 9月 13 2021 libgstasfmux.so
-rw-r--r-- 1 root root 131600 9月 13 2021 libgstasf.so
-rw-r--r-- 1 root root 48656 9月 13 2021 libgstassrender.so
-rw-r--r-- 1 root root 31608 9月 13 2021 libgstaudiobuffersplit.so
-rw-r--r-- 1 root root 31680 9月 13 2021 libgstaudioconvert.so
-rw-r--r-- 1 root root 14768 9月 13 2021 libgstaudiofxbad.so
-rw-r--r-- 1 root root 134616 9月 13 2021 libgstaudiofx.so
-rw-r--r-- 1 root root 19112 9月 13 2021 libgstaudiolatency.so
-rw-r--r-- 1 root root 44136 9月 13 2021 libgstaudiomixer.so
-rw-r--r-- 1 root root 23296 9月 13 2021 libgstaudiomixmatrix.so
-rw-r--r-- 1 root root 127312 9月 13 2021 libgstaudioparsers.so
-rw-r--r-- 1 root root 23232 9月 13 2021 libgstaudiorate.so
-rw-r--r-- 1 root root 31680 9月 13 2021 libgstaudioresample.so
-rw-r--r-- 1 root root 48016 9月 13 2021 libgstaudiotestsrc.so
-rw-r--r-- 1 root root 31616 9月 13 2021 libgstaudiovisualizers.so
-rw-r--r-- 1 root root 23344 9月 13 2021 libgstauparse.so
-rw-r--r-- 1 root root 36216 9月 13 2021 libgstautoconvert.so
-rw-r--r-- 1 root root 27760 9月 13 2021 libgstautodetect.so
-rw-r--r-- 1 root root 168736 9月 13 2021 libgstavi.so
-rw-r--r-- 1 root root 31384 9月 13 2021 libgstbayer.so
-rw-r--r-- 1 root root 110960 9月 13 2021 libgstbluez.so
-rw-r--r-- 1 root root 18880 9月 13 2021 libgstbs2b.so
-rw-r--r-- 1 root root 23336 9月 13 2021 libgstbz2.so
-rw-r--r-- 1 root root 23376 9月 13 2021 libgstcacasink.so
-rw-r--r-- 1 root root 19072 9月 13 2021 libgstcairo.so
-rw-r--r-- 1 root root 86080 9月 13 2021 libgstcamerabin.so
-rw-r--r-- 1 root root 18976 9月 13 2021 libgstcdio.so
-rw-r--r-- 1 root root 23128 9月 13 2021 libgstcdparanoia.so
-rw-r--r-- 1 root root 14784 9月 13 2021 libgstchromaprint.so
-rw-r--r-- 1 root root 185912 9月 13 2021 libgstclosedcaption.so
-rw-r--r-- 1 root root 27096 9月 13 2021 libgstcoloreffects.so
-rw-r--r-- 1 root root 31488 9月 13 2021 libgstcolormanagement.so
-rw-r--r-- 1 root root 68448 9月 13 2021 libgstcompositor.so
-rw-r--r-- 1 root root 413888 9月 13 2021 libgstcoreelements.so
-rw-r--r-- 1 root root 85648 9月 13 2021 libgstcoretracers.so
-rw-r--r-- 1 root root 122608 9月 13 2021 libgstcurl.so
-rw-r--r-- 1 root root 19144 9月 13 2021 libgstcutter.so
-rw-r--r-- 1 root root 217680 9月 13 2021 libgstdash.so
-rw-r--r-- 1 root root 39848 9月 13 2021 libgstdc1394.so
-rw-r--r-- 1 root root 31544 9月 13 2021 libgstde265.so
-rw-r--r-- 1 root root 66144 9月 13 2021 libgstdebug.so
-rw-r--r-- 1 root root 82656 9月 13 2021 libgstdebugutilsbad.so
-rw-r--r-- 1 root root 147912 9月 13 2021 libgstdecklink.so
-rw-r--r-- 1 root root 126640 9月 13 2021 libgstdeinterlace.so
-rw-r--r-- 1 root root 107664 9月 13 2021 libgstdtls.so
-rw-r--r-- 1 root root 52608 9月 13 2021 libgstdtmf.so
-rw-r--r-- 1 root root 133024 9月 13 2021 libgstdvb.so
-rw-r--r-- 1 root root 84904 9月 13 2021 libgstdvbsubenc.so
-rw-r--r-- 1 root root 60744 9月 13 2021 libgstdvbsuboverlay.so
-rw-r--r-- 1 root root 27264 9月 13 2021 libgstdvdlpcmdec.so
-rw-r--r-- 1 root root 43920 9月 13 2021 libgstdvdread.so
-rw-r--r-- 1 root root 48120 9月 13 2021 libgstdvdspu.so
-rw-r--r-- 1 root root 35824 9月 13 2021 libgstdvdsub.so
-rw-r--r-- 1 root root 57136 9月 13 2021 libgstdv.so
-rw-r--r-- 1 root root 57368 9月 13 2021 libgsteffectv.so
-rw-r--r-- 1 root root 82440 9月 13 2021 libgstencoding.so
-rw-r--r-- 1 root root 31344 9月 13 2021 libgstequalizer.so
-rw-r--r-- 1 root root 23216 9月 13 2021 libgstfaad.so
-rw-r--r-- 1 root root 19056 9月 13 2021 libgstfaceoverlay.so
-rw-r--r-- 1 root root 14864 9月 13 2021 libgstfbdevsink.so
-rw-r--r-- 1 root root 19104 9月 13 2021 libgstfestival.so
-rw-r--r-- 1 root root 35680 9月 13 2021 libgstfieldanalysis.so
-rw-r--r-- 1 root root 74048 9月 13 2021 libgstflac.so
-rw-r--r-- 1 root root 18992 9月 13 2021 libgstflite.so
-rw-r--r-- 1 root root 23416 9月 13 2021 libgstfluidsynthmidi.so
-rw-r--r-- 1 root root 127456 9月 13 2021 libgstflv.so
-rw-r--r-- 1 root root 31480 9月 13 2021 libgstflxdec.so
-rw-r--r-- 1 root root 23112 9月 13 2021 libgstfreeverb.so
-rw-r--r-- 1 root root 48488 9月 13 2021 libgstfrei0r.so
-rw-r--r-- 1 root root 32120 9月 13 2021 libgstgaudieffects.so
-rw-r--r-- 1 root root 44688 9月 13 2021 libgstgdkpixbuf.so
-rw-r--r-- 1 root root 44240 9月 13 2021 libgstgdp.so
-rw-r--r-- 1 root root 56016 9月 13 2021 libgstgeometrictransform.so
-rw-r--r-- 1 root root 52280 9月 13 2021 libgstgio.so
-rw-r--r-- 1 root root 23408 9月 13 2021 libgstgme.so
-rw-r--r-- 1 root root 22992 9月 13 2021 libgstgoom2k1.so
-rw-r--r-- 1 root root 86576 9月 13 2021 libgstgoom.so
-rw-r--r-- 1 root root 19168 9月 13 2021 libgstgsm.so
-rw-r--r-- 1 root root 48528 9月 13 2021 libgstgtk.so
-rw-r--r-- 1 root root 98264 9月 13 2021 libgsthls.so
-rw-r--r-- 1 root root 23416 9月 13 2021 libgsticydemux.so
-rw-r--r-- 1 root root 14784 9月 13 2021 libgstid3demux.so
-rw-r--r-- 1 root root 48008 9月 13 2021 libgstid3tag.so
-rw-r--r-- 1 root root 36024 9月 13 2021 libgstimagefreeze.so
-rw-r--r-- 1 root root 39936 9月 13 2021 libgstinterlace.so
-rw-r--r-- 1 root root 52776 9月 13 2021 libgstinterleave.so
-rw-r--r-- 1 root root 48376 9月 13 2021 libgstinter.so
-rw-r--r-- 1 root root 94160 9月 13 2021 libgstipcpipeline.so
-rw-r--r-- 1 root root 532760 9月 13 2021 libgstisomp4.so
-rw-r--r-- 1 root root 14880 9月 13 2021 libgstivfparse.so
-rw-r--r-- 1 root root 23248 9月 13 2021 libgstivtc.so
-rw-r--r-- 1 root root 52296 9月 13 2021 libgstjack.so
-rw-r--r-- 1 root root 43656 9月 13 2021 libgstjp2kdecimator.so
-rw-r--r-- 1 root root 35952 9月 13 2021 libgstjpegformat.so
-rw-r--r-- 1 root root 48480 9月 13 2021 libgstjpeg.so
-rw-r--r-- 1 root root 94088 9月 13 2021 libgstkate.so
-rw-r--r-- 1 root root 69344 9月 13 2021 libgstkms.so
-rw-r--r-- 1 root root 52536 9月 13 2021 libgstladspa.so
-rw-r--r-- 1 root root 31624 9月 13 2021 libgstlame.so
-rw-r--r-- 1 root root 23448 9月 13 2021 libgstlegacyrawparse.so
-rw-r--r-- 1 root root 23208 9月 13 2021 libgstlevel.so
-rw-r--r-- 1 root root 235920 9月 13 2021 libgstlibav.so
-rw-r--r-- 1 root root 19072 9月 13 2021 libgstlibvisual.so
-rw-r--r-- 1 root root 56960 9月 13 2021 libgstlv2.so
-rw-r--r-- 1 root root 325912 9月 13 2021 libgstmatroska.so
-rw-r--r-- 1 root root 35864 9月 13 2021 libgstmidi.so
-rw-r--r-- 1 root root 23288 9月 13 2021 libgstmms.so
-rw-r--r-- 1 root root 31944 9月 13 2021 libgstmodplug.so
-rw-r--r-- 1 root root 23400 9月 13 2021 libgstmonoscope.so
-rw-r--r-- 1 root root 31752 9月 13 2021 libgstmpeg2dec.so
-rw-r--r-- 1 root root 56864 9月 13 2021 libgstmpeg2enc.so
-rw-r--r-- 1 root root 77288 9月 13 2021 libgstmpegpsdemux.so
-rw-r--r-- 1 root root 48120 9月 13 2021 libgstmpegpsmux.so
-rw-r--r-- 1 root root 176664 9月 13 2021 libgstmpegtsdemux.so
-rw-r--r-- 1 root root 94128 9月 13 2021 libgstmpegtsmux.so
-rw-r--r-- 1 root root 23232 9月 13 2021 libgstmpg123.so
-rw-r--r-- 1 root root 44392 9月 13 2021 libgstmplex.so
-rw-r--r-- 1 root root 19104 9月 13 2021 libgstmulaw.so
-rw-r--r-- 1 root root 182104 9月 13 2021 libgstmultifile.so
-rw-r--r-- 1 root root 36072 9月 13 2021 libgstmultipart.so
-rw-r--r-- 1 root root 27592 9月 13 2021 libgstmusepack.so
-rw-r--r-- 1 root root 328648 9月 13 2021 libgstmxf.so
-rw-r--r-- 1 root root 14776 9月 13 2021 libgstnavigationtest.so
-rw-r--r-- 1 root root 27600 9月 13 2021 libgstnetsim.so
-rw-r--r-- 1 root root 204984 9月 13 2021 libgstnvcodec.so
-rw-r--r-- 1 root root 14792 9月 13 2021 libgstofa.so
-rw-r--r-- 1 root root 222408 9月 13 2021 libgstogg.so
-rw-r--r-- 1 root root 40048 9月 13 2021 libgstopenal.so
-rw-r--r-- 1 root root 223680 9月 13 2021 libgstopencv.so
-rw-r--r-- 1 root root 23496 9月 13 2021 libgstopenexr.so
-rw-r--r-- 1 root root 331664 9月 13 2021 libgstopengl.so
-rw-r--r-- 1 root root 48432 9月 13 2021 libgstopenjpeg.so
-rw-r--r-- 1 root root 27424 9月 13 2021 libgstopenmpt.so
-rw-r--r-- 1 root root 27552 9月 13 2021 libgstopenni2.so
-rw-r--r-- 1 root root 18992 9月 13 2021 libgstopusparse.so
-rw-r--r-- 1 root root 61032 9月 13 2021 libgstopus.so
-rw-r--r-- 1 root root 52048 9月 13 2021 libgstoss4.so
-rw-r--r-- 1 root root 35592 9月 13 2021 libgstossaudio.so
-rw-r--r-- 1 root root 27640 9月 13 2021 libgstoverlaycomposition.so
-rw-r--r-- 1 root root 90408 9月 13 2021 libgstpango.so
-rw-r--r-- 1 root root 6120 9月 13 2021 libgstpbtypes.so
-rw-r--r-- 1 root root 23496 9月 13 2021 libgstpcapparse.so
-rw-r--r-- 1 root root 586384 9月 13 2021 libgstplayback.so
-rw-r--r-- 1 root root 31896 9月 13 2021 libgstpng.so
-rw-r--r-- 1 root root 27592 9月 13 2021 libgstpnm.so
-rw-r--r-- 1 root root 19136 9月 13 2021 libgstproxy.so
-rw-r--r-- 1 root root 127312 9月 13 2021 libgstpulseaudio.so
-rw-r--r-- 1 root root 170120 9月 13 2021 libgstqmlgl.so
-rw-r--r-- 1 root root 60944 9月 13 2021 libgstrawparse.so
-rw-r--r-- 1 root root 131904 9月 13 2021 libgstrealmedia.so
-rw-r--r-- 1 root root 19000 9月 13 2021 libgstremovesilence.so
-rw-r--r-- 1 root root 44096 9月 13 2021 libgstreplaygain.so
-rw-r--r-- 1 root root 174064 9月 13 2021 libgstresindvd.so
-rw-r--r-- 1 root root 52160 9月 13 2021 libgstrfbsrc.so
-rw-r--r-- 1 root root 95240 9月 13 2021 libgstrist.so
-rw-r--r-- 1 root root 73536 5月 20 2021 libgstrkximage.so
-rw-r--r-- 1 root root 99104 5月 20 2021 libgstrockchipmpp.so
-rw-r--r-- 1 root root 27688 9月 13 2021 libgstrsvg.so
-rw-r--r-- 1 root root 160224 9月 13 2021 libgstrtmp2.so
-rw-r--r-- 1 root root 31720 9月 13 2021 libgstrtmp.so
-rw-r--r-- 1 root root 35952 9月 13 2021 libgstrtpmanagerbad.so
-rw-r--r-- 1 root root 417800 9月 13 2021 libgstrtpmanager.so
-rw-r--r-- 1 root root 27536 9月 13 2021 libgstrtponvif.so
-rw-r--r-- 1 root root 603096 9月 13 2021 libgstrtp.so
-rw-r--r-- 1 root root 190304 9月 13 2021 libgstrtsp.so
-rw-r--r-- 1 root root 23344 9月 13 2021 libgstsbc.so
-rw-r--r-- 1 root root 494088 9月 13 2021 libgstsctp.so
-rw-r--r-- 1 root root 40328 9月 13 2021 libgstsdpelem.so
-rw-r--r-- 1 root root 23352 9月 13 2021 libgstsegmentclip.so
-rw-r--r-- 1 root root 31688 9月 13 2021 libgstshapewipe.so
-rw-r--r-- 1 root root 52448 9月 13 2021 libgstshm.so
-rw-r--r-- 1 root root 31736 9月 13 2021 libgstshout2.so
-rw-r--r-- 1 root root 27792 9月 13 2021 libgstsid.so
-rw-r--r-- 1 root root 70480 9月 13 2021 libgstsiren.so
-rw-r--r-- 1 root root 14616 9月 13 2021 libgstsmooth.so
-rw-r--r-- 1 root root 44152 9月 13 2021 libgstsmoothstreaming.so
-rw-r--r-- 1 root root 77144 9月 13 2021 libgstsmpte.so
-rw-r--r-- 1 root root 31896 9月 13 2021 libgstsndfile.so
-rw-r--r-- 1 root root 35872 9月 13 2021 libgstsoundtouch.so
-rw-r--r-- 1 root root 73808 9月 13 2021 libgstsoup.so
-rw-r--r-- 1 root root 27608 9月 13 2021 libgstspandsp.so
-rw-r--r-- 1 root root 23136 9月 13 2021 libgstspectrum.so
-rw-r--r-- 1 root root 19120 9月 13 2021 libgstspeed.so
-rw-r--r-- 1 root root 40384 9月 13 2021 libgstspeex.so
-rw-r--r-- 1 root root 65536 9月 13 2021 libgstsrtp.so
-rw-r--r-- 1 root root 60952 9月 13 2021 libgstsrt.so
-rw-r--r-- 1 root root 19176 9月 13 2021 libgstsubenc.so
-rw-r--r-- 1 root root 90312 9月 13 2021 libgstsubparse.so
-rw-r--r-- 1 root root 27576 9月 13 2021 libgstswitchbin.so
-rw-r--r-- 1 root root 48456 9月 13 2021 libgsttaglib.so
-rw-r--r-- 1 root root 114736 9月 13 2021 libgsttcp.so
-rw-r--r-- 1 root root 31768 9月 13 2021 libgstteletext.so
-rw-r--r-- 1 root root 61440 9月 13 2021 libgsttheora.so
-rw-r--r-- 1 root root 69472 9月 13 2021 libgsttimecode.so
-rw-r--r-- 1 root root 40056 9月 13 2021 libgsttranscode.so
-rw-r--r-- 1 root root 106952 9月 13 2021 libgstttmlsubs.so
-rw-r--r-- 1 root root 31712 9月 13 2021 libgsttwolame.so
-rw-r--r-- 1 root root 101232 9月 13 2021 libgsttypefindfunctions.so
-rw-r--r-- 1 root root 81696 9月 13 2021 libgstudp.so
-rw-r--r-- 1 root root 90208 9月 13 2021 libgstuvch264.so
-rw-r--r-- 1 root root 81584 9月 13 2021 libgstv4l2codecs.so
-rw-r--r-- 1 root root 115024 9月 13 2021 libgstva.so
-rw-r--r-- 1 root root 325352 9月 13 2021 libgstvideo4linux2.so
-rw-r--r-- 1 root root 56192 9月 13 2021 libgstvideobox.so
-rw-r--r-- 1 root root 27488 9月 13 2021 libgstvideoconvert.so
-rw-r--r-- 1 root root 36016 9月 13 2021 libgstvideocrop.so
-rw-r--r-- 1 root root 18864 9月 13 2021 libgstvideofiltersbad.so
-rw-r--r-- 1 root root 56720 9月 13 2021 libgstvideofilter.so
-rw-r--r-- 1 root root 23552 9月 13 2021 libgstvideoframe_audiolevel.so
-rw-r--r-- 1 root root 85752 9月 13 2021 libgstvideomixer.so
-rw-r--r-- 1 root root 227320 9月 13 2021 libgstvideoparsersbad.so
-rw-r--r-- 1 root root 48272 9月 13 2021 libgstvideorate.so
-rw-r--r-- 1 root root 35792 9月 13 2021 libgstvideoscale.so
-rw-r--r-- 1 root root 26864 9月 13 2021 libgstvideosignal.so
-rw-r--r-- 1 root root 56440 9月 13 2021 libgstvideotestsrc.so
-rw-r--r-- 1 root root 27184 9月 13 2021 libgstvmnc.so
-rw-r--r-- 1 root root 14880 9月 13 2021 libgstvoamrwbenc.so
-rw-r--r-- 1 root root 35384 9月 13 2021 libgstvolume.so
-rw-r--r-- 1 root root 56984 9月 13 2021 libgstvorbis.so
-rw-r--r-- 1 root root 73720 9月 13 2021 libgstvpx.so
-rw-r--r-- 1 root root 31952 9月 13 2021 libgstwavenc.so
-rw-r--r-- 1 root root 44408 9月 13 2021 libgstwavpack.so
-rw-r--r-- 1 root root 60896 9月 13 2021 libgstwavparse.so
-rw-r--r-- 1 root root 82024 9月 13 2021 libgstwaylandsink.so
-rw-r--r-- 1 root root 27616 9月 13 2021 libgstwebp.so
-rw-r--r-- 1 root root 44336 9月 13 2021 libgstwebrtcdsp.so
-rw-r--r-- 1 root root 210656 9月 13 2021 libgstwebrtc.so
-rw-r--r-- 1 root root 19056 9月 13 2021 libgstwildmidi.so
-rw-r--r-- 1 root root 44320 9月 13 2021 libgstwpe.so
-rw-r--r-- 1 root root 64840 9月 13 2021 libgstx264.so
-rw-r--r-- 1 root root 44144 9月 13 2021 libgstx265.so
-rw-r--r-- 1 root root 61040 9月 13 2021 libgstximagesink.so
-rw-r--r-- 1 root root 44168 9月 13 2021 libgstximagesrc.so
-rw-r--r-- 1 root root 19072 9月 13 2021 libgstxingmux.so
-rw-r--r-- 1 root root 77744 9月 13 2021 libgstxvimagesink.so
-rw-r--r-- 1 root root 27528 9月 13 2021 libgsty4mdec.so
-rw-r--r-- 1 root root 14808 9月 13 2021 libgsty4menc.so
-rw-r--r-- 1 root root 14800 9月 13 2021 libgstzbar.so
下面的信息是ubuntu的通过在gst-inspect-1.0 之后跟插件的文件可以显示相关的信息
root@linaro-alip:/# gst-inspect-1.0 ./usr/lib/aarch64-linux-gnu/gstreamer-1.0/libgstrockchipmpp.so
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
mpph264enc: Rockchip Mpp H264 Encoder
mpph265enc: Rockchip Mpp H265 Encoder
mppvp8enc: Rockchip Mpp VP8 Encoder
mppjpegenc: Rockchip Mpp JPEG Encoder
mppvideodec: Rockchip's MPP video decoder
mppjpegdec: Rockchip's MPP JPEG image decoder
6 features:
+-- 6 elements
3gst-launch-1.0 拉流解码硬解码信息查看
gst-launch-1.0 mppvideodec rtspsrc location=rtsp://admin:123456@192.168.1.6:554/ch01.264 ! rtph264depay ! h264parse ! queue ! mppvideodec ! autovideosink latency=10 sync=false
gst-launch-1.0 mppvideodec rtspsrc location=rtsp://admin:123456@192.168.1.6:554/ch01.264 ! rtph264depay ! h264parse ! queue ! mppvideodec ! autovideosink latency=10 sync=false
root@linaro-alip:/proc/mpp_service# ls -al
总用量 0
dr-xr-xr-x 18 root root 0 2月 2 09:33 .
dr-xr-xr-x 305 root root 0 2月 2 09:18 ..
dr-xr-xr-x 4 root root 0 2月 2 11:29 av1d
dr-xr-xr-x 4 root root 0 2月 2 11:29 iep
dr-xr-xr-x 4 root root 0 2月 2 11:29 jpegd
dr-xr-xr-x 6 root root 0 2月 2 11:29 jpege-core0
dr-xr-xr-x 6 root root 0 2月 2 11:29 jpege-core1
dr-xr-xr-x 6 root root 0 2月 2 11:29 jpege-core2
dr-xr-xr-x 6 root root 0 2月 2 11:29 jpege-core3
dr-xr-xr-x 10 root root 0 2月 2 11:29 rkvdec-core0
dr-xr-xr-x 10 root root 0 2月 2 11:29 rkvdec-core1
dr-xr-xr-x 7 root root 0 2月 2 11:29 rkvenc-core0
dr-xr-xr-x 7 root root 0 2月 2 11:29 rkvenc-core1
-r--r--r-- 1 root root 0 2月 2 11:28 sessions-summary
-r--r--r-- 1 root root 0 2月 2 09:33 supports-cmd
-r--r--r-- 1 root root 0 2月 2 11:29 supports-device
dr-xr-xr-x 4 root root 0 2月 2 11:29 vdpu
-r--r--r-- 1 root root 0 2月 2 11:29 version
root@linaro-alip:/proc/mpp_service# cat sessions-summary
session iova range dump:
0: 0x00000000ffc00000..0x00000000ffdfffff ( 2048 KiB)
1: 0x00000000ffa90000..0x00000000ffbf7fff ( 1440 KiB)
2: 0x00000000ffa10000..0x00000000ffa87fff ( 480 KiB)
3: 0x00000000ff970000..0x00000000ff98efff ( 124 KiB)
4: 0x00000000f2c70000..0x00000000f2c82fff ( 76 KiB)
5: 0x00000000ff770000..0x00000000ff96ffff ( 2048 KiB)
6: 0x00000000ff600000..0x00000000ff767fff ( 1440 KiB)
7: 0x00000000ff580000..0x00000000ff5f7fff ( 480 KiB)
8: 0x00000000ff410000..0x00000000ff577fff ( 1440 KiB)
9: 0x00000000ff390000..0x00000000ff407fff ( 480 KiB)
10: 0x00000000fefb0000..0x00000000ff117fff ( 1440 KiB)
11: 0x00000000fedc0000..0x00000000fef27fff ( 1440 KiB)
12: 0x00000000febb0000..0x00000000fed17fff ( 1440 KiB)
13: 0x00000000fe9c0000..0x00000000feb27fff ( 1440 KiB)
14: 0x00000000fe7d0000..0x00000000fe937fff ( 1440 KiB)
15: 0x00000000fe5e0000..0x00000000fe747fff ( 1440 KiB)
16: 0x00000000fe3f0000..0x00000000fe557fff ( 1440 KiB)
17: 0x00000000fe200000..0x00000000fe367fff ( 1440 KiB)
18: 0x00000000fe010000..0x00000000fe177fff ( 1440 KiB)
19: 0x00000000fdd10000..0x00000000fde77fff ( 1440 KiB)
20: 0x00000000fdb20000..0x00000000fdc87fff ( 1440 KiB)
21: 0x00000000fd930000..0x00000000fda97fff ( 1440 KiB)
22: 0x00000000fd6c0000..0x00000000fd827fff ( 1440 KiB)
23: 0x00000000fd060000..0x00000000fd25ffff ( 2048 KiB)
24: 0x00000000ff220000..0x00000000ff387fff ( 1440 KiB)
25: 0x00000000ff120000..0x00000000ff197fff ( 480 KiB)
26: 0x00000000fef30000..0x00000000fefa7fff ( 480 KiB)
27: 0x00000000fed40000..0x00000000fedb7fff ( 480 KiB)
28: 0x00000000feb30000..0x00000000feba7fff ( 480 KiB)
29: 0x00000000fe940000..0x00000000fe9b7fff ( 480 KiB)
30: 0x00000000fe750000..0x00000000fe7c7fff ( 480 KiB)
31: 0x00000000fe560000..0x00000000fe5d7fff ( 480 KiB)
32: 0x00000000fe370000..0x00000000fe3e7fff ( 480 KiB)
33: 0x00000000fe180000..0x00000000fe1f7fff ( 480 KiB)
34: 0x00000000fdec0000..0x00000000fdf37fff ( 480 KiB)
35: 0x00000000fdc90000..0x00000000fdd07fff ( 480 KiB)
36: 0x00000000fdaa0000..0x00000000fdb17fff ( 480 KiB)
37: 0x00000000fd830000..0x00000000fd8a7fff ( 480 KiB)
38: 0x00000000fd520000..0x00000000fd687fff ( 1440 KiB)
39: 0x00000000fd4a0000..0x00000000fd517fff ( 480 KiB)
session: pid=3321 index=65
device: fdc38100.rkvdec-core
memory: 39 MiB
4编译RK提供的gstreamer 插件(源码来自Debian)
编译完成后得到libgstrockchipmpp.so
root@topeet:~ # gst-inspect-1.0 /root/work/new/gstreamer-rockchip/build/gst/rockchipmpp/libgstrockchipmpp.so
Plugin Details:
Name rockchipmpp
Description Rockchip Mpp Video Plugin
Filename /root/work/new/gstreamer-rockchip/build/gst/rockchipmpp/libgstrockchipmpp.so
Version 1.14.4
License LGPL
Source module gst-rockchip
Binary package GStreamer Rockchip Plug-ins
Origin URL Unknown package origin
mpph264enc: Rockchip Mpp H264 Encoder
mpph265enc: Rockchip Mpp H265 Encoder
mppvp8enc: Rockchip Mpp VP8 Encoder
mppjpegenc: Rockchip Mpp JPEG Encoder
mppvideodec: Rockchip's MPP video decoder
mppjpegdec: Rockchip's MPP JPEG image decoder
6 features:
+-- 6 elements
在使用插件的时候可以设置gstreamer 查找的路径
root@topeet:~/work/new/gstreamer-rockchip/build/gst/rockchipmpp # GST_PLUGIN_PATH=$GST_PLUGIN_PATH:/root/work/new/gstreamer-rockchip/build/gst/rockchipmpp
root@topeet:~/work/new/gstreamer-rockchip/build/gst/rockchipmpp # export GST_PLUGIN_PATH
6: 测试指令及gst-launch-1.0 CPU占用率
根据实际的测试结果下面的2条测试指令
gst-launch-1.0 mppvideodec rtspsrc location=rtsp://admin:123456@192.168.1.6:554/ch01.264 ! rtph264depay ! h264parse ! queue ! mppvideodec ! autovideosink latency=10 sync=false
与
gst-launch-1.0 mppvideodec rtspsrc location=rtsp://admin:123456@192.168.1.6:554/ch01.264 ! rtph264depay ! h264parse ! queue ! mppvideodec ! autovideosink
latency=10 sync=false 或影响视频输出的延时加上 latency=10 sync=false 不会再出现视频流延时的情况