Project

sjson2srt

0.0
No commit activity in last 3 years
No release in over 3 years
Convert the sjson captioning format to the srt format. This includes an executable named "sjson2srt" that accepts sjson on STDIN and emits srt on STDOUT, suitable for use in a unix pipeline.
2005
2006
2007
2008
2009
2010
2011
2012
2013
2014
2015
2016
2017
2018
2019
2020
2021
2022
2023
2024
 Dependencies

Development

~> 1.7
~> 0.10
~> 10.0
~> 3.1
~> 0.9
 Project Readme

Sjson2srt

This converts sjson to srt files.

Installation

Add this line to your application's Gemfile:

gem 'sjson2srt'

And then execute:

$ bundle

Or install it yourself:

$ gem install sjson2srt

Usage

In a ruby program:

srt_content = Sjson2srt::Converter.new(sjson_string).convert

This gem will install an executable named sjson2srt suitable for use in a unix pipeline, thusly:

cat file.sjson | sjson2srt > output.srt

Contributing

  1. Fork it ( https://github.com/[my-github-username]/sjson2srt/fork )
  2. Create your feature branch (git checkout -b my-new-feature)
  3. Commit your changes (git commit -am 'Add some feature')
  4. Push to the branch (git push origin my-new-feature)
  5. Create a new Pull Request

Contributors

  • DJCP

Copyright

President and Fellows of Harvard College, 2014