Page 1 of 2

video streaming

Posted: Fri Nov 21, 2014 9:12 pm
by pma61
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?

Re: video streaming

Posted: Sun Nov 23, 2014 12:18 pm
by deshipu
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.

Re: video streaming

Posted: Sun Nov 23, 2014 8:29 pm
by Pyrofer
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.

Re: video streaming

Posted: Mon Nov 24, 2014 7:52 pm
by pma61
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?

Re: video streaming

Posted: Mon Nov 24, 2014 11:26 pm
by deshipu
I guess I will stay with the photos for now, then. Thanks.

Re: video streaming

Posted: Tue Nov 25, 2014 6:40 pm
by AR560
>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).

Re: video streaming

Posted: Tue Nov 25, 2014 11:40 pm
by Pyrofer
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.

Re: video streaming

Posted: Wed Nov 26, 2014 6:36 pm
by AR560
>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

Re: video streaming

Posted: Thu Nov 27, 2014 2:20 am
by deshipu
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.

Re: video streaming

Posted: Thu Nov 27, 2014 11:02 am
by Pyrofer
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.