What is the correct path video using Streamio FFMPEG on Rails -


i follow gem https://github.com/streamio/streamio-ffmpeg , :

movie = ffmpeg::movie.new("#{rails.root}/public/aaa.mov") 

but result :

errno::enoent: no such file or directory - ffmpeg -i /home/user/projects/test/public/aaa.mov 

does know ?

thanks

this gem assumes ffmpeg available in path. if not in path, need specify path of ffmpeg binary.

ffmpeg.ffmpeg_binary = '/usr/local/bin/ffmpeg' 

if don't have ffmpeg install, need install it.

download page


Comments

Popular posts from this blog

monitor web browser programmatically in Android? -

Shrink a YouTube video to responsive width -

wpf - PdfWriter.GetInstance throws System.NullReferenceException -