2017 © Pedro Peláez
 

symfony-bundle transcoding-bundle

Provides container services for using the AC Transcoding component in your Symfony2 project.

image

ac/transcoding-bundle

Provides container services for using the AC Transcoding component in your Symfony2 project.

  • Saturday, May 3, 2014
  • by americancouncils
  • Repository
  • 4 Watchers
  • 4 Stars
  • 413 Installations
  • PHP
  • 0 Dependents
  • 0 Suggesters
  • 2 Forks
  • 2 Open issues
  • 7 Versions
  • 0 % Grown

The README.md

ACTranscodingBundle

This bundle provides container services for loading the file transcoder in your own code., (*1)

This bundle is developed in sync with the http://github.com/AmericanCouncils/Transcoding repository., (*2)

Configuration

You can copy/paste the config block below into your app/config.yml and modify as needed:, (*3)

ac_transcoding:
    ffmpeg: 
        enabled: true           #if false, other keys need not be specified
        path: /usr/bin/ffmpeg
        timeout: 0
    handbrake:
        enabled: true           #if false, other keys need not be specified
        path: /usr/local/bin/HandBrakeCLI
        timeout: 0

Services

  • transcoder - will return an instance of AC\Transcoding\Transcoder, automatically registering any tagged Adapters, Presets, and Listeners

You can use the transcoder service to transcode a file:, (*4)

$newFile = $container->get('transcoder')->transcodeWithPreset('/path/to/input/file', 'handbrake.classic', '/path/to/output/file');

Container Tags

Various container tags are implemented to allow easy registration of custom Adapters, Presets & event listeners into the transcoding. See the list below:, (*5)

  • transcoding.adapter
  • transcoding.preset
  • transcoding.listener
  • transcoding.subscriber

Commands

The bundle provides a few commands for accessing the transcoder via the command line:, (*6)

  • transcoder:transcode [infile] [preset] [outfile] - Transcodes an input file with a preset, creating the output file. You can use this to test custom presets and adapters if necessary.
  • transcoder:status - Displays a list of enabled and working adapters based on current configuration, plus a list of usable presets.

The Versions

03/05 2014

dev-master

9999999-dev

Provides container services for using the AC Transcoding component in your Symfony2 project.

  Sources   Download

MIT

The Requires

 

by Evan Villemez

files transcoding

03/05 2014

0.4.3

0.4.3.0

Provides container services for using the AC Transcoding component in your Symfony2 project.

  Sources   Download

MIT

The Requires

 

by Evan Villemez

files transcoding

02/05 2014

0.4.2

0.4.2.0

Provides container services for using the AC Transcoding component in your Symfony2 project.

  Sources   Download

MIT

The Requires

 

by Evan Villemez

files transcoding

12/08 2013

0.4.1

0.4.1.0

Provides container services for using the AC Transcoding component in your Symfony2 project.

  Sources   Download

MIT

The Requires

 

by Evan Villemez

files transcoding

08/08 2013

0.4.0

0.4.0.0

Provides container services for using the AC Transcoding component in your Symfony2 project.

  Sources   Download

MIT

The Requires

 

by Evan Villemez

files transcoding

26/02 2013

0.3.0

0.3.0.0

Provides container services for using the AC Transcoding component in your Symfony2 project.

  Sources   Download

MIT

The Requires

 

by Evan Villemez

files transcoding

21/08 2012

0.2.0

0.2.0.0

Provides container services for using the AC Transcoding component in your Symfony2 project.

  Sources   Download

MIT

The Requires

 

by Evan Villemez

files transcoding