mirror of
https://github.com/rails/rails.git
synced 2022-11-09 12:12:34 -05:00
Improve ActiveStorage analyzer error message for missing ffprobe. Add mention to guides.
This commit is contained in:
parent
f2d9316ba9
commit
bc9060a22a
3 changed files with 3 additions and 3 deletions
|
@ -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
|
||||
|
||||
|
|
|
@ -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
|
||||
|
||||
|
|
|
@ -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:
|
||||
|
|
Loading…
Reference in a new issue