Module: Evideo

Defined in:
lib/evideo.rb,
lib/evideo/vars1.rb,
lib/evideo/vars2.rb,
lib/evideo/version.rb,
lib/evideo/processa.rb

Defined Under Namespace

Classes: CLI, Video

Constant Summary collapse

ADI =
["/home/#{who}/lust", "/media/#{who}/hrv2", "/media/#{who}/hrv2/lust"].freeze
RE1 =

parametros video :tempo, :bitrate - Duration: 01:01:08.50, start: 0.000000, bitrate: 2228 kb/s

/duration:\s+(\d\d:\d\d:\d\d).*bitrate:\s+(\d+)\s+kb/i.freeze
RE2 =

parametros video :height, :fps -

Stream #0:0: Video: h264 (Main), yuv420p(tv, bt709, progressive), 1280x720
[SAR 1:1 DAR 16:9], 23.98 fps, 23.98 tbr, 1k tbn, 180k tbc (default)
/stream.*video:.*x\s*(\d+).*\s+(\d+\.*\d*)\s+fps/i.freeze
RE3 =

parametros video :ratio - display_aspect_ratio=16:9

/display_aspect_ratio\s*=\s*(\d+:\d+)$/i.freeze
RE4 =

parametros video :audio - Stream #0:1(eng): Audio: aac (LC), 48000 Hz, stereo, fltp (default)

/stream.*audio:.*\s+(\d+)\s+hz/i.freeze
VERSION =
'0.3.3'
ART =

aspect ratios a converter para 16:9

['0:1', '4:3'].freeze