CARVIEW |
Select Language
HTTP/2 302
server: nginx
date: Sat, 16 Aug 2025 22:50:58 GMT
content-type: text/plain; charset=utf-8
content-length: 0
x-archive-redirect-reason: found capture at 20100305030647
location: https://web.archive.org/web/20100305030647/https://github.com/zencoder/rvideo
server-timing: captures_list;dur=0.866540, exclusion.robots;dur=0.026841, exclusion.robots.policy;dur=0.012044, esindex;dur=0.014734, cdx.remote;dur=14.734047, LoadShardBlock;dur=195.982885, PetaboxLoader3.datanode;dur=81.486292, PetaboxLoader3.resolve;dur=63.813793
x-app-server: wwwb-app219
x-ts: 302
x-tr: 249
server-timing: TR;dur=0,Tw;dur=0,Tc;dur=0
set-cookie: wb-p-SERVER=wwwb-app219; path=/
x-location: All
x-rl: 0
x-na: 0
x-page-cache: MISS
server-timing: MISS
x-nid: DigitalOcean
referrer-policy: no-referrer-when-downgrade
permissions-policy: interest-cohort=()
HTTP/2 200
server: nginx
date: Sat, 16 Aug 2025 22:50:58 GMT
content-type: text/html; charset=utf-8
x-archive-orig-server: nginx/0.7.61
x-archive-orig-date: Fri, 05 Mar 2010 03:06:47 GMT
x-archive-orig-connection: close
x-archive-orig-status: 200 OK
x-archive-orig-etag: "85d3e1d68983d02ddb117d80bcb50f39"
x-archive-orig-x-runtime: 158ms
x-archive-orig-content-length: 24362
x-archive-orig-cache-control: private, max-age=0, must-revalidate
x-archive-guessed-content-type: text/html
x-archive-guessed-charset: utf-8
memento-datetime: Fri, 05 Mar 2010 03:06:47 GMT
link: ; rel="original", ; rel="timemap"; type="application/link-format", ; rel="timegate", ; rel="first memento"; datetime="Tue, 22 Sep 2009 05:22:37 GMT", ; rel="prev memento"; datetime="Tue, 08 Dec 2009 08:42:56 GMT", ; rel="memento"; datetime="Fri, 05 Mar 2010 03:06:47 GMT", ; rel="next memento"; datetime="Mon, 11 Jun 2018 02:15:58 GMT", ; rel="last memento"; datetime="Thu, 08 Dec 2022 01:10:49 GMT"
content-security-policy: default-src 'self' 'unsafe-eval' 'unsafe-inline' data: blob: archive.org web.archive.org web-static.archive.org wayback-api.archive.org athena.archive.org analytics.archive.org pragma.archivelab.org wwwb-events.archive.org
x-archive-src: 51_14_20100304225140_crawl101-c/51_14_20100305030249_crawl101.arc.gz
server-timing: captures_list;dur=0.470478, exclusion.robots;dur=0.019167, exclusion.robots.policy;dur=0.010028, esindex;dur=0.012070, cdx.remote;dur=9.904737, LoadShardBlock;dur=86.221775, PetaboxLoader3.datanode;dur=79.413759, load_resource;dur=151.467135, PetaboxLoader3.resolve;dur=80.481738
x-app-server: wwwb-app219
x-ts: 200
x-tr: 309
server-timing: TR;dur=0,Tw;dur=0,Tc;dur=0
x-location: All
x-rl: 0
x-na: 0
x-page-cache: MISS
server-timing: MISS
x-nid: DigitalOcean
referrer-policy: no-referrer-when-downgrade
permissions-policy: interest-cohort=()
content-encoding: gzip
zencoder's rvideo at master - GitHub
This service is courtesy of Pledgie.
zencoder / rvideo
- Source
- Commits
- Network (7)
- Issues (1)
- Downloads (0)
- Wiki (1)
- Graphs
-
Branch:
master
click here to add a description
click here to add a homepage
Sending Request…
Enable Donations
Pledgie Donations
Once activated, we'll place the following badge in your repository's detail box:
Official home of the RVideo project, a Ruby gem for video and audio transcoding. — Read more
rvideo /
name | age | message | |
---|---|---|---|
![]() |
History.txt | Tue Sep 09 21:27:31 -0700 2008 | Moving to GitHub. [jdl] |
![]() |
License.txt | Tue Sep 09 21:27:31 -0700 2008 | Moving to GitHub. [jdl] |
![]() |
README.txt | Tue Sep 09 21:27:31 -0700 2008 | Moving to GitHub. [jdl] |
![]() |
RULES | Tue Sep 09 21:27:31 -0700 2008 | Moving to GitHub. [jdl] |
![]() |
Rakefile | Tue Sep 09 21:27:31 -0700 2008 | Moving to GitHub. [jdl] |
![]() |
lib/ | Tue Sep 09 21:27:31 -0700 2008 | Moving to GitHub. [jdl] |
README.txt
RVideo RVideo allows you to inspect and process video files. Installation is a little involved. First, install the gem: sudo gem install rvideo Next, install ffmpeg and (possibly) other related libraries. This is documented elsewhere on the web, and can be a headache. If you are on OS X, the Darwinports build is reasonably good (though not perfect). Install with: sudo port install ffmpeg Or, for a better build (recommended), add additional video- and audio-related libraries, like this: sudo port install ffmpeg +lame +libogg +vorbis +faac +faad +xvid +x264 +a52 Most package management systems include a build of ffmpeg, but many include a poor build. So you may need to compile from scratch. If you want to create Flash Video files, also install flvtool2: sudo gem install flvtool2 Once ffmpeg and RVideo are installed, you're set. To inspect a file, initialize an RVideo file inspector object. See the documentation for details. A few examples: file = RVideo::Inspector.new(:file => "#{APP_ROOT}/files/input.mp4") file = RVideo::Inspector.new(:raw_response => @existing_response) file = RVideo::Inspector.new(:file => "#{APP_ROOT}/files/input.mp4", :ffmpeg_binary => "#{APP_ROOT}/bin/ffmpeg") file.fps # "29.97" file.duration # "00:05:23.4" To transcode a video, initialize a Transcoder object. transcoder = RVideo::Transcoder.new Then pass a command and valid options to the execute method recipe = "ffmpeg -i $input_file$ -ar 22050 -ab 64 -f flv -r 29.97 -s" recipe += " $resolution$ -y $output_file$" recipe += "\nflvtool2 -U $output_file$" begin transcoder.execute(recipe, {:input_file => "/path/to/input.mp4", :output_file => "/path/to/output.flv", :resolution => "640x360"}) rescue TranscoderError => e puts "Unable to transcode file: #{e.class} - #{e.message}" end If the job succeeds, you can access the metadata of the input and output files with: transcoder.original # RVideo::Inspector object transcoder.processed # RVideo::Inspector object If the transcoding succeeds, the file may still have problems. RVideo will populate an errors array if the duration of the processed video differs from the duration of the original video, or if the processed file is unreadable. Thanks to Peter Boling for early work on RVideo. Contribute to RVideo! If you want to help out, there are a few things you can do. - Use, test, and submit bugs/patches - We need a RVideo::Tools::Mencoder class to add mencoder support. - Other tool classes would be great - On2, mp4box, Quicktime (?), etc. - Submit other fixes, features, optimizations, and refactorings If RVideo is useful to you, you may also be interested in RMovie, another Ruby video library. See https://rmovie.rubyforge.org/ for more. Finally, watch for Zencoder, a commercial video transcoder built by Slantwise Design. Zencoder uses RVideo for its video processing, but adds file queuing, distributed transcoding, a web-based transcoder dashboard, and more. See https://zencoder.tv or https://slantwisedesign.com for more. Copyright (c) 2007 Jonathan Dahl and Slantwise Design. Released under the MIT license.