I installed ffmpeg on my windows machine with no error message using gem install ffmpeg
. hm so did I actully install ffmpeg-ruby from here?
require 'rubygems'
require 'ffmpeg'
video = FFMPEG::InputFormat.new('alligator.mp4')
gives me 'NameError: uninitialized constant FFMPEG"
Does anybody have working ffmpeg ruby gem under windows the way it would give a length of a video file?
UPDATE: I can now see that I installed ffmpeg (not ffmpeg-ruby) but was using code sample from ffmpeg-ruby which did not work, of course.