transcode.c File Reference

Include dependency graph for transcode.c:


Defines

#define VENC_TEXT   N_("Video encoder")
#define VENC_LONGTEXT
#define VCODEC_TEXT   N_("Destination video codec")
#define VCODEC_LONGTEXT
#define VB_TEXT   N_("Video bitrate")
#define VB_LONGTEXT
#define SCALE_TEXT   N_("Video scaling")
#define SCALE_LONGTEXT
#define FPS_TEXT   N_("Video frame-rate")
#define FPS_LONGTEXT
#define DEINTERLACE_TEXT   N_("Deinterlace video")
#define DEINTERLACE_LONGTEXT
#define DEINTERLACE_MODULE_TEXT   N_("Deinterlace module")
#define DEINTERLACE_MODULE_LONGTEXT
#define WIDTH_TEXT   N_("Video width")
#define WIDTH_LONGTEXT
#define HEIGHT_TEXT   N_("Video height")
#define HEIGHT_LONGTEXT
#define MAXWIDTH_TEXT   N_("Maximum video width")
#define MAXWIDTH_LONGTEXT
#define MAXHEIGHT_TEXT   N_("Maximum video height")
#define MAXHEIGHT_LONGTEXT
#define VFILTER_TEXT   N_("Video filter")
#define VFILTER_LONGTEXT
#define AENC_TEXT   N_("Audio encoder")
#define AENC_LONGTEXT
#define ACODEC_TEXT   N_("Destination audio codec")
#define ACODEC_LONGTEXT
#define AB_TEXT   N_("Audio bitrate")
#define AB_LONGTEXT
#define ARATE_TEXT   N_("Audio sample rate")
#define ARATE_LONGTEXT
#define ALANG_TEXT   N_("Audio Language")
#define ALANG_LONGTEXT
#define ACHANS_TEXT   N_("Audio channels")
#define ACHANS_LONGTEXT
#define AFILTER_TEXT   N_("Audio filter")
#define AFILTER_LONGTEXT
#define SENC_TEXT   N_("Subtitles encoder")
#define SENC_LONGTEXT
#define SCODEC_TEXT   N_("Destination subtitles codec")
#define SCODEC_LONGTEXT
#define SFILTER_TEXT   N_("Overlays")
#define SFILTER_LONGTEXT
#define OSD_TEXT   N_("OSD menu")
#define OSD_LONGTEXT
#define THREADS_TEXT   N_("Number of threads")
#define THREADS_LONGTEXT
#define HP_TEXT   N_("High priority")
#define HP_LONGTEXT
#define ASYNC_TEXT   N_("Synchronise on audio track")
#define ASYNC_LONGTEXT
#define HURRYUP_TEXT   N_( "Hurry up" )
#define HURRYUP_LONGTEXT
#define SOUT_CFG_PREFIX   "sout-transcode-"

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 sout_stream_id_tAdd (sout_stream_t *, es_format_t *)
static int Del (sout_stream_t *, sout_stream_id_t *)
static int Send (sout_stream_t *, sout_stream_id_t *, block_t *)

Variables

static const char *const ppsz_deinterlace_type []
static const char *const ppsz_sout_options []

Define Documentation

#define AB_LONGTEXT

Value:

N_( \
    "Target bitrate of the transcoded audio stream." )

#define AB_TEXT   N_("Audio bitrate")

#define ACHANS_LONGTEXT

Value:

N_( \
    "Number of audio channels in the transcoded streams." )

#define ACHANS_TEXT   N_("Audio channels")

#define ACODEC_LONGTEXT

Value:

N_( \
    "This is the audio codec that will be used.")

#define ACODEC_TEXT   N_("Destination audio codec")

#define AENC_LONGTEXT

Value:

N_( \
    "This is the audio encoder module that will be used (and its associated "\
    "options).")

#define AENC_TEXT   N_("Audio encoder")

#define AFILTER_LONGTEXT

Value:

N_( \
    "Audio filters will be applied to the audio streams (after conversion " \
    "filters are applied). You can enter a colon-separated list of filters." )

#define AFILTER_TEXT   N_("Audio filter")

#define ALANG_LONGTEXT

Value:

N_( \
    "This is the language of the audio stream.")

#define ALANG_TEXT   N_("Audio Language")

#define ARATE_LONGTEXT

Value:

N_( \
 "Sample rate of the transcoded audio stream (11250, 22500, 44100 or 48000).")

#define ARATE_TEXT   N_("Audio sample rate")

#define ASYNC_LONGTEXT

Value:

N_( \
    "This option will drop/duplicate video frames to synchronise the video " \
    "track on the audio track." )

#define ASYNC_TEXT   N_("Synchronise on audio track")

#define DEINTERLACE_LONGTEXT

Value:

N_( \
    "Deinterlace the video before encoding." )

