我按照这个 gem https://github.com/streamio/streamio-ffmpeg,然后我这样做:
movie = FFMPEG::Movie.new("#{Rails.root}/public/aaa.mov")
但结果是:
Errno::ENOENT: No such file or directory - ffmpeg -i /home/user/projects/test/public/aaa.mov
有人知道吗 ?
谢谢
我按照这个 gem https://github.com/streamio/streamio-ffmpeg,然后我这样做:
movie = FFMPEG::Movie.new("#{Rails.root}/public/aaa.mov")
但结果是:
Errno::ENOENT: No such file or directory - ffmpeg -i /home/user/projects/test/public/aaa.mov
有人知道吗 ?
谢谢