Flowdock
method

draw_relevant_frame_from

Importance_0
v5.2.3 - 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", "-vcodec", "png",
          "-vf", "thumbnail", "-vframes", "1", "-f", "image2", "-", &block
      end
Register or log in to add new notes.