+#define NAME_TEXT N_("Stream name")
+#define NAME_LONGTEXT N_("Name to give to this stream/channel on the " \
+ "shoutcast/icecast server." )
+
+#define DESCRIPTION_TEXT N_("Stream description")
+#define DESCRIPTION_LONGTEXT N_("Description of the stream content or " \
+ "information about your channel." )
+
+#define MP3_TEXT N_("Stream MP3")
+#define MP3_LONGTEXT N_("You normally have to feed the shoutcast module " \
+ "with Ogg streams. It is also possible to stream " \
+ "MP3 instead, so you can forward MP3 streams to " \
+ "the shoutcast/icecast server." )
+
+/* To be listed properly as a public stream on the Yellow Pages of shoutcast/icecast
+ the genres should match those used on the corresponding sites. Several examples
+ are Alternative, Classical, Comedy, Country etc. */
+
+#define GENRE_TEXT N_("Genre description")
+#define GENRE_LONGTEXT N_("Genre of the content. " )
+
+#define URL_TEXT N_("URL description")
+#define URL_LONGTEXT N_("URL with information about the stream or your channel. " )
+
+/* The shout module only "transmits" data. It does not have direct access to
+ "codec level" information. Stream information such as bitrate, samplerate,
+ channel numbers and quality (in case of Ogg streaming) need to be set manually */
+
+#define BITRATE_TEXT N_("Bitrate")
+#define BITRATE_LONGTEXT N_("Bitrate information of the transcoded stream. " )
+
+#define SAMPLERATE_TEXT N_("Samplerate")
+#define SAMPLERATE_LONGTEXT N_("Samplerate information of the transcoded stream. " )
+
+#define CHANNELS_TEXT N_("Number of channels")
+#define CHANNELS_LONGTEXT N_("Number of channels information of the transcoded stream. " )
+
+#define QUALITY_TEXT N_("Ogg Vorbis Quality")
+#define QUALITY_LONGTEXT N_("Ogg Vorbis Quality information of the transcoded stream. " )
+
+#define PUBLIC_TEXT N_("Stream public")
+#define PUBLIC_LONGTEXT N_("Make the server publicly available on the 'Yellow Pages' " \
+ "(directory listing of streams) on the icecast/shoutcast " \
+ "website. Requires the bitrate information specified for " \
+ "shoutcast. Requires Ogg streaming for icecast." )
+
+vlc_module_begin ()
+ set_description( N_("IceCAST output") )
+ set_shortname( "Shoutcast" )
+ set_capability( "sout access", 50 )
+ set_category( CAT_SOUT )
+ set_subcategory( SUBCAT_SOUT_ACO )
+ add_shortcut( "shout" )
+ add_string( SOUT_CFG_PREFIX "name", "VLC media player - Live stream", NULL,
+ NAME_TEXT, NAME_LONGTEXT, false )
+ add_string( SOUT_CFG_PREFIX "description",
+ "Live stream from VLC media player", NULL,
+ DESCRIPTION_TEXT, DESCRIPTION_LONGTEXT, false )
+ add_bool( SOUT_CFG_PREFIX "mp3", false, NULL,
+ MP3_TEXT, MP3_LONGTEXT, true )
+ add_string( SOUT_CFG_PREFIX "genre", "Alternative", NULL,
+ GENRE_TEXT, GENRE_LONGTEXT, false )
+ add_string( SOUT_CFG_PREFIX "url", "http://www.videolan.org/vlc", NULL,
+ URL_TEXT, URL_LONGTEXT, false )
+ add_string( SOUT_CFG_PREFIX "bitrate", "", NULL,
+ BITRATE_TEXT, BITRATE_LONGTEXT, false )
+ add_string( SOUT_CFG_PREFIX "samplerate", "", NULL,
+ SAMPLERATE_TEXT, SAMPLERATE_LONGTEXT, false )
+ add_string( SOUT_CFG_PREFIX "channels", "", NULL,
+ CHANNELS_TEXT, CHANNELS_LONGTEXT, false )
+ add_string( SOUT_CFG_PREFIX "quality", "", NULL,
+ QUALITY_TEXT, QUALITY_LONGTEXT, false )
+ add_bool( SOUT_CFG_PREFIX "public", false, NULL,
+ PUBLIC_TEXT, PUBLIC_LONGTEXT, true )
+ set_callbacks( Open, Close )
+vlc_module_end ()
+
+/*****************************************************************************
+ * Exported prototypes
+ *****************************************************************************/
+static const char *const ppsz_sout_options[] = {
+ "name", "description", "mp3", "genre", "url", "bitrate", "samplerate",
+ "channels", "quality", "public", NULL
+};