logo
background
 Home and Links
 Your PC and Security
 Server NAS
 Wargames
 Astronomy
 PhotoStory
 DVD making
 Raspberry Pi
 PIC projects
 Other projects
 Next >>

Notes index links

Links to all my notes (includes mini-projects and source code etc)

(+) 0001 How do I change the Pi System partition size ?

(+) 0100 Device tree settings

(+) 0201 Power over Ethernet - (PoE)

(+) 0202 Solar Power - (with WiFi)

(+) 0203 Power Bank pass through

(+) 0400 Accessing the SDHC card system image

(+) 0401 Accessing PC shares from the Pi

(+) 0402 Installing samba - (the Pi as a Network Share on your PC)

(+) 0900 Can this approach be scaled up to a PC UPS ?

(+) 1001 Pandora Spotify on the Pi

(+) 1002 Playing movies on the Pi

(+) 1003 Getting VGA from the HDMI socket

(+) 1004 Using the RCA socket

(+) 1005 Using the Pi RS232 serial links

(+) 1006 Using the GPIO pins

(+) 1007 Controlling the Pi Zero ACT LED

(+) 1200 List of standard camera modes

(+) 1300 Auto file names

(+) 6500 How to make the System partition read only ?

(+) 6501 Minimising SDHC corruption on power down

(+) 9000 diode switch

(+) 9001 Auto shut down

(+) 9001 MOSFET switch

(+) C201 High speed photos

(+) Dec 1969 (no desc)

(+) a000 Display setup - (for PhotoFrame)

(+) a001 go photoframe - (how it works)

(+) a002 set photo - (select for display)

(+) a003 go button script - (photoframe pause control)

(+) a005 get photos - (fetch resize)

(+) a00x Other display utilities

(+) c000 CCTV UPS requirements

(+) c001 countering low speed motion detect

(+) c002 Pi Overclocking

(+) c203 Pi ram disk - (tmpfs)

(+) c901 iR illumination



(-) c902 Viewing a video stream


Viewing a video stream

The simple way when using a PC is to set the camera up as a 'Skype' feed. The user then 'calls' the PC (which is set to 'auto-answer') and gets the video.

However (as usual) things are not so easy with the Pi - the drawback is that Microsoft (owners of Skype) don't want you to do that without running the entire 'client' on the Pi (as well as paying them a fee) - so the Skype 'SDK' based solutions no longer work

Using VLC to view 'streaming video' from the Pi

The Pi can act as a 'streaming video source' which VLC (running on your PC etc.) can view. The advantage of this is that the Pi does not need to add 'file headers' etc to the video == it just streams it straight from the GPU to the Ethernet port. So all you have to do is connected the two devices via your network eg. using 'netcat' or (via the web) SSH (see here and here for some 'pointers'). The drawback is that you need to run VLC on the 'remote viewer'

The Pi can deliver at least 30mbs via it's Ethernet cable, so you can get full 1080p HD at max. quality, max. data rate (25mbs) across your LAN (you may have to overclock the CPU since the Pi Model B Ethernet is off the USB hub and the USB drivers are 'crap' i.e the data rate is CPU limited). Whilst it's possible to run this as a 'web viewing' solution, you will be bandwidth limited by your Internet 'upload' speed, which is about 1mbs (from TalkTalk, Sky, O2, AOL and all the 'Supermarket' ISP's). Even though Virgin, BT and Plusnet have upload speeds of 4-5mbs, you still won't get 'high quality full HD' - at best you can expect 'half HD' (720x1280) at 25fps and high compression (or lower frame rates with better quality)

Using your browser

There are two main approaches .. the 'local' solution is to run your Pi as a web server, the 'remote' solution is to have the Pi 'upload' the video stream to a web based server (eg 'dropbox') or to your own web site (and let the web site hosting company stream the video around the world).

The main drawback for all 'remote' solutions is the limited bandwidth made available by all ISP's for web uploads.

Most ISP's limit you to 1mbs or less - only Virgin, BT or Plusnet give you 4-5mbs - which effectively limits you to 1 full resolution still photo every N seconds (a 3.5MB (MegaBytes) jpg photo is 28mb (megabits) = so even at 5mbs that's going to take over 5 seconds to upload) or a very highly compressed, low resolution, low frame rate video stream (which you can expect to be 'worse than Skype' since they use very clever algorithms to optimise their video feed)


This note last modified: 17th Nov 2017 17:30.

[top]

(+) c905 Image anotation

(+) Dec 1969 (no desc)

(+) raspicamdocs.txt (no desc)

(+) s010 Elevation sensing

Next subject :- index

[top]