2017 © Pedro Peláez
 

symfony-bundle subconverter-bundle

Implementation of subtitles converter with following supported formats: srt, webvtt, ttaf1, txt, tabtxt

image

crossknowledge/subconverter-bundle

Implementation of subtitles converter with following supported formats: srt, webvtt, ttaf1, txt, tabtxt

  • Friday, April 20, 2018
  • by martarello-ck
  • Repository
  • 6 Watchers
  • 4 Stars
  • 3,745 Installations
  • PHP
  • 0 Dependents
  • 0 Suggesters
  • 3 Forks
  • 0 Open issues
  • 2 Versions
  • 6 % Grown

The README.md

Build Status Code Climate Total Downloads, (*1)

CrossKnowledge SubConverter Bundle

The CrossKnowledge/SubConverterBundle aims to convert subtitles files from and to different formats., (*2)

Formats:, (*3)

  • SRT
  • WebVTT
  • TXT
  • TTAF1

Installation

Add the bundle to your project:, (*4)

composer require crossknowledge/subconverter-bundle

Enable bundle in your kernel:, (*5)

class AppKernel extends Kernel
{
  public function registerBundles()
  {
      $bundles = array(
      ...
      new \CrossKnowledge\SubConverterBundle\CrossKnowledgeSubConverterBundle(),
        );
    ...

Now, to convert a subtitles file to a specific format, use can use the following service in your controller:, (*6)

  $this->get('crossknowledge.subconverterbundle.converter')->convert($inputFilePath, $outputFilePath, $outputFormat, $includeBom);

Example

$inputFilePath // "/tmp/my_subtitle.srt"
$outputFilePath // "/tmp/my_subtitle.webvtt"
$outputFormat // ['srt'|'webvtt'|'ttaf1'|'txt']
$includeBom // [true|false]

License

This bundle is under the MIT license. See the complete license in the bundle:, (*7)

Resources/meta/LICENSE

About

CrossKnowledgeSubConverterBundle is a CrossKnowledge initiative. See also the list of contributors. A couple of "distribution" (travis,readme.md, etc..) files are inspired from FriendsOfSymfony/FOSUserBundle's., (*8)

Contributions

Contributions are more than welcome. We will try to integrate them. As long as there is no BC, anything can be suggested., (*9)

Reporting an issue or a feature request

Issues and feature requests are tracked in the Github issue tracker., (*10)

When reporting a bug, it may be a good idea to reproduce it in a basic project built using the Symfony Standard Edition to allow developers of the bundle to reproduce the issue by simply cloning it and following some steps., (*11)

The Versions

20/04 2018

dev-symfony-3.4

dev-symfony-3.4

Implementation of subtitles converter with following supported formats: srt, webvtt, ttaf1, txt, tabtxt

  Sources   Download

MIT

The Requires

 

The Development Requires

by CrossKnowledge

symfony2 converter subtitle srt webvtt txt ttaf1 tabtxt

30/01 2017

dev-master

9999999-dev

Implementation of subtitles converter with following supported formats: srt, webvtt, ttaf1, txt, tabtxt

  Sources   Download

MIT

The Requires

 

The Development Requires

by Aymeric Poude

symfony2 converter subtitle srt webvtt txt ttaf1 tabtxt