01-09-2019, 12:15 AM
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~
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~