Hi,
I've found several free live streams I'd like to watch. Unfortunately the servers don't seem to have enough bandwidth and the stream stops and buffers every few minutes - pretty much unwatchable. Furthermore I can't do time shifting or fast forward through commercials but that's icing on the cake.
What I really want is to setup a recorder/streamer on a virtual private server that records these streams 24/7. Keeps several hours in a buffer and lets me watch any part of the stream. I was wondering if anyone can point me to any open source software that is capable of this?
I haven't found anything free/open source in one package to do this. I found bits and pieces. For example I can save 1 hour of stream using:
ffmpeg -i "$url" -y -vcodec copy -acodec copy -t 3600 /tmp/mystream.mpg
I can convert a file from mpg to mp4 using ffmpeg as well.
I can do pseudo-streaming using lighttpd h.264 mod
http://h264.code-shop.com/trac/wiki/Mod-H264-Streaming
But it's quite a bit of work to build a robust system that does this 24/7, doesn't leak memory, php script to serve playlist etc.
Any input would be appreciated.