Sha256: de5fd1f4f82429ae1ba1d3cacf525c9b936ec334803333bdb835fb9d4945defc

Contents?: true

Size: 846 Bytes

Versions: 3

Compression:

Stored size: 846 Bytes

Contents

h2. FFMpeg

A DSL for building and executing ffmpeg commands.

h2. Requirements

It requires that you already have ffmpeg installed, obviously :)

h2. Install

gem install polly-ffmpeg --source http://gems.github.com

h2. Usage

To build and execute a command you would use the FFMpeg::convert method and then call the FFMpeg::run method like this:

include FFMpeg

convert "file.ext", :to => "new_file.ext" do
<span>&nbsp;&nbsp;&nbsp;&nbsp;seek     "00:01:13"</span>
<span>&nbsp;&nbsp;&nbsp;&nbsp;duration "00:10:01"</span>
end.run

For more information checkout the "documentation":http://polly.github.com/ffmpeg/


h2. Credit where credit's due

Thank's to "jwthompson2":http://github.com/jwthompson2, there's now support for all of the standard video and audio options from the ffmpeg documentation as well 
as improved and refactored specs.

Version data entries

3 entries across 3 versions & 1 rubygems

Version Path
polly-ffmpeg-0.1.8 README.textile
polly-ffmpeg-0.1.9 README.textile
polly-ffmpeg-0.2.1 README.textile