kmssink : Cannot Open /dev/mxc_vpu with Mainline kernel

Nicolas Dufresne nicolas at ndufresne.ca
Tue Sep 5 13:15:37 UTC 2017


Le mardi 05 septembre 2017 à 14:50 +0530, Chakra D a écrit :
> Thanks for helping out. I have tried using v4l2videodec but could not
> succeed - it is still throwing error.
> Can you help me out in using this v4l2codec driver with gstreamer on
> main line kernel.
> 
> When inserting the CODA driver - i got this error "vpu: loading
> /lib/firmware/vpu_fw_imx6q.bin failed with error -22". And i could
> play the video - but it is playing very slowly and has an small
> rectangular frame. Please see the attached video - captured on the
> display while playing the video

Without it's firmware, the CODEC cannot work, you'll endup using the
software decoder (which will be too slow). Make sure to install the
firmware file to the reported location.

> 
> I have given the following commands - am i missing something ?
> # gst-launch-1.0 uridecodebin
> uri=file:///root/tears_of_steel_1080p.webm ! \
> > videoscale ! \
> > videoconvert ! \
> > video/x-raw,width=1280,height=800,pixel-aspect-ratio=1/1 ! \
> > kmssink connector-id=38 driver-name="imx-drm"  sync=false
-------------- next part --------------
A non-text attachment was scrubbed...
Name: signature.asc
Type: application/pgp-signature
Size: 195 bytes
Desc: This is a digitally signed message part
URL: <https://lists.freedesktop.org/archives/gstreamer-devel/attachments/20170905/6b18db0a/attachment.sig>


More information about the gstreamer-devel mailing list