shout.c File Reference

Include dependency graph for shout.c:


Data Structures

struct  sout_access_out_sys_t

Defines

#define SOUT_CFG_PREFIX   "sout-shout-"
#define NAME_TEXT   N_("Stream name")
#define NAME_LONGTEXT
#define DESCRIPTION_TEXT   N_("Stream description")
#define DESCRIPTION_LONGTEXT
#define MP3_TEXT   N_("Stream MP3")
#define MP3_LONGTEXT
#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. " )
#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

Functions

static int Open (vlc_object_t *)
 Probes and initializes.
static void Close (vlc_object_t *)
 Releases resources.
int vlc_entry__main (module_t *p_module)
const char * vlc_entry_license__main (void)
static ssize_t Write (sout_access_out_t *, block_t *)
static int Seek (sout_access_out_t *, off_t)
static int Control (sout_access_out_t *, int, va_list)

Variables

static const char *const ppsz_sout_options []

Define Documentation

#define BITRATE_LONGTEXT   N_("Bitrate information of the transcoded stream. " )

#define BITRATE_TEXT   N_("Bitrate")

#define CHANNELS_LONGTEXT   N_("Number of channels information of the transcoded stream. " )

#define CHANNELS_TEXT   N_("Number of channels")

#define DESCRIPTION_LONGTEXT

Value:

N_("Description of the stream content or " \
                                "information about your channel." )

#define DESCRIPTION_TEXT   N_("Stream description")

#define GENRE_LONGTEXT   N_("Genre of the content. " )

#define GENRE_TEXT   N_("Genre description")

#define MP3_LONGTEXT

Value:

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." )

#define MP3_TEXT   N_("Stream MP3")

#define NAME_LONGTEXT

Value:

N_("Name to give to this stream/channel on the " \
                         "shoutcast/icecast server." )

#define NAME_TEXT   N_("Stream name")

#define PUBLIC_LONGTEXT

Value:

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." )

#define PUBLIC_TEXT   N_("Stream public")

#define QUALITY_LONGTEXT   N_("Ogg Vorbis Quality information of the transcoded stream. " )

#define QUALITY_TEXT   N_("Ogg Vorbis Quality")

#define SAMPLERATE_LONGTEXT   N_("Samplerate information of the transcoded stream. " )

#define SAMPLERATE_TEXT   N_("Samplerate")

#define SOUT_CFG_PREFIX   "sout-shout-"

#define URL_LONGTEXT   N_("URL with information about the stream or your channel. " )

#define URL_TEXT   N_("URL description")


Function Documentation

static void Close ( vlc_object_t p_this  )  [static]

Releases resources.

Close the module.

Destroys the X11 window.

Disconnect from the X server.

Close a SDL video output.

It destroys an OpenGL vout display.

Terminate a vout display created by Open.

It destroyes a Direct3D vout display.

Terminate an output method created by Open.

Release the drawable.

Close a libcaca video output.

Close a aa video output method.

Close the filter.

Terminate a splitter module.

This function closes a clone video splitter module.

Common close function.

Releases allocate resources.

Close: Destructor.

Parameters:
p_this pointer to this filter object
p_this,: the filter object

static int Control ( sout_access_out_t p_access,
int  i_query,
va_list  args 
) [static]

static int Open ( vlc_object_t p_this  )  [static]

Probes and initializes.

Todo:

  • Improve CDDB support (non-blocking, cache, .

Open the module.

Create an X11 window.

Probe the X server.

This function initializes SDL vout method.

It creates an OpenGL vout display.

This function allocates and initialize the DirectX vout display.

It creates a Direct3D vout display.

This function allocates and initializes a FB vout method.

Find the drawable set by libvlc application.

This function initializes libcaca vout method.

This function allocates and initializes a aa vout method.

This function allocates and initializes a Wall splitter module.

Open the filter.

This function allocates and initializes a Clone splitter module.

Open: initialize and create stuff.

Connect to the sftp server and ask for a file.

Parameters:
p_this,: the vlc_object
Returns:
VLC_SUCCESS if everything was fine
Parameters:
p_this 
p_this,: the filter object
Returns:
VLC_SUCCESS or vlc error codes

Todo:
Reinstate meta codec name

static int Seek ( sout_access_out_t p_access,
off_t  i_pos 
) [static]

References msg_Err, VLC_EGENERIC, and VLC_UNUSED.

int vlc_entry__main ( module_t p_module  ) 

const char* vlc_entry_license__main ( void   ) 

static ssize_t Write ( sout_access_out_t p_access,
block_t p_buffer 
) [static]


Variable Documentation

const char* const ppsz_sout_options[] [static]

Initial value:

 {
    "name", "description", "mp3", "genre", "url", "bitrate", "samplerate",
    "channels", "quality", "public", NULL
}


Generated on Tue May 25 08:05:09 2010 for VLC by  doxygen 1.5.6