Monday, July 18, 2011

sighttpd ogg only

sighttpd is an excellent light weight streaming tool. Version 1.2 is the current master from git: https://github.com/kfish/sighttpd

One issue I had with this version is that it has a run-time dependency on shcodecs-record. The symptoms of noting having shcodecs-record available on the path is that sighttpd fails with:

execvp() failed: No such file or directory

I didn't need the stuff that shcodecs provides (MPEG-4 and H.264 encoding and decoding on SH-Mobile processor series.) To remove this dependency, a cheap hack was employed: comment out ./src/main.c:165 

// shrecord_run();

Then, recompile. I have a post on making a static sighttpd if you're interested in that.

UPDATE:
The shrecord dependency has been removed in the recent git master, so get that and ignore this.