I have managed to get the video to stream to a web browser using JWPlayer and Strobe Media Player as described, at full resolution and 25fps, however I need to view the stream on a raspberry pi
I managed to get a full hd feed, 25fps, to stream live from pi to pi with a delay of 1.54s, which makes no difference to me, by using rtmpdump and omxplayer, using the live option on both. I was using the live option on rtmpdump before, but not omxplayer. I also increased the size of the gpu memory split to help decoding.
Now I've set it up so that it displays the feed on screen by default when it's turned on. Cpu usage is typically below 10% (model a), though obviously most of the work is being done by the gpu. I'll put up the exact commands I used and the other changes I made as soon as I get a chance.
Next on my list is to try to protect the life of the sd card from all the write operations, and also trying to overlay a timestamp on the video at the server side so that if the feed freezes, due to WiFi dropout or whatever, that it'll be noticed. It would be nice to have some nanny script in place to make sure that if the feed does drop that it'll restart automatically.
Once I've figured out the bugs I'll work on having multiple pi's with cameras send feeds back to one screen with a controller to choose the feed required, and I might add functionality that grabs a couple of frames per second from the stream and plays back an hour's worth of video in a minute or so. I know that there are very few cases where this would be useful, but I'll be using the cameras to monitor cows in labour, and watching their movement over a period of time can tell a lot about when they are likely to calf. I think it should be achievable with ffmpeg too, though I could be wrong.