method

draw_relevant_frame_from

Importance_0
v6.0.0 - Show latest stable - 0 notes - Class: VideoPreviewer
draw_relevant_frame_from(file, &block) private

No documentation

This method has no description. You can help the Ruby on Rails community by adding new notes.

Hide source
# 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
Register or log in to add new notes.