loading

I need help with VLC commands for MPEG2 to MPEG1 restreamed UDP.

I have an MPEG2 stream coming into my Linux box.  I need the VideoLan(VLC) to transcode it from MPEG2 to MPEG1 and restream it UDP.  I don't have X desktop to use GUI's.  The VLC version is fairly new but I'm not sure of the exact numbers.  Any help would be much appreciated.