thumbnex v0.1.0 Thumbnex.ExtractFrame

Summary

Functions

Extract a single frame from the input file. Specify the time offset in seconds (0 for still images)

Functions

single_frame(file_path, time_offset_seconds, opts \\ [])

Extract a single frame from the input file. Specify the time offset in seconds (0 for still images).

Returns the path of the single frame image file.

Options:

  • :output_path - Where to store the resulting file. Defaults to temporary file.
  • :output_ext - File extension for output. Ignored if :output_path is set. Defaults to "png".