search for: student_interviews

Displaying 1 result from an estimated 1 matches for "student_interviews".

2006 Jul 18
0
ffmpeg and IO.popen
i?m fairly new to ruby... any suggestions getting the below to work... i?d like to use myfile_field.read within encodeVideo and then self.data = Student_Interviews.flv class Myfile < ActiveRecord::Base . . . def encodeVideo opts #, stream IO.popen(?ffmpeg #{opts}?, ?w?)#{ |io| io.puts stream} end def myfile=(myfile_field) if myfile_field and myfile_field.length > 0 encodeVideo ?-i /tmp/Student_Interviews.mov -ar 22050 -ab 64 -f flv -s 320?240 /tmp...