#define DEINTERLACE_MODULE_LONGTEXT

Value:

N_( \
    "Specify the deinterlace module to use." )

#define DEINTERLACE_MODULE_TEXT   N_("Deinterlace module")

#define DEINTERLACE_TEXT   N_("Deinterlace video")

#define FPS_LONGTEXT

Value:

N_( \
    "Target output frame rate for the video stream." )

#define FPS_TEXT   N_("Video frame-rate")

#define HEIGHT_LONGTEXT

Value:

N_( \
    "Output video height." )

#define HEIGHT_TEXT   N_("Video height")

#define HP_LONGTEXT

Value:

N_( \
    "Runs the optional encoder thread at the OUTPUT priority instead of " \
    "VIDEO." )

#define HP_TEXT   N_("High priority")

#define HURRYUP_LONGTEXT

Value:

N_( "The transcoder will drop frames if your CPU " \
                "can't keep up with the encoding rate." )

#define HURRYUP_TEXT   N_( "Hurry up" )

#define MAXHEIGHT_LONGTEXT

Value:

N_( \
    "Maximum output video height." )

#define MAXHEIGHT_TEXT   N_("Maximum video height")

#define MAXWIDTH_LONGTEXT

Value:

N_( \
    "Maximum output video width." )

#define MAXWIDTH_TEXT   N_("Maximum video width")

#define OSD_LONGTEXT

Value:

N_(\
    "Stream the On Screen Display menu (using the osdmenu subpicture module)." )

#define OSD_TEXT   N_("OSD menu")

#define SCALE_LONGTEXT

Value:

N_( \
    "Scale factor to apply to the video while transcoding (eg: 0.25)")

#define SCALE_TEXT   N_("Video scaling")

#define SCODEC_LONGTEXT

Value:

N_( \
    "This is the subtitles codec that will be used." )

#define SCODEC_TEXT   N_("Destination subtitles codec")

#define SENC_LONGTEXT

Value:

N_( \
    "This is the subtitles encoder module that will be used (and its " \
    "associated options)." )

#define SENC_TEXT   N_("Subtitles encoder")

#define SFILTER_LONGTEXT

Value:

N_( \
    "This allows you to add overlays (also known as \"subpictures\" on the "\
    "transcoded video stream. The subpictures produced by the filters will "\
    "be overlayed directly onto the video. You can specify a colon-separated "\
    "list of subpicture modules" )

#define SFILTER_TEXT   N_("Overlays")

#define SOUT_CFG_PREFIX   "sout-transcode-"

#define THREADS_LONGTEXT

Value:

N_( \
    "Number of threads used for the transcoding." )

#define THREADS_TEXT   N_("Number of threads")

#define VB_LONGTEXT

Value:

N_( \
    "Target bitrate of the transcoded video stream." )

#define VB_TEXT   N_("Video bitrate")

#define VCODEC_LONGTEXT

Value:

N_( \
    "This is the video codec that will be used.")

#define VCODEC_TEXT   N_("Destination video codec")

#define VENC_LONGTEXT

Value:

N_( \
    "This is the video encoder module that will be used (and its associated "\
    "options).")

#define VENC_TEXT   N_("Video encoder")

#define VFILTER_LONGTEXT

Value:

N_( \
    "Video filters will be applied to the video streams (after overlays " \
    "are applied). You can enter a colon-separated list of filters." )

#define VFILTER_TEXT   N_("Video filter")

#define WIDTH_LONGTEXT

Value:

N_( \
    "Output video width." )

#define WIDTH_TEXT   N_("Video width")


Function Documentation

static sout_stream_id_t * Add ( sout_stream_t p_stream,
es_format_t p_fmt 
) [static]

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 Del ( sout_stream_t p_stream,
sout_stream_id_t id 
) [static]

static int Open ( vlc_object_t p_this  )  [static]

Probes and initializes.

Status of this demuxer: Real Media format -----------------.

Basic chorus/flanger/delay audio filter This implements a variable delay filter for VLC.

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 Send ( sout_stream_t p_stream,
sout_stream_id_t id,
block_t p_buffer 
) [static]

int vlc_entry__main ( module_t p_module  ) 

const char* vlc_entry_license__main ( void   ) 


Variable Documentation

const char* const ppsz_deinterlace_type[] [static]

Initial value:

{
    "deinterlace", "ffmpeg-deinterlace"
}

const char* const ppsz_sout_options[] [static]

Initial value:

 {
    "venc", "vcodec", "vb",
    "scale", "fps", "width", "height", "vfilter", "deinterlace",
    "deinterlace-module", "threads", "hurry-up", "aenc", "acodec", "ab", "alang",
    "afilter", "samplerate", "channels", "senc", "scodec", "soverlay",
    "sfilter", "osd", "audio-sync", "high-priority", "maxwidth", "maxheight",
    NULL
}


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