PINE64
Question about gstreamer-rockchip and mpp - Printable Version

+- PINE64 (https://forum.pine64.org)
+-- Forum: ROCKPRO64 (https://forum.pine64.org/forumdisplay.php?fid=98)
+--- Forum: Linux on RockPro64 (https://forum.pine64.org/forumdisplay.php?fid=101)
+--- Thread: Question about gstreamer-rockchip and mpp (/showthread.php?tid=7036)



Question about gstreamer-rockchip and mpp - mire - 01-09-2019

Hellow everyon

ROCKPro64 board hardware encoding related questions.
I have built and installed gstreamer 1.15.0 version, gsteamer-rockchip, and mpp on the ROCKPro64 board.
For video and audio input of gstreamer, magewell's Pro HDMI capture card is installed in PCI slot.
I also built and installed gst-plugins-base, gst-plugins-good, gst-plugins-bad, gst-plugins-uqly, gst-libav, gst-omx, gst-python and gstreamer-vaapi.

gst-launch-1.0 v4l2src device = / dev / video0! video / x-raw, format = NV12, width = 640, height = 480, framerate = 30/1! queue! x264enc! queue! h264parse! mpegtsmux! filesink location = 2k.ts
With the above command, the video input is normally encoded and saved as a 2k.ts file.

However, if you enter mpph264enc as below, an error occurs.
gst-launch-1.0 v4l2src device = / dev / video0! video / x-raw, format = NV12, width = 640, height = 480, framerate = 30/1! queue! mpph264enc! queue! h264parse! mpegtsmux! filesink location = 2k.ts

Setting pipeline to PAUSED ...
mpi: mpp version: 107f498 author: Kamil TrzciƄski Update changelog
hal_h264e_api: vcodec type 00000000 can not find H.264 encoder device
mpp_hal: mpp_hal_init hal h264e_rkvenc init failed ret -1
mpp_hal: mpp_hal_init could not found coding type 7
mpp_enc: mpp_enc_init could not init hal
mpp: error found on mpp initialization

If you know the cause or solution to the above problem, please help me.


Thank you~


RE: Question about gstreamer-rockchip and mpp - grkblood13 - 09-13-2019

Did you ever figure this out? I'm having basically the same problem, only I'm using a rock64.