video streaming

pma61
 
Posts: 12
Joined: Fri Nov 21, 2014 6:19 pm

video streaming

Fri Nov 21, 2014 9:12 pm

Hi everybody!
I'm excited about VoCore because is very cheap, small and powerful, don't you?
However, I have a question: has it enough power to stream a video from a USB camera?
I think we can use ffserver to stream with RTSP the video provided by v4l and the UVC driver.
Is this possible? There's a limitation caused by the RAM?

deshipu
 
Posts: 21
Joined: Wed Nov 19, 2014 5:10 pm

Re: video streaming

Sun Nov 23, 2014 12:18 pm

I'm working on getting it to work with a cheap laptop camera module.

So far I managed to make it see the module as an USB webcam, and to shoot photos with fswebcam to files.

No luck with mjpg-streamer yet -- it doesn't crash and sees the camera, but all the frames have size 0.

I'm going to try with ffmpeg next, but I had to rebuild the image to make room for it -- it needs a lot of extra libraries.

Pyrofer
 
Posts: 61
Joined: Tue Oct 21, 2014 11:35 am

Re: video streaming

Sun Nov 23, 2014 8:29 pm

I had the EXACT same problem with a cheap laptop camera.
I swapped to a Lifecam 3000 and it streams perfectly with mjpeg-streamer.

I think the camera needs to natively support mjpeg to work properly.

I've had it streaming perfectly with mjpeg streamer. I also used "motion" with the laptop camera and did motion detection. That stream worked perfectly, but very slowly.

pma61
 
Posts: 12
Joined: Fri Nov 21, 2014 6:19 pm

Re: video streaming

Mon Nov 24, 2014 7:52 pm

Pyrofer wrote:I've had it streaming perfectly with mjpeg streamer. I also used "motion" with the laptop camera and did motion detection. That stream worked perfectly, but very slowly.


So it supports finally a real time video streaming? There's a big lag between the capture and the video send?

deshipu
 
Posts: 21
Joined: Wed Nov 19, 2014 5:10 pm

Re: video streaming

Mon Nov 24, 2014 11:26 pm

I guess I will stay with the photos for now, then. Thanks.

AR560
 
Posts: 9
Joined: Fri Nov 07, 2014 5:33 pm

Re: video streaming

Tue Nov 25, 2014 6:40 pm

>No luck with mjpg-streamer yet -- it doesn't crash and sees the camera, but all the frames have size 0

Luck there. Fine work stream 15fps VGA from vonger with uvc camera. Statistic when 1 client attached:
Image
Vocore connect to my hom wifi network. Statistic from router:
Image

Image

When I set 30fps Vocore reboot after sone time (supply from USB computer port).

Pyrofer
 
Posts: 61
Joined: Tue Oct 21, 2014 11:35 am

Re: video streaming

Tue Nov 25, 2014 11:40 pm

As I said, 0 size video frames is the same problem I had. I changed camera and it all worked!

The cam I had was YUV but when I changed to a cam with mjpeg built in everything worked. Try another better camera.

The lifecam 3000 can be had cheap on eBay.

AR560
 
Posts: 9
Joined: Fri Nov 07, 2014 5:33 pm

Re: video streaming

Wed Nov 26, 2014 6:36 pm

>The cam I had was YUV but when I changed to a cam with mjpeg built in everything worked. Try another better camera.

use -y opthion with input_uvc.so

deshipu
 
Posts: 21
Joined: Wed Nov 19, 2014 5:10 pm

Re: video streaming

Thu Nov 27, 2014 2:20 am

Unfortunately this is a very small robot and I have to use a small camera module. I ordered another used laptop camera module, maybe that one will work better.

The -y option makes mjpg-streamer segfault, strace tells me it's somewhere inside the libv4l.

Pyrofer
 
Posts: 61
Joined: Tue Oct 21, 2014 11:35 am

Re: video streaming

Thu Nov 27, 2014 11:02 am

Yup, the -y option gave a segfault for me too!

Let me know if you solve it as I would like to use the smaller laptop camera too.

Next
Return to VoCore & VoCore+Dock

Who is online

Users browsing this forum: Google [Bot] and 41 guests