Improve ActiveStorage analyzer error message for missing ffprobe. Add mention to guides.

This commit is contained in:
weavermedia 2022-01-07 10:32:03 -08:00
parent f2d9316ba9
commit bc9060a22a
3 changed files with 3 additions and 3 deletions

View File

@ -54,7 +54,7 @@ module ActiveStorage
end
end
rescue Errno::ENOENT
logger.info "Skipping audio analysis because FFmpeg isn't installed"
logger.info "Skipping audio analysis because ffprobe isn't installed"
{}
end

View File

@ -133,7 +133,7 @@ module ActiveStorage
end
end
rescue Errno::ENOENT
logger.info "Skipping video analysis because FFmpeg isn't installed"
logger.info "Skipping video analysis because ffprobe isn't installed"
{}
end

View File

@ -38,7 +38,7 @@ Various features of Active Storage depend on third-party software which Rails
will not install, and must be installed separately:
* [libvips](https://github.com/libvips/libvips) v8.6+ or [ImageMagick](https://imagemagick.org/index.php) for image analysis and transformations
* [ffmpeg](http://ffmpeg.org/) v3.4+ for video/audio analysis and video previews
* [ffmpeg](http://ffmpeg.org/) v3.4+ for video previews and ffprobe for video/audio analysis
* [poppler](https://poppler.freedesktop.org/) or [muPDF](https://mupdf.com/) for PDF previews
Image analysis and transformations also require the `image_processing` gem. Uncomment it in your `Gemfile`, or add it if necessary: