Streaming video with the A20

Started by hngjms, May 12, 2016, 06:34:21 AM

Previous topic - Next topic

hngjms

I'm trying to stream a USB video camera off my Olimex A20 using gstreamer.
Before trying to send it over any network I'm just trying to look at the stream locally:

gst-launch-1.0 -v v4l2src device=/dev/video0 ! 'video/x-raw,width=320,height=240' ! autovideosink

However the video is super laggy and low frame rate (like 0.5 fps), even for a small video and no encoding/decoding.

I'm getting this in my logs though, while gstreamer is instantiating the video stream:

libgl error unable to load driver mali_drm_dri.so
driver pointer missing
failed to load driver mali_drm


Reading about this online it seems like some people feel like this isn't an issue.

Anyways, I was wondering if fixing this would make my video stream faster, or if there were any other tips and tricks for making my video stream faster. The allwinner a20 spec page says h264 1080p 30fps encoding. I'd personally be very very happy streaming H264 640x480 at 25fps.


EDIT:

was using an A10 Lime board image haha  ::) . the A20 SOM image with this https://github.com/linux-sunxi/sunxi-mali worked for me.