ZenVirZan wrote:
Right, so I'm trying to compile this Ruby gem for my project on Windows 8.1, but I've never used Linux/Unix before and I have no idea what I'm looking at.
Rubygem link (ffmpeg-ruby)Can anyone manage to do it successfully, and let me know how they did it? I've wasted hours on this and I haven't had any luck.
You are aware that there are installation instructions on the page? They look pretty clear-cut to me.
Do you have RubyGem installed?
http://www.heatware.net/ruby-rails/how- ... ubuntu-10/EDIT: Looks like the ffmpeg download link is 404'd, you'll need to find a new link to download with wget, maybe this one?
https://ffmpeg.org/releases/ffmpeg-snapshot.tar.bz2 I'll check it out and write out some new instructions for you
EDIT2:
Download, extract, enter folder
Terminal wrote:
Configure the build, generate the target, make and install library
Terminal wrote:
./configure --prefix=/opt/ffmpeg --enable-pthreads --enable-shared --enable-gpl
make
sudo make install
Clone ffmpeg ruby, change into directory, build gem, install gem
Terminal wrote:
git clone
git://github.com/gwik/ffmpeg-ruby.git cd ffmpeg-ruby
gem build ./ffmpeg-ruby.gemspec
sudo gem install ./ffmpeg-ruby-0.1.0.gem -- --with-ffmpeg-dir=/opt/ffmpeg