freezkyd
Posts: 8
Joined: Wed Aug 19, 2015 5:18 am

full HD streaming possible ?

Thu Feb 18, 2016 9:50 am

I found numerous tutorials in google about streaming RPI (B+) with camera module (mine v1.3) with mjpg-streamer and raspistill. I made it to modprobe the driver of the device and stream it with mjpg-streamer without raspistill - just -d /dev/video0 but it works only with -y (YUV) so the framerate is just terrible (1fps).

Has anyone made it to set it up with a nice framerate (>20fps) and a big resolution (720 or 1080) ? I'd appreciate a tutorial because I am having lots and lots of issues.

RpiName
Posts: 717
Joined: Sat Jul 06, 2013 3:14 am

Re: full HD streaming possible ?

Thu Feb 18, 2016 10:02 am

freezkyd wrote:Has anyone made it to set it up with a nice framerate (>20fps) and a big resolution (720 or 1080) ? I'd appreciate a tutorial because I am having lots and lots of issues.
It's possible with UV4L:
http://linux-projects.org

typically in mjpeg with the old Rpi 1; mjpeg or hardware encoded h264 with the new rpi2. there's no real tutorial for the simplest scenario as there's nothing to say or to configure apart from installing the software and accessing the web server to get the stream in the browser directly.

a list of examples for more complex scenarios:
http://www.linux-projects.org/modules/s ... e&artid=16

FredTheFret
Posts: 24
Joined: Wed Apr 15, 2015 2:47 pm

Re: full HD streaming possible ?

Thu Feb 18, 2016 11:44 am

Did you come across this yet ?

https://github.com/silvanmelchior/RPi_Cam_Web_Interface

Works quite well as far as I've seen.

freezkyd
Posts: 8
Joined: Wed Aug 19, 2015 5:18 am

Re: full HD streaming possible ?

Thu Feb 18, 2016 4:22 pm

RpiName wrote:
freezkyd wrote:Has anyone made it to set it up with a nice framerate (>20fps) and a big resolution (720 or 1080) ? I'd appreciate a tutorial because I am having lots and lots of issues.
It's possible with UV4L:
http://linux-projects.org

typically in mjpeg with the old Rpi 1; mjpeg or hardware encoded h264 with the new rpi2. there's no real tutorial for the simplest scenario as there's nothing to say or to configure apart from installing the software and accessing the web server to get the stream in the browser directly.

a list of examples for more complex scenarios:
http://www.linux-projects.org/modules/s ... e&artid=16
So I just install uv4l and it will work ?

RpiName
Posts: 717
Joined: Sat Jul 06, 2013 3:14 am

Re: full HD streaming possible ?

Thu Feb 18, 2016 6:50 pm

freezkyd wrote:So I just install uv4l and it will work ?
yes

freezkyd
Posts: 8
Joined: Wed Aug 19, 2015 5:18 am

Re: full HD streaming possible ?

Thu Feb 18, 2016 8:40 pm

RpiName wrote:
freezkyd wrote:So I just install uv4l and it will work ?
yes
Thank you so much for this. It actually worked perfect. IS there any hint in using the mjpg-streamer for a better fps ?

My settings are -r 1280x720 -f 20 and it only gets 6-7fps.

RpiName
Posts: 717
Joined: Sat Jul 06, 2013 3:14 am

Re: full HD streaming possible ?

Thu Feb 18, 2016 10:07 pm

freezkyd wrote:Thank you so much for this. It actually worked perfect. IS there any hint in using the mjpg-streamer for a better fps ?
I do not know about mjpg-streamer. 20fps HD in MJPEG over HTTP is just overkill. Anyway, I'd still use UV4L for streaming in MJPEG as it scales better than mjpeg-streamer in case of multiple clients and is probably more efficient in case of 1 client as well - not counting that UV4L supports HTTPS and standard HTTP authentication.

for other details about mjpeg with uv4l:
http://www.linux-projects.org/modules/s ... #example11

Return to “Camera board”