/transcoder/queue.php

Description
Constants
AUDIO_BITRATE = 192 (line 23)
MENCODER_PATH = '/usr/local/bin/' (line 12)
VIDEO_BITRATE = 1000 (line 27)
VIDEO_HEIGHT_SETTING = 400 (line 20)
VIDEO_WIDTH_SETTING = 600 (line 16)
Functions
transcode (line 78)

Transcode a video.

  • return: Transcoded file (or original URL if no change was made)
PATH transcode (PATH $path)
  • PATH $path: Video to transcoded
tr_get_mime_type (line 35)

Find the mime type for the given file extension. It does not take into account whether the file type has been white-listed or not, and returns a binary download mime type for any unknown extensions.

  • return: The MIME type
string tr_get_mime_type (string $extension)
  • string $extension: The file extension (no dot)

Documentation generated on Sun, 02 Jan 2011 23:23:11 +0000 by phpDocumentor 1.4.3