View Source Membrane.FFmpegGenerator.VideoGenerator (Membrane FFmpeg Generator v0.1.0)

Module responsible for generating video files using FFmpeg.

Link to this section Summary

Functions

Generates video without audio with specified video format, duration, file format and additional options using FFmpeg. Audio format can be specified in options.

Generates video without audio with specified video format, duration, file format and additional options using FFmpeg.

Link to this section Functions

Link to this function

generate_video_with_audio(video_format, duration, file_format, options \\ [])

View Source

Specs

Generates video without audio with specified video format, duration, file format and additional options using FFmpeg. Audio format can be specified in options.

Values

  • video_format: specify generated video parameters
  • duration: length of generated video
  • file_format: format of generated file, e.x. :mp4, :h264, :mov, :raw, :mkv
  • options: other optional arguments, e.x. output_path, audio_format
Link to this function

generate_video_without_audio(video_format, duration, file_format, options \\ [])

View Source

Specs

Generates video without audio with specified video format, duration, file format and additional options using FFmpeg.

Values

  • video_format: specify generated video parameters
  • duration: length of generated video
  • file_format: format of generated file, e.x. :mp4, :h264, :mov, :raw, :mkv
  • options: other optional arguments, e.x. output_path
Link to this function

get_output_path(format, duration, file_format, has_audio?, options)

View Source

Specs