2014-10-22 14:47:08 +02:00
|
|
|
videoconverter
|
|
|
|
==============
|
|
|
|
|
2014-10-22 14:56:14 +02:00
|
|
|
I wrote this because I needed something that produces Videos for use withe the html5 Video Player [Projekktor](http://www.projekktor.com/)
|
|
|
|
|
|
|
|
- produces 3 output videos (mpg, mp4, ogv) from (hopefully) any input video file that ffmpeg can decode
|
2014-10-22 14:47:08 +02:00
|
|
|
- written in ruby
|
2014-10-22 14:56:14 +02:00
|
|
|
- requires ffmpeg and ffmpeg2theora
|
|
|
|
|
2014-10-22 14:47:08 +02:00
|
|
|
|
|
|
|
Usage:
|
|
|
|
<pre><code>
|
|
|
|
#!/usr/bin/env ruby
|
2014-10-22 14:56:14 +02:00
|
|
|
require 'VideoConversion.class.rb'
|
2014-10-22 14:58:31 +02:00
|
|
|
v = VideoConversion.new("videofile", 800, 100,"projekktor",1500,192)
|
2014-10-22 14:47:08 +02:00
|
|
|
v.converter
|
|
|
|
</code></pre>
|