method
draw_relevant_frame_from
v6.1.3.1 -
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 30
def draw_relevant_frame_from(file, &block)
draw self.class.ffmpeg_path, "-i", file.path, "-y", "-vframes", "1", "-f", "image2", "-", &block
end