VLC is a transcoder and will convert from one format to another, or from one stream container to another.
VLC will capture and record a stream as well as restream.
VLC will record whatever media or stream is being played.
VLC has web interfaces to remotely access and controll the [VLC] application.