Live streaming from PiCam


108 posts   Page 5 of 5   1, 2, 3, 4, 5
by ppumkin » Mon Jun 17, 2013 1:55 pm
Yea I want to make sure my NAS is mounted so i save the stop motion files there; just because its got terabytes of space. But i realise now i cant do it like that. I'll run a startup script instead.

Image


Code: Select all
root@weather:/usr/local/bin# ls -la "/usr/local/bin/"
total 25324
drwxrwsr-x  2 root staff    4096 Jun 17 13:48 .
drwxrwsr-x 10 root staff    4096 Jun 10 21:15 ..
-rwxr-xr-x  1 root staff 8728864 May 25 12:50 ffmpeg
-rwxr-xr-x  1 root staff 8675904 May 25 12:50 ffprobe
-rwxr-xr-x  1 root staff 8490784 May 25 12:50 ffserver
-rwxr-xr-x  1 root staff      42 May 16 21:42 mountnas.sh
-rwxr-xr-x  1 root staff   11143 Jun  6 13:16 psips
-rwxr-xr-x  1 root staff     379 Jun 17 13:48 rtmp-nginx.sh
Posts: 72
Joined: Tue May 29, 2012 10:22 pm
by alexcroox » Sun Jul 21, 2013 7:54 pm
I too am experiencing the 6 second lag with the camera module. With the exact same setup using a £5 USB webcam to the same RTMP server (crtmpserver) I get < 1s lag, however I cannot get it below 5 seconds with the camera module. Limitations of the hardware or delay in copying from raspvid to ffmpeg?

Also how do you install that patched version of raspvid?
Posts: 18
Joined: Sun Jun 02, 2013 10:57 pm
by crtmpserver » Mon Jul 22, 2013 11:16 pm
crtmpserver is simply saying that the publish begun with a call to releaseStream on a not yet published stream. And the server replies back with that error which makes perfect sense. FMLE does the same. Whatever the encoder is, it should be prepared to get that error, not choke on it. avconv is not choking on it btw

Best regards,
Andrei
Posts: 1
Joined: Mon Jul 22, 2013 11:13 pm
by reizenikker » Tue Jul 23, 2013 7:07 am
Andy, could you provide your email address, i have a interesting offer for you.
Posts: 1
Joined: Tue Jul 23, 2013 7:05 am
by jamesh » Tue Jul 23, 2013 9:07 am
reizenikker wrote:Andy, could you provide your email address, i have a interesting offer for you.


You can use the PM system to get in touch with anyone registered on the forum, I'd suggest that is a better approach.
Soon to be employed engineer - Hurrah! Volunteer at the Raspberry Pi Foundation, helper at PiAcademy September 2014.
Raspberry Pi Engineer & Forum Moderator
Raspberry Pi Engineer & Forum Moderator
Posts: 11917
Joined: Sat Jul 30, 2011 7:41 pm
by tomhalv » Wed Jul 24, 2013 4:23 pm
ppumkin,
I'm a real noobie here and I'm trying to follow your tutorial on getting nginx-rtmp installed. It seems that maybe I'm missing more of the ./configure lines. The last one ended with a '\' which indicates that there are more to come, but the text block shown does not have any. Are there more options beyond the last one shown: --add-module=/usr/src/nginx-rtmp-module ??
Posts: 36
Joined: Wed Apr 24, 2013 11:10 pm
by nerdlogger » Sun Nov 10, 2013 2:56 am
Slightly different approach that works on Pi and Beaglebone Black:

http://nerdlogger.com/2013/11/09/stream ... one-black/

TTYL
Nerdlogger
Posts: 3
Joined: Sun Nov 10, 2013 2:34 am
by ppumkin » Sun Nov 10, 2013 2:32 pm
Yea crtmp-server is also very good! Nice tutorial :) Thanks for sharing
Posts: 72
Joined: Tue May 29, 2012 10:22 pm