1

I want to stream the video that is being recorded by Pi-camera to my Remote computer for monitoring. There are lot of tutorials Online which deal with this topic. I was able to make one way work, that is using Netcat + Mplayer. But there are few issues.
1. There is too much delay in display. How can I decrease latency?
2. Currently only streaming using raspivid is working. But I want to record simultaneously too. How do I record and stream at the same time?
3. Through VNC I can remotely login into pi. But can't stream the video being record. Is there any way to stream video over VNC?

My pi model is Raspberry pi 2 and camera is Pi Noir.

Coderaemon
  • 465
  • 2
  • 11
  • 21

2 Answers2

1

A couple of thoughts.

  1. If are are accessing you Pi remotely, try running it headless vs. running the GUI and access via VNC. There's no need for the overhead of the desktop if all you want to do is stream the camera. It will be much more efficient then trying to view video via VNC.

  2. There are a few options to stream the camera. The easiest (IMHO) is just to use motion software as a daemon. There are tons of guides online that tell you how to do it. Just google raspberry pi security camera. Make sure you are updated / upgraded. I have had some stability problems with motion and the pi camera on my pi 2, but nothing too bad.

  3. If you go the headless / motion route, also install and configure watchdog. It will save you lots of time having to run to the pi and manually reboot if there are issues.

  4. You can also stream video using raspvid - there are guides out there for this as well. Less functionality vs. motion and not as simple (IMHO), but probably more stable.

Hope that helps.

ifermon
  • 674
  • 5
  • 11
0

If it helps, with UV4L you can also live stream the Desktop to the browser (other than the camera directly). this should answer your question #3.

strumpet
  • 98
  • 4