Question about gstreamer-rockchip and mpp
#1
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~
#2
Did you ever figure this out? I'm having basically the same problem, only I'm using a rock64.


Possibly Related Threads…
Thread Author Replies Views Last Post
  ”GStreamer; Unable to pause” in Qt Brandwarden 1 2,651 04-17-2021, 10:41 AM
Last Post: barray
  cdn-dp fec00000.dp: Direct firmware load for rockchip/dptx.bin failed with error -2 kuerious 10 27,880 01-18-2019, 04:13 PM
Last Post: nuumio

Forum Jump:


Users browsing this thread: 1 Guest(s)