Not maintained - Please check the Go port here: https://github.com/alexballas/go2tv
Stream any local video file to any UPnP/DLNA MediaRenderer. Supports subtitles too.
# npm install -g stream2tv
$ stream2tv <a video file>
stream2tv will connect to the first available upnp device.