method
draw_relevant_frame_from
v6.0.0 -
Show latest stable
- Class:
ActiveStorage::Previewer::VideoPreviewer
draw_relevant_frame_from(file, &block)private
No documentation available.
# File activestorage/lib/active_storage/previewer/video_previewer.rb, line 18
def draw_relevant_frame_from(file, &block)
draw ffmpeg_path, "-i", file.path, "-y", "-vframes", "1", "-f", "image2", "-", &block
end