Sha256: f0d5e4bd4ed9f14afefe41309db38de4ae58bc48d5debc07d81413ca2ab09696
Contents?: true
Size: 1.07 KB
Versions: 4
Compression:
Stored size: 1.07 KB
Contents
require 'mxfinfo.so' require 'mxfinfo/version.rb' module MXFInfo def self.scan(path) InfoObject.new path end class InfoObject alias_method :videotracks, :num_video_tracks alias_method :v_tracks, :num_video_tracks alias_method :video_tracks, :num_video_tracks alias_method :audiotracks, :num_audio_tracks alias_method :audio_tracks, :num_audio_tracks alias_method :a_tracks, :num_audio_tracks alias_method :clip_created_at, :clip_created alias_method :essence_label, :essence_container_label alias_method :t_number, :track_number alias_method :tracknumber, :track_number alias_method :channelcount, :channel_count alias_method :c_count, :channel_count alias_method :file_package_uid, :file_source_package_uid def render_file? physical_package_name == "Precompute Source Mob" end alias_method :essence_type_orig, :essence_type def essence_type result = self.send(:essence_type_orig) if result.start_with?("DNxHD") result.gsub!(/ \(\d+\)/, "") end result end end end
Version data entries
4 entries across 4 versions & 1 rubygems
Version | Path |
---|---|
mxfinfo-0.0.7 | lib/mxfinfo.rb |
mxfinfo-0.0.6 | lib/mxfinfo.rb |
mxfinfo-0.0.5 | lib/mxfinfo.rb |
mxfinfo-0.0.4 | lib/mxfinfo.rb |