How do I record a stream to file using VLC? How do I re-stream a previously recorded file using VLC?

Note version 1.0.3 of the VLC Media Player were used to create these steps. Other versions may differ to varying degrees.

(Recording)
Select Media–>Convert/Save…
Choose the Network Tab to reach the Open Media page. Enter your AVN Stream Destination, including stream type, destination IP and destination port (e.g.: UDP , 225.168.3.29 , 1234) then press Convert/Save.
In the Convert page, enter your Destination file xxx.ts, where xxx is the file name to save, check the “Dump raw input” check box,
Finally, click the Start button when you are ready to save/capture the stream.

Note that in some versions of VLC the “Dump raw input” check box functionality wasn’t working correctly (data wasn’t being saved in its original format). The work around for this, if it occurs, is:
In the Convert page, click the “Edit selected profile” button. It is in the Settings section, to the right of the profile drop down list and looks like a tools button.
Under Video Codec Tab, click on “Keep Original Video Track” box.
Under Audio Codec Tab, click on “Keep Original Audio Track” box.
Next Save the Profile Settings (you should only have to do that once).
Finally, click the Start button when you are ready to save/capture the stream.

STAGE 2: (Re-Streaming)
Select Media–>Streaming…
From the File Tab add the newly captured file (xxx.ts), then click the Stream Button.
In the Destinations section, select UDP and press the Add Button, then choose the destination address and port.
Disable the box that says “Activate Transcoding” and then press the Stream Button.
at this point you should be able to receive the Stream on an Amino at the given Stream Destination.