PHPackages                             nystudio107/transcoder - PHPackages - PHPackages  [Skip to content](#main-content)[PHPackages](/)[Directory](/)[Categories](/categories)[Trending](/trending)[Leaderboard](/leaderboard)[Changelog](/changelog)[Analyze](/analyze)[Collections](/collections)[Log in](/login)[Sign up](/register)

1. [Directory](/)
2. /
3. [Utility &amp; Helpers](/categories/utility)
4. /
5. nystudio107/transcoder

ActiveCraft-plugin[Utility &amp; Helpers](/categories/utility)

nystudio107/transcoder
======================

Transcode videos to various formats, and provide thumbnails of the video

1.1.1(9y ago)251944[1 issues](https://github.com/nystudio107/transcoder/issues)PHP

Since Sep 12Pushed 7y ago3 watchersCompare

[ Source](https://github.com/nystudio107/transcoder)[ Packagist](https://packagist.org/packages/nystudio107/transcoder)[ RSS](/packages/nystudio107-transcoder/feed)WikiDiscussions master Synced 3w ago

READMEChangelog (2)Dependencies (1)Versions (4)Used By (0)

[![No Maintenance Intended](https://camo.githubusercontent.com/d904056147052e22d8e1c7f46bb50293ed2aeb4c43ead9a2d0cf7a48b46d0562/687474703a2f2f756e6d61696e7461696e65642e746563682f62616467652e737667)](http://unmaintained.tech/)

DEPRECATED
==========

[](#deprecated)

This Craft CMS 2.x plugin is no longer supported, but it is fully functional, and you may continue to use it as you see fit. The license also allows you to fork it and make changes as needed for legacy support reasons.

The Craft CMS 3.x version of this plugin can be found here: [craft-transcoder](https://github.com/nystudio107/craft-transcoder) and can also be installed via the Craft Plugin Store in the Craft CP.

Transcoder plugin for Craft CMS
===============================

[](#transcoder-plugin-for-craft-cms)

Transcode videos to various formats, and provide thumbnails of the video

Related: [Transcoder for Craft 3.x](https://github.com/nystudio107/craft3-transcoder)

Installation
------------

[](#installation)

To install Transcoder, follow these steps:

1. Download &amp; unzip the file and place the `transcoder` directory into your `craft/plugins` directory
2. -OR- do a `git clone https://github.com/nystudio107/transcoder.git` directly into your `craft/plugins` folder. You can then update it with `git pull`
3. -OR- install with Composer via `composer require nystudio107/transcoder`
4. Install plugin in the Craft Control Panel under Settings &gt; Plugins
5. The plugin folder should be named `transcoder` for Craft to see it. GitHub recently started appending `-master` (the branch name) to the name of the folder for zip file downloads.

Transcoder works on Craft 2.4.x, Craft 2.5.x and Craft 2.6.x. `ffmpeg` **must** be installed for it to function.

Transcoder Overview
-------------------

[](#transcoder-overview)

The Transcoder video allows you to take any locally stored video, and transcode it into any bitrate/framerate, and save it out as a web-ready `.mp4` file.

It also allows you to get a thumbnail of the video in any size and at any timecode.

Finally, it lets you download an arbitrary file (such as the transcoded video) via a special download link.

If the source file has changed since the last time the video was encoded, it will re-encode the video and replace it.

Configuring Transcoder
----------------------

[](#configuring-transcoder)

The only configuration for Transcoder is in the `config.php` file, which is a multi-environment friendly way to store the default settings. Don't edit this file, instead copy it to `craft/config` as `transcoder.php` and make your changes there. Here's the default `config.php` file:

```
