No commit activity in last 3 years
No release in over 3 years
Audio/Video Chainer for Paperclip using FFMPEG/Avconv
2005
2006
2007
2008
2009
2010
2011
2012
2013
2014
2015
2016
2017
2018
2019
2020
2021
2022
2023
2024
 Dependencies

Development

~> 1.6
>= 4.0.0
>= 0
~> 3.0.0

Runtime

~> 0.8.1
>= 2.5.2
~> 1.1.0
 Project Readme

Paperclip Chainer

Audio/Video Chainer for Paperclip using FFMPEG/Avconv.

Status

Build Status Coverage Status Code Climate Dependency Status Gem Version

Installation

Add this line to your application's Gemfile:

gem 'paperclip-av-chainer'

And then execute:

$ bundle

Or install it yourself as:

$ gem install paperclip-av-chainer

Usage

# app/models/user.rb
class Post < ActiveRecord::Base
  has_attached_file :audio, :styles => {
    :medium => { :geometry => "640x480", :format => 'ogg' },
  }, :processors => [:chainer]
end

Now when you attach archives (see supported formats) containing audio files, they will all be concatenated in one file.

Supported Formats

Currently supported input archives:

* ZIP

Concatenting audio files tested:

* OGG
* SPX

Contributing

  1. Fork it ( https://github.com/ruby-av/paperclip-av-chainer/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