I'm trying to get the gstreamer pipeline to work with the i.MX h.264 hardware encoder and decoder. I've installed Trusty Vinilla http://mirror.igorpecovnik.com/Armbian_4.90_Cubox-i_Ubuntu_trusty_4.4.1.zip on a Hummingboard-Gate and followed the instructions for setting up the i.MX Gstreamer plugins here:
$ gst-inspect-1.0 | grep imx
imxvpu: imxvpudec: Freescale VPU video decoder
imxvpu: imxvpuenc_h263: Freescale VPU h.263 video encoder
imxvpu: imxvpuenc_h264: Freescale VPU h.264 video encoder
imxvpu: imxvpuenc_mpeg4: Freescale VPU MPEG-4 video encoder
imxvpu: imxvpuenc_mjpeg: Freescale VPU motion JPEG video encoder
imxv4l2videosrc: imxv4l2videosrc: V4L2 CSI Video Source
imxg2d: imxg2dvideosink: Freescale G2D video sink
imxg2d: imxg2dvideotransform: Freescale G2D video transform
imxg2d: imxg2dcompositor: Freescale G2D video compositor
But when I try to run a pipeline with gst-launch-1.0 that includes imxvpudec I get the error message:
[ERR] Can't open /dev/mxc_vpu: No such file or directory
[ERR] IOSystemInit() failure.
ERROR: Pipeline doesn't want to pause.
ERROR: from element /GstPipeline:pipeline0/GstImxVpuDecoder:imxvpudecoder0: Could not initialize supporting library.
Additional debug info:
gstvideodecoder.c(2131): gst_video_decoder_change_state (): /GstPipeline:pipeline0/GstImxVpuDecoder:imxvpudecoder0:
Failed to start decoder
Setting pipeline to NULL ...
Freeing pipeline ...
I have tried rebooting, but the driver still isn't listed. I've made sure to have followed the step to install the firmware...
$ ls -al /lib/firmware/vpu
total 512
drwxr-xr-x 2 root root 4096 Feb 7 07:33 .
drwxr-xr-x 8 root root 4096 Feb 7 07:32 ..
-rw-r--r-- 1 root root 253968 Feb 7 07:33 vpu_fw_imx6d.bin
-rw-r--r-- 1 root root 253968 Feb 7 07:33 vpu_fw_imx6q.bin
What step am I missing? How do I get the proper device driver loaded?
Question
triglm
Hello,
I'm trying to get the gstreamer pipeline to work with the i.MX h.264 hardware encoder and decoder. I've installed Trusty Vinilla http://mirror.igorpecovnik.com/Armbian_4.90_Cubox-i_Ubuntu_trusty_4.4.1.zip on a Hummingboard-Gate and followed the instructions for setting up the i.MX Gstreamer plugins here:
https://github.com/Freescale/gstreamer-imx/blob/master/docs/debian-ubuntu.md
gst-inspect-1.0 reports...
But when I try to run a pipeline with gst-launch-1.0 that includes imxvpudec I get the error message:
I have tried rebooting, but the driver still isn't listed. I've made sure to have followed the step to install the firmware...
What step am I missing? How do I get the proper device driver loaded?
Link to comment
Share on other sites
5 answers to this question
Recommended Posts