I am attempting to add video upload functionality to my project. It
looks like there is a small issue with ffmpeg. Here is the
transcoding method I am using:
def transcode
begin
RVideo::Transcoder.logger = logger
file = RVideo::Inspector.new(:file => self.asset.path)
command = "ffmpeg -i $input_file$ -y -s $resolution$ -ar 44100 -
b 64k -r 15 -sameq $output_file$"
options = {
:input_file => "#{RAILS_ROOT}/#{self.asset.path}",
:output_file => "#{RAILS_ROOT}/#{self.flash_path}",
:resolution => "320x200"
}
.
.
.
In the production log it shows this:
ffmpeg could not be found (expected ffmpeg to be found in the Unix
path)
I ran "which ffmpeg" and it returned /usr/local/bin/ffmpeg
--
You received this message because you are subscribed to the Google Groups "Phusion Passenger Discussions" group.
To post to this group, send email to
phusion-...@googlegroups.com.
To unsubscribe from this group, send email to
phusion-passen...@googlegroups.com.
For more options, visit this group at
http://groups.google.com/group/phusion-passenger?hl=en.