method
ffmpeg_exists?
rails latest stable - Class:
ActiveStorage::Previewer::VideoPreviewer
ffmpeg_exists?()public
No documentation available.
# File activestorage/lib/active_storage/previewer/video_previewer.rb, line 12
def ffmpeg_exists?
return @ffmpeg_exists if defined?(@ffmpeg_exists)
@ffmpeg_exists = system(ffmpeg_path, "-version", out: File::NULL, err: File::NULL)
end