method
ffmpeg_exists?
v8.0.0 -
Show 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 unless @ffmpeg_exists.nil?
@ffmpeg_exists = system(ffmpeg_path, "-version", out: File::NULL, err: File::NULL)
end