Class: DragonflyVideo::Analysers::VideoProperties

Inherits:
Object
  • Object
show all
Defined in:
lib/dragonfly_video/analysers/video_properties.rb

Constant Summary collapse

VIDEO_PROPS =
%i(duration bitrate size video_stream video_codec colorspace
resolution width height frame_rate audio_stream audio_codec
audio_sample_rate audio_channels).freeze

Instance Method Summary collapse

Instance Method Details

#call(content) ⇒ Object



12
13
14
# File 'lib/dragonfly_video/analysers/video_properties.rb', line 12

def call(content)
  ffmpeg(content)
end