mxfinfo 0.0.3.6 → 0.0.4
Sign up to get free protection for your applications and to get access to all the features.
- checksums.yaml +15 -0
- data/.gitignore +3 -0
- data/Gemfile +0 -6
- data/LICENSE +3 -2
- data/README.md +3 -3
- data/Rakefile +3 -5
- data/ext/mxfinfo/avid_mxf_info.c +1507 -0
- data/ext/mxfinfo/avid_mxf_info.h +194 -0
- data/ext/mxfinfo/extconf.rb +12 -0
- data/ext/mxfinfo/mxfinfo.c +313 -0
- data/lib/mxfinfo/version.rb +2 -2
- data/lib/mxfinfo.rb +24 -117
- data/mxfinfo.gemspec +13 -10
- data/spec/info_object_spec.rb +42 -0
- data/spec/mxfinfo_spec.rb +20 -70
- data/spec/spec_helper.rb +0 -18
- metadata +49 -48
- data/lib/mxfinfo/attr_readers.rb +0 -61
- data/lib/mxfinfo/string.rb +0 -25
- data/spec/alert_error_spec.rb +0 -10
- data/spec/fixtures/ALERT01.ERROR.info +0 -8
- data/spec/fixtures/IMG_0395.MOV.A14DC7130D.mxf.info +0 -44
- data/spec/fixtures/center_smooth.info +0 -29
- data/spec/fixtures/color_correction.info +0 -29
- data/spec/fixtures/crystal.info +0 -29
- data/spec/fixtures/flip-flop.info +0 -29
- data/spec/fixtures/fluidblur.info +0 -29
- data/spec/fixtures/left_box.info +0 -29
- data/spec/fixtures/luma_key.info +0 -29
- data/spec/fixtures/mosaic_effect.info +0 -29
- data/spec/fixtures/stabilize.info +0 -29
- data/spec/fixtures/timecode_burn-in.info +0 -29
- data/spec/img_0395.mov.a14dc7130d_spec.rb +0 -116
- data/spec/render_files_spec.rb +0 -25
data/mxfinfo.gemspec
CHANGED
@@ -1,19 +1,22 @@
|
|
1
|
-
# -*- encoding: utf-8 -*-
|
2
1
|
require File.expand_path('../lib/mxfinfo/version', __FILE__)
|
3
2
|
|
4
3
|
Gem::Specification.new do |gem|
|
5
|
-
gem.authors = [
|
6
|
-
gem.email = [
|
7
|
-
gem.description = %q{MXFinfo is a gem
|
8
|
-
gem.summary = %q{MXFinfo is a gem
|
9
|
-
gem.homepage =
|
4
|
+
gem.authors = ['Steve Dierker', 'Malte Rohde']
|
5
|
+
gem.email = ['technology@flavoursys.com']
|
6
|
+
gem.description = %q{MXFinfo is a gem that wraps avidmxfinfo from libmxf in a native ruby extension.}
|
7
|
+
gem.summary = %q{MXFinfo is a gem that wraps avidmxfinfo from libmxf in a native ruby extension.}
|
8
|
+
gem.homepage = 'http://github.com/flavoursys/mxfinfo'
|
10
9
|
|
11
10
|
gem.files = `git ls-files`.split($\)
|
12
11
|
gem.executables = gem.files.grep(%r{^bin/}).map{ |f| File.basename(f) }
|
13
12
|
gem.test_files = gem.files.grep(%r{^(test|spec|features)/})
|
14
|
-
gem.name =
|
15
|
-
gem.require_paths = [
|
16
|
-
gem.version =
|
17
|
-
gem.required_ruby_version = '>= 1.
|
13
|
+
gem.name = 'mxfinfo'
|
14
|
+
gem.require_paths = ['lib']
|
15
|
+
gem.version = MXFInfo::VERSION
|
16
|
+
gem.required_ruby_version = '>= 1.9.3'
|
17
|
+
gem.license = 'MIT'
|
18
18
|
|
19
|
+
gem.add_development_dependency 'rspec'
|
20
|
+
gem.add_development_dependency 'rake-compiler'
|
19
21
|
end
|
22
|
+
|
@@ -0,0 +1,42 @@
|
|
1
|
+
require 'spec_helper'
|
2
|
+
|
3
|
+
describe 'MXFInfo::InfoObject' do
|
4
|
+
context 'when created from an valid MXF file' do
|
5
|
+
subject do
|
6
|
+
MXFInfo.scan File.expand_path('../fixtures/IMG_0395.MOV.A14DC7130D.mxf', __FILE__)
|
7
|
+
end
|
8
|
+
|
9
|
+
its(:project_name) { should eq('Ballerinas_zippy') }
|
10
|
+
its(:clip_name) { should eq('IMG_0395.MOV') }
|
11
|
+
its(:clip_created_at) { should eq(Time.parse('2011-05-08 22:02:53.000')) }
|
12
|
+
its(:project_edit_rate) { should eq((25/1)) }
|
13
|
+
its(:clip_duration) { should eq(287) }
|
14
|
+
its(:video_tracks) { should eq(1) }
|
15
|
+
its(:audio_tracks) { should eq(1) }
|
16
|
+
its(:clip_track_string) { should eq('V1 A1') }
|
17
|
+
its(:essence_type) { should eq('PCM') }
|
18
|
+
its(:essence_label) { should eq('060e2b34040101010d01030102060200') }
|
19
|
+
its(:track_number) { should eq(1) }
|
20
|
+
its(:edit_rate) { should eq((48000/1)) }
|
21
|
+
its(:track_duration) { should eq(551040) }
|
22
|
+
its(:segment_duration) { should eq(551040) }
|
23
|
+
its(:segment_offset) { should eq(0) }
|
24
|
+
its(:start_timecode) { should eq(0) }
|
25
|
+
# its_converted(:start_timecode) { should eq('00:00:00:00') }
|
26
|
+
its(:audio_sampling_rate) { should eq((48000/1)) }
|
27
|
+
its(:quantization_bits) { should eq(16) }
|
28
|
+
its(:channel_count) { should eq(1) }
|
29
|
+
its(:material_package_uid) { should eq('060a2b340101010101010f00130000004dc7130d05831a0a060e2b347f7f2a80') }
|
30
|
+
its(:file_package_uid) { should eq('060a2b340101010101010f00130000004dc7130d05841a0a060e2b347f7f2a80') }
|
31
|
+
its(:physical_source_package_uid) { should eq('060a2b340101010101010f00130000004dc7130d05851a0a060e2b347f7f2a80') }
|
32
|
+
its(:physical_package_type) { should eq(:import) }
|
33
|
+
its(:physical_package_name) { should eq('IMG_0395.MOV') }
|
34
|
+
its(:physical_package_locator) { should eq('file:///Macintosh%20HD/Users/susannehassepass/Desktop/London%201video/IMG_0395.MOV') }
|
35
|
+
|
36
|
+
# Left-overs from the previous version (0.3.6) of mxfinfo
|
37
|
+
|
38
|
+
# its(:unc_path) { should('Macintosh HD:Users:susannehassepass:Desktop:London 1video:IMG_0395.MOV') }
|
39
|
+
# => Isn't exported from libmxf.
|
40
|
+
|
41
|
+
end
|
42
|
+
end
|
data/spec/mxfinfo_spec.rb
CHANGED
@@ -1,76 +1,26 @@
|
|
1
1
|
require 'spec_helper'
|
2
2
|
|
3
|
-
describe
|
4
|
-
|
5
|
-
|
6
|
-
|
7
|
-
|
8
|
-
|
9
|
-
|
10
|
-
|
11
|
-
end
|
12
|
-
|
13
|
-
it "should be changeable by MXFinfo.binary='new_path' " do
|
14
|
-
MXFinfo.binary.should == "avidmxfinfo"
|
15
|
-
MXFinfo.binary = "/bin/avidmxfinfo"
|
16
|
-
MXFinfo.binary.should == "/bin/avidmxfinfo"
|
3
|
+
describe 'MXFInfo' do
|
4
|
+
describe 'scan' do
|
5
|
+
context 'given an invalid MXF file' do
|
6
|
+
it 'should raise an error' do
|
7
|
+
expect {
|
8
|
+
MXFInfo.scan File.expand_path('../fixtures/InvalidFileTest.mxf', __FILE__)
|
9
|
+
}.to raise_error(/Failed to read header partition/)
|
10
|
+
end
|
17
11
|
end
|
18
|
-
end
|
19
|
-
|
20
|
-
it "should be instantiated with valid path" do
|
21
|
-
info = MXFinfo.scan(name_to_fixture "IMG_0395.MOV.A14DC7130D.mxf")
|
22
|
-
info.nil?.should == false
|
23
|
-
info.raw_data.empty?.should == false
|
24
|
-
end
|
25
|
-
|
26
|
-
#it "should work with whitespace filenames" do
|
27
|
-
# MXFinfo.scan(name_to_fixture "Shellescape Test.mxf").should_not == nil
|
28
|
-
#end
|
29
|
-
|
30
|
-
it "should be possible to access raw data" do
|
31
|
-
info = MXFinfo.scan(name_to_fixture "IMG_0395.MOV.A14DC7130D.mxf")
|
32
|
-
info.nil?.should == false
|
33
|
-
infoFile = File.open(name_to_fixture "IMG_0395.MOV.A14DC7130D.mxf.info")
|
34
|
-
info.raw_data.should eql infoFile.read
|
35
|
-
end
|
36
12
|
|
37
|
-
|
38
|
-
|
39
|
-
|
40
|
-
|
13
|
+
context 'given an invalid MXF file' do
|
14
|
+
it 'should raise not an error' do
|
15
|
+
expect {
|
16
|
+
MXFInfo.scan File.expand_path('../fixtures/IMG_0395.MOV.A14DC7130D.mxf', __FILE__)
|
17
|
+
}.to_not raise_error
|
18
|
+
end
|
19
|
+
|
20
|
+
it 'should return an InfoObject instance' do
|
21
|
+
expect(MXFInfo.scan File.expand_path('../fixtures/IMG_0395.MOV.A14DC7130D.mxf', __FILE__)).to be_a(MXFInfo::InfoObject)
|
22
|
+
end
|
23
|
+
end
|
41
24
|
end
|
25
|
+
end
|
42
26
|
|
43
|
-
it "should have supported attributes" do
|
44
|
-
supported_attributes = [:project_name,
|
45
|
-
:filename,
|
46
|
-
:clip_name,
|
47
|
-
:clip_created_at,
|
48
|
-
:project_edit_rate,
|
49
|
-
:clip_edit_rate,
|
50
|
-
:clip_duration,
|
51
|
-
:videotracks,
|
52
|
-
:audiotracks,
|
53
|
-
:clip_track_string,
|
54
|
-
:essence_type,
|
55
|
-
:essence_label,
|
56
|
-
:tracknumber,
|
57
|
-
:edit_rate,
|
58
|
-
:track_duration,
|
59
|
-
:track_segment_duration,
|
60
|
-
:track_segment_offset,
|
61
|
-
:start_timecode,
|
62
|
-
:audio_sampling_rate,
|
63
|
-
:channelcount,
|
64
|
-
:quantizationbits,
|
65
|
-
:unc_path,
|
66
|
-
:material_package_uid,
|
67
|
-
:file_package_uid,
|
68
|
-
:physical_package_uid,
|
69
|
-
:physical_package_type,
|
70
|
-
:physical_package_name,
|
71
|
-
:physical_package_locator]
|
72
|
-
MXFinfo::InfoObject.supported_attributes.each do |a|
|
73
|
-
supported_attributes.include?(a).should == true
|
74
|
-
end
|
75
|
-
end
|
76
|
-
end
|
data/spec/spec_helper.rb
CHANGED
@@ -1,23 +1,5 @@
|
|
1
|
-
# This file was generated by the `rspec --init` command. Conventionally, all
|
2
|
-
# specs live under a `spec` directory, which RSpec adds to the `$LOAD_PATH`.
|
3
|
-
# Require this file using `require "spec_helper"` to ensure that it is only
|
4
|
-
# loaded once.
|
5
|
-
#
|
6
|
-
# See http://rubydoc.info/gems/rspec-core/RSpec/Core/Configuration
|
7
1
|
require 'mxfinfo'
|
8
2
|
|
9
3
|
RSpec.configure do |config|
|
10
|
-
config.treat_symbols_as_metadata_keys_with_true_values = true
|
11
|
-
config.run_all_when_everything_filtered = true
|
12
|
-
config.filter_run :focus
|
13
|
-
|
14
|
-
# Run specs in random order to surface order dependencies. If you find an
|
15
|
-
# order dependency and want to debug it, you can fix the order by providing
|
16
|
-
# the seed, which is printed after each run.
|
17
|
-
# --seed 1234
|
18
4
|
config.order = 'random'
|
19
5
|
end
|
20
|
-
|
21
|
-
def name_to_fixture(file)
|
22
|
-
File.join("#{File.dirname(__FILE__)}/fixtures",file)
|
23
|
-
end
|
metadata
CHANGED
@@ -1,20 +1,48 @@
|
|
1
1
|
--- !ruby/object:Gem::Specification
|
2
2
|
name: mxfinfo
|
3
3
|
version: !ruby/object:Gem::Version
|
4
|
-
version: 0.0.
|
5
|
-
prerelease:
|
4
|
+
version: 0.0.4
|
6
5
|
platform: ruby
|
7
6
|
authors:
|
8
7
|
- Steve Dierker
|
8
|
+
- Malte Rohde
|
9
9
|
autorequire:
|
10
10
|
bindir: bin
|
11
11
|
cert_chain: []
|
12
|
-
date:
|
13
|
-
dependencies:
|
14
|
-
|
15
|
-
|
12
|
+
date: 2013-10-15 00:00:00.000000000 Z
|
13
|
+
dependencies:
|
14
|
+
- !ruby/object:Gem::Dependency
|
15
|
+
name: rspec
|
16
|
+
requirement: !ruby/object:Gem::Requirement
|
17
|
+
requirements:
|
18
|
+
- - ! '>='
|
19
|
+
- !ruby/object:Gem::Version
|
20
|
+
version: '0'
|
21
|
+
type: :development
|
22
|
+
prerelease: false
|
23
|
+
version_requirements: !ruby/object:Gem::Requirement
|
24
|
+
requirements:
|
25
|
+
- - ! '>='
|
26
|
+
- !ruby/object:Gem::Version
|
27
|
+
version: '0'
|
28
|
+
- !ruby/object:Gem::Dependency
|
29
|
+
name: rake-compiler
|
30
|
+
requirement: !ruby/object:Gem::Requirement
|
31
|
+
requirements:
|
32
|
+
- - ! '>='
|
33
|
+
- !ruby/object:Gem::Version
|
34
|
+
version: '0'
|
35
|
+
type: :development
|
36
|
+
prerelease: false
|
37
|
+
version_requirements: !ruby/object:Gem::Requirement
|
38
|
+
requirements:
|
39
|
+
- - ! '>='
|
40
|
+
- !ruby/object:Gem::Version
|
41
|
+
version: '0'
|
42
|
+
description: MXFinfo is a gem that wraps avidmxfinfo from libmxf in a native ruby
|
43
|
+
extension.
|
16
44
|
email:
|
17
|
-
-
|
45
|
+
- technology@flavoursys.com
|
18
46
|
executables: []
|
19
47
|
extensions: []
|
20
48
|
extra_rdoc_files: []
|
@@ -24,72 +52,45 @@ files:
|
|
24
52
|
- LICENSE
|
25
53
|
- README.md
|
26
54
|
- Rakefile
|
55
|
+
- ext/mxfinfo/avid_mxf_info.c
|
56
|
+
- ext/mxfinfo/avid_mxf_info.h
|
57
|
+
- ext/mxfinfo/extconf.rb
|
58
|
+
- ext/mxfinfo/mxfinfo.c
|
27
59
|
- lib/mxfinfo.rb
|
28
|
-
- lib/mxfinfo/attr_readers.rb
|
29
|
-
- lib/mxfinfo/string.rb
|
30
60
|
- lib/mxfinfo/version.rb
|
31
61
|
- mxfinfo.gemspec
|
32
|
-
- spec/alert_error_spec.rb
|
33
|
-
- spec/fixtures/ALERT01.ERROR.info
|
34
62
|
- spec/fixtures/IMG_0395.MOV.A14DC7130D.mxf
|
35
|
-
- spec/fixtures/IMG_0395.MOV.A14DC7130D.mxf.info
|
36
63
|
- spec/fixtures/InvalidFileTest.mxf
|
37
|
-
- spec/
|
38
|
-
- spec/fixtures/color_correction.info
|
39
|
-
- spec/fixtures/crystal.info
|
40
|
-
- spec/fixtures/flip-flop.info
|
41
|
-
- spec/fixtures/fluidblur.info
|
42
|
-
- spec/fixtures/left_box.info
|
43
|
-
- spec/fixtures/luma_key.info
|
44
|
-
- spec/fixtures/mosaic_effect.info
|
45
|
-
- spec/fixtures/stabilize.info
|
46
|
-
- spec/fixtures/timecode_burn-in.info
|
47
|
-
- spec/img_0395.mov.a14dc7130d_spec.rb
|
64
|
+
- spec/info_object_spec.rb
|
48
65
|
- spec/mxfinfo_spec.rb
|
49
|
-
- spec/render_files_spec.rb
|
50
66
|
- spec/spec_helper.rb
|
51
|
-
homepage: http://github.com/
|
52
|
-
licenses:
|
67
|
+
homepage: http://github.com/flavoursys/mxfinfo
|
68
|
+
licenses:
|
69
|
+
- MIT
|
70
|
+
metadata: {}
|
53
71
|
post_install_message:
|
54
72
|
rdoc_options: []
|
55
73
|
require_paths:
|
56
74
|
- lib
|
57
75
|
required_ruby_version: !ruby/object:Gem::Requirement
|
58
|
-
none: false
|
59
76
|
requirements:
|
60
77
|
- - ! '>='
|
61
78
|
- !ruby/object:Gem::Version
|
62
|
-
version: 1.
|
79
|
+
version: 1.9.3
|
63
80
|
required_rubygems_version: !ruby/object:Gem::Requirement
|
64
|
-
none: false
|
65
81
|
requirements:
|
66
82
|
- - ! '>='
|
67
83
|
- !ruby/object:Gem::Version
|
68
84
|
version: '0'
|
69
85
|
requirements: []
|
70
86
|
rubyforge_project:
|
71
|
-
rubygems_version: 1.
|
87
|
+
rubygems_version: 2.1.5
|
72
88
|
signing_key:
|
73
|
-
specification_version:
|
74
|
-
summary: MXFinfo is a gem
|
75
|
-
in ruby.
|
89
|
+
specification_version: 4
|
90
|
+
summary: MXFinfo is a gem that wraps avidmxfinfo from libmxf in a native ruby extension.
|
76
91
|
test_files:
|
77
|
-
- spec/alert_error_spec.rb
|
78
|
-
- spec/fixtures/ALERT01.ERROR.info
|
79
92
|
- spec/fixtures/IMG_0395.MOV.A14DC7130D.mxf
|
80
|
-
- spec/fixtures/IMG_0395.MOV.A14DC7130D.mxf.info
|
81
93
|
- spec/fixtures/InvalidFileTest.mxf
|
82
|
-
- spec/
|
83
|
-
- spec/fixtures/color_correction.info
|
84
|
-
- spec/fixtures/crystal.info
|
85
|
-
- spec/fixtures/flip-flop.info
|
86
|
-
- spec/fixtures/fluidblur.info
|
87
|
-
- spec/fixtures/left_box.info
|
88
|
-
- spec/fixtures/luma_key.info
|
89
|
-
- spec/fixtures/mosaic_effect.info
|
90
|
-
- spec/fixtures/stabilize.info
|
91
|
-
- spec/fixtures/timecode_burn-in.info
|
92
|
-
- spec/img_0395.mov.a14dc7130d_spec.rb
|
94
|
+
- spec/info_object_spec.rb
|
93
95
|
- spec/mxfinfo_spec.rb
|
94
|
-
- spec/render_files_spec.rb
|
95
96
|
- spec/spec_helper.rb
|
data/lib/mxfinfo/attr_readers.rb
DELETED
@@ -1,61 +0,0 @@
|
|
1
|
-
require 'time'
|
2
|
-
|
3
|
-
class MXFinfo
|
4
|
-
class InfoObject
|
5
|
-
module AttrReaders
|
6
|
-
# Add attribute reader for AVID MXF INFO attributes
|
7
|
-
def mxfinfo_attr_reader(method_name, mxfinfo_key = nil)
|
8
|
-
before_type_cast_method_name = "#{method_name}_before_type_cast"
|
9
|
-
mxfinfo_key = mxfinfo_key.gsub(/\s+/,"_").downcase if mxfinfo_key
|
10
|
-
|
11
|
-
# Define before_type_cast method alias {method_name}_before_type_cast
|
12
|
-
define_method before_type_cast_method_name do
|
13
|
-
if value = instance_variable_get("@#{before_type_cast_method_name}")
|
14
|
-
value
|
15
|
-
else
|
16
|
-
key = mxfinfo_key ? mxfinfo_key : method_name.to_s
|
17
|
-
value = @processed_data[key]
|
18
|
-
|
19
|
-
instance_variable_set "@#{before_type_cast_method_name}", value
|
20
|
-
instance_variable_get "@#{before_type_cast_method_name}"
|
21
|
-
end
|
22
|
-
end
|
23
|
-
|
24
|
-
# Define after_type_cast method alias {method_name}
|
25
|
-
define_method method_name do
|
26
|
-
if value = instance_variable_get("@#{method_name}")
|
27
|
-
value
|
28
|
-
else
|
29
|
-
value = send(before_type_cast_method_name)
|
30
|
-
value = yield value if value and block_given?
|
31
|
-
|
32
|
-
instance_variable_set "@#{method_name}", value
|
33
|
-
instance_variable_get "@#{method_name}"
|
34
|
-
end
|
35
|
-
end
|
36
|
-
|
37
|
-
MXFinfo::InfoObject.supported_attributes << method_name
|
38
|
-
end
|
39
|
-
|
40
|
-
def mxfinfo_date_reader(*a)
|
41
|
-
mxfinfo_attr_reader(*a) { |v| Time.parse v }
|
42
|
-
end
|
43
|
-
|
44
|
-
def mxfinfo_duration_reader(*a)
|
45
|
-
mxfinfo_attr_reader(*a) { |v|
|
46
|
-
value = v.split(" ")[2].gsub(/\(|\)/,"")
|
47
|
-
t = 0
|
48
|
-
tmp = value.split(":")
|
49
|
-
t = (tmp[0].to_i*60*60*1000) + (tmp[1].to_i*60*1000) + (tmp[2].to_i * 1000) + (tmp[3].to_i * 10)
|
50
|
-
t
|
51
|
-
}
|
52
|
-
end
|
53
|
-
|
54
|
-
def mxfinfo_timecode_reader(*a)
|
55
|
-
mxfinfo_attr_reader(*a) { |v|
|
56
|
-
v.split(" ")[2].gsub(/\(|\)/,"")
|
57
|
-
}
|
58
|
-
end
|
59
|
-
end
|
60
|
-
end
|
61
|
-
end
|
data/lib/mxfinfo/string.rb
DELETED
@@ -1,25 +0,0 @@
|
|
1
|
-
class String
|
2
|
-
# returns the string enclosed in double quotes.
|
3
|
-
# all characters in the string that could be harmful will be escaped.
|
4
|
-
#
|
5
|
-
# e.g.
|
6
|
-
# 'test'.shell_escape_double_quotes # => "test"
|
7
|
-
# '$\\'"`'.shell_escape_double_quotes # => "\$\\'\"\`"
|
8
|
-
#
|
9
|
-
# This should work in al POSIX compatible shells.
|
10
|
-
#
|
11
|
-
# see: http://www.opengroup.org/onlinepubs/009695399/utilities/xcu_chap02.html#tag_02_02_03
|
12
|
-
def shell_escape_double_quotes
|
13
|
-
'"'+gsub(/\\|"|\$|`/, '\\\\\0')+'"'
|
14
|
-
end unless method_defined?(:shell_escape_double_quotes)
|
15
|
-
|
16
|
-
# stolen from active_support/inflector
|
17
|
-
# TODO require "active_support/core_ext/string/inflections" when 3.0 is released
|
18
|
-
def underscore
|
19
|
-
gsub(/::/, '/').
|
20
|
-
gsub(/([A-Z]+)([A-Z][a-z])/,'\1_\2').
|
21
|
-
gsub(/([a-z\d])([A-Z])/,'\1_\2').
|
22
|
-
tr("-", "_").
|
23
|
-
downcase
|
24
|
-
end unless method_defined?(:underscore)
|
25
|
-
end
|
data/spec/alert_error_spec.rb
DELETED
@@ -1,8 +0,0 @@
|
|
1
|
-
'mxf_disk_file_open_read(filename, &mxfFile)' failed in avid_mxf_info.c, line 525
|
2
|
-
Failed to open file (Beep)
|
3
|
-
'mxf_disk_file_open_read(filename, &mxfFile)' failed in avid_mxf_info.c, line 525
|
4
|
-
Failed to open file (AlertA01.4F8564F8563B3.mxf)
|
5
|
-
|
6
|
-
Filename = Beep
|
7
|
-
|
8
|
-
Filename = AlertA01.4F8564F8563B3.mxf
|
@@ -1,44 +0,0 @@
|
|
1
|
-
|
2
|
-
Filename = /home/steved/Documents/git/mxfinfo/spec/fixtures/IMG_0395.MOV.A14DC7130D.mxf
|
3
|
-
Warning: Ignoring non-zero TimecodeComponent::StartTimecode because edit rate combination not supported
|
4
|
-
Project name = Ballerinas_zippy
|
5
|
-
Project edit rate = 25/1
|
6
|
-
Clip name = IMG_0395.MOV
|
7
|
-
Clip created = 2011-05-08 22:02:53.000
|
8
|
-
Clip edit rate = 25/1
|
9
|
-
Clip duration = 287 samples (00:00:11:12)
|
10
|
-
Clip video tracks = 1
|
11
|
-
Clip audio tracks = 1
|
12
|
-
Clip track string = V1 A1
|
13
|
-
Audio essence
|
14
|
-
Essence type = PCM
|
15
|
-
Essence label = 060e2b34040101010d01030102060200
|
16
|
-
Track number = 1
|
17
|
-
Edit rate = 48000/1
|
18
|
-
Track duration = 551040 samples (00:00:11:12)
|
19
|
-
Track segment duration = 551040 samples (00:00:11:12)
|
20
|
-
Track segment offset = 0 samples (00:00:00:00)
|
21
|
-
Start timecode = 0 samples (00:00:00:00)
|
22
|
-
Audio sampling rate = 48000/1
|
23
|
-
Channel count = 1
|
24
|
-
Quantization bits = 16
|
25
|
-
User comments:
|
26
|
-
UNC Path = Macintosh HD:Users:susannehassepass:Desktop:London 1video:IMG_0395.MOV
|
27
|
-
Material package attributes:
|
28
|
-
_IMPORTSETTING = __AttributeList
|
29
|
-
_DOMINANCE = 1
|
30
|
-
_IMPORTPICTSEQ = 0
|
31
|
-
_IGNOREALPHA = 0
|
32
|
-
_INVERTALPHA = 1
|
33
|
-
_ASPECT = 2
|
34
|
-
_IMPORTASPECT = 2
|
35
|
-
_COLORLEVEL = 1
|
36
|
-
_FORMAT = 2
|
37
|
-
_SRCFILE = __PortableObject
|
38
|
-
_ATN_IMPORT_AUD_BWF_MONO_GROUP = 1
|
39
|
-
Material package UID = 060a2b340101010101010f00130000004dc7130d05831a0a060e2b347f7f2a80
|
40
|
-
File package UID = 060a2b340101010101010f00130000004dc7130d05841a0a060e2b347f7f2a80
|
41
|
-
Physical package UID = 060a2b340101010101010f00130000004dc7130d05851a0a060e2b347f7f2a80
|
42
|
-
Physical package type = Import
|
43
|
-
Physical package name = IMG_0395.MOV
|
44
|
-
Physical package locator = file:///Macintosh%20HD/Users/susannehassepass/Desktop/London%201video/IMG_0395.MOV
|
@@ -1,29 +0,0 @@
|
|
1
|
-
|
2
|
-
Filename = stevetest_Center Sm4F4B79D1.mxf
|
3
|
-
Project name = steve
|
4
|
-
Project edit rate = 25/1
|
5
|
-
Clip name = stevetest,Center Smooth,19
|
6
|
-
Clip created = 2012-02-27 12:40:49.000
|
7
|
-
Clip edit rate = 25/1
|
8
|
-
Clip duration = 37 samples (00:00:01:12)
|
9
|
-
Clip video tracks = 1
|
10
|
-
Clip audio tracks = 0
|
11
|
-
Clip track string = V1
|
12
|
-
Video essence
|
13
|
-
Essence type = DNxHD 120
|
14
|
-
Essence label = 060e2b34040101010e04030102060102
|
15
|
-
Track number = 1
|
16
|
-
Edit rate = 25/1
|
17
|
-
Track duration = 37 samples (00:00:01:12)
|
18
|
-
Track segment duration = 37 samples (00:00:01:12)
|
19
|
-
Track segment offset = 0 samples (00:00:00:00)
|
20
|
-
Start timecode = 0 samples (00:00:00:00)
|
21
|
-
Image aspect ratio = 16/9
|
22
|
-
Stored WxH = 1920x1080 (full frame)
|
23
|
-
Display WxH = 1920x1080 (full frame)
|
24
|
-
Material package UID = 060a2b340101010101010f00130000004f4b79d1f48f1932060e2b347f7f2a80
|
25
|
-
File package UID = 060a2b340101010101010f00130000004f4b79d1f4901932060e2b347f7f2a80
|
26
|
-
Physical package UID = 060a2b340101010101010f00130000004f4b79d2faa71932060e2b347f7f2a80
|
27
|
-
Physical package type = Import
|
28
|
-
Physical package name = Precompute Source Mob
|
29
|
-
Physical package locator =
|
@@ -1,29 +0,0 @@
|
|
1
|
-
|
2
|
-
Filename = stevetest_Color Cor4F4B7978.mxf
|
3
|
-
Project name = steve
|
4
|
-
Project edit rate = 25/1
|
5
|
-
Clip name = stevetest,Color Correction,15
|
6
|
-
Clip created = 2012-02-27 12:39:20.000
|
7
|
-
Clip edit rate = 25/1
|
8
|
-
Clip duration = 48 samples (00:00:01:23)
|
9
|
-
Clip video tracks = 1
|
10
|
-
Clip audio tracks = 0
|
11
|
-
Clip track string = V1
|
12
|
-
Video essence
|
13
|
-
Essence type = DNxHD 120
|
14
|
-
Essence label = 060e2b34040101010e04030102060102
|
15
|
-
Track number = 1
|
16
|
-
Edit rate = 25/1
|
17
|
-
Track duration = 48 samples (00:00:01:23)
|
18
|
-
Track segment duration = 48 samples (00:00:01:23)
|
19
|
-
Track segment offset = 0 samples (00:00:00:00)
|
20
|
-
Start timecode = 0 samples (00:00:00:00)
|
21
|
-
Image aspect ratio = 16/9
|
22
|
-
Stored WxH = 1920x1080 (full frame)
|
23
|
-
Display WxH = 1920x1080 (full frame)
|
24
|
-
Material package UID = 060a2b340101010101010f00130000004f4b797898d91931060e2b347f7f2a80
|
25
|
-
File package UID = 060a2b340101010101010f00130000004f4b797898da1931060e2b347f7f2a80
|
26
|
-
Physical package UID = 060a2b340101010101010f00130000004f4b797aa0861931060e2b347f7f2a80
|
27
|
-
Physical package type = Import
|
28
|
-
Physical package name = Precompute Source Mob
|
29
|
-
Physical package locator =
|
data/spec/fixtures/crystal.info
DELETED
@@ -1,29 +0,0 @@
|
|
1
|
-
|
2
|
-
Filename = stevetest_Crystal_24F4B79D2.mxf
|
3
|
-
Project name = steve
|
4
|
-
Project edit rate = 25/1
|
5
|
-
Clip name = stevetest,Crystal,20
|
6
|
-
Clip created = 2012-02-27 12:40:50.000
|
7
|
-
Clip edit rate = 25/1
|
8
|
-
Clip duration = 48 samples (00:00:01:23)
|
9
|
-
Clip video tracks = 1
|
10
|
-
Clip audio tracks = 0
|
11
|
-
Clip track string = V1
|
12
|
-
Video essence
|
13
|
-
Essence type = DNxHD 120
|
14
|
-
Essence label = 060e2b34040101010e04030102060102
|
15
|
-
Track number = 1
|
16
|
-
Edit rate = 25/1
|
17
|
-
Track duration = 48 samples (00:00:01:23)
|
18
|
-
Track segment duration = 48 samples (00:00:01:23)
|
19
|
-
Track segment offset = 0 samples (00:00:00:00)
|
20
|
-
Start timecode = 0 samples (00:00:00:00)
|
21
|
-
Image aspect ratio = 16/9
|
22
|
-
Stored WxH = 1920x1080 (full frame)
|
23
|
-
Display WxH = 1920x1080 (full frame)
|
24
|
-
Material package UID = 060a2b340101010101010f00130000004f4b79d2fb051932060e2b347f7f2a80
|
25
|
-
File package UID = 060a2b340101010101010f00130000004f4b79d2fb061932060e2b347f7f2a80
|
26
|
-
Physical package UID = 060a2b340101010101010f00130000004f4b79e33dee1933060e2b347f7f2a80
|
27
|
-
Physical package type = Import
|
28
|
-
Physical package name = Precompute Source Mob
|
29
|
-
Physical package locator =
|
@@ -1,29 +0,0 @@
|
|
1
|
-
|
2
|
-
Filename = stevetest_Flip-Flop4F4B79CE.mxf
|
3
|
-
Project name = steve
|
4
|
-
Project edit rate = 25/1
|
5
|
-
Clip name = stevetest,Flip-Flop,17
|
6
|
-
Clip created = 2012-02-27 12:40:46.000
|
7
|
-
Clip edit rate = 25/1
|
8
|
-
Clip duration = 22 samples (00:00:00:22)
|
9
|
-
Clip video tracks = 1
|
10
|
-
Clip audio tracks = 0
|
11
|
-
Clip track string = V1
|
12
|
-
Video essence
|
13
|
-
Essence type = DNxHD 120
|
14
|
-
Essence label = 060e2b34040101010e04030102060102
|
15
|
-
Track number = 1
|
16
|
-
Edit rate = 25/1
|
17
|
-
Track duration = 22 samples (00:00:00:22)
|
18
|
-
Track segment duration = 22 samples (00:00:00:22)
|
19
|
-
Track segment offset = 0 samples (00:00:00:00)
|
20
|
-
Start timecode = 0 samples (00:00:00:00)
|
21
|
-
Image aspect ratio = 16/9
|
22
|
-
Stored WxH = 1920x1080 (full frame)
|
23
|
-
Display WxH = 1920x1080 (full frame)
|
24
|
-
Material package UID = 060a2b340101010101010f00130000004f4b79ceeb1d1932060e2b347f7f2a80
|
25
|
-
File package UID = 060a2b340101010101010f00130000004f4b79ceeb1e1932060e2b347f7f2a80
|
26
|
-
Physical package UID = 060a2b340101010101010f00130000004f4b79cfedfa1932060e2b347f7f2a80
|
27
|
-
Physical package type = Import
|
28
|
-
Physical package name = Precompute Source Mob
|
29
|
-
Physical package locator =
|
@@ -1,29 +0,0 @@
|
|
1
|
-
|
2
|
-
Filename = stevetest_FluidBlur4F4B796A.mxf
|
3
|
-
Project name = steve
|
4
|
-
Project edit rate = 25/1
|
5
|
-
Clip name = stevetest,FluidBlur,12
|
6
|
-
Clip created = 2012-02-27 12:39:06.000
|
7
|
-
Clip edit rate = 25/1
|
8
|
-
Clip duration = 22 samples (00:00:00:22)
|
9
|
-
Clip video tracks = 1
|
10
|
-
Clip audio tracks = 0
|
11
|
-
Clip track string = V1
|
12
|
-
Video essence
|
13
|
-
Essence type = DNxHD 120
|
14
|
-
Essence label = 060e2b34040101010e04030102060102
|
15
|
-
Track number = 1
|
16
|
-
Edit rate = 25/1
|
17
|
-
Track duration = 22 samples (00:00:00:22)
|
18
|
-
Track segment duration = 22 samples (00:00:00:22)
|
19
|
-
Track segment offset = 0 samples (00:00:00:00)
|
20
|
-
Start timecode = 0 samples (00:00:00:00)
|
21
|
-
Image aspect ratio = 16/9
|
22
|
-
Stored WxH = 1920x1080 (full frame)
|
23
|
-
Display WxH = 1920x1080 (full frame)
|
24
|
-
Material package UID = 060a2b340101010101010f00130000004f4b796a63291931060e2b347f7f2a80
|
25
|
-
File package UID = 060a2b340101010101010f00130000004f4b796a632a1931060e2b347f7f2a80
|
26
|
-
Physical package UID = 060a2b340101010101010f00130000004f4b79758da21931060e2b347f7f2a80
|
27
|
-
Physical package type = Import
|
28
|
-
Physical package name = Precompute Source Mob
|
29
|
-
Physical package locator =
|
data/spec/fixtures/left_box.info
DELETED
@@ -1,29 +0,0 @@
|
|
1
|
-
|
2
|
-
Filename = stevetest_Left Box_4F4B7976.mxf
|
3
|
-
Project name = steve
|
4
|
-
Project edit rate = 25/1
|
5
|
-
Clip name = stevetest,Left Box,14
|
6
|
-
Clip created = 2012-02-27 12:39:18.000
|
7
|
-
Clip edit rate = 25/1
|
8
|
-
Clip duration = 37 samples (00:00:01:12)
|
9
|
-
Clip video tracks = 1
|
10
|
-
Clip audio tracks = 0
|
11
|
-
Clip track string = V1
|
12
|
-
Video essence
|
13
|
-
Essence type = DNxHD 120
|
14
|
-
Essence label = 060e2b34040101010e04030102060102
|
15
|
-
Track number = 1
|
16
|
-
Edit rate = 25/1
|
17
|
-
Track duration = 37 samples (00:00:01:12)
|
18
|
-
Track segment duration = 37 samples (00:00:01:12)
|
19
|
-
Track segment offset = 0 samples (00:00:00:00)
|
20
|
-
Start timecode = 0 samples (00:00:00:00)
|
21
|
-
Image aspect ratio = 16/9
|
22
|
-
Stored WxH = 1920x1080 (full frame)
|
23
|
-
Display WxH = 1920x1080 (full frame)
|
24
|
-
Material package UID = 060a2b340101010101010f00130000004f4b797692e01931060e2b347f7f2a80
|
25
|
-
File package UID = 060a2b340101010101010f00130000004f4b797692e11931060e2b347f7f2a80
|
26
|
-
Physical package UID = 060a2b340101010101010f00130000004f4b7977987b1931060e2b347f7f2a80
|
27
|
-
Physical package type = Import
|
28
|
-
Physical package name = Precompute Source Mob
|
29
|
-
Physical package locator =
|