Skip to content
GitLab
Explore
Sign in
Primary navigation
Search or go to…
Project
M
mediaconch_plugin4rosetta
Manage
Activity
Members
Labels
Plan
Issues
Issue boards
Milestones
Wiki
Code
Merge requests
Repository
Branches
Commits
Tags
Repository graph
Compare revisions
Snippets
Build
Pipelines
Jobs
Pipeline schedules
Artifacts
Deploy
Releases
Container registry
Harbor Registry
Model registry
Operate
Environments
Monitor
Incidents
Analyze
Value stream analytics
Contributor analytics
CI/CD analytics
Repository analytics
Model experiments
Help
Help
Support
GitLab documentation
Compare GitLab plans
Community forum
Contribute to GitLab
Provide feedback
Keyboard shortcuts
?
Snippets
Groups
Projects
Show more breadcrumbs
Digital Preservation
mediaconch_plugin4rosetta
Commits
f309b97b
Commit
f309b97b
authored
3 years ago
by
Jens Steidl
Browse files
Options
Downloads
Patches
Plain Diff
- added mediainfo mappings based on FL 7.1099 and currently supported attribute names by extractor
parent
4b2d6ba2
No related branches found
No related tags found
No related merge requests found
Changes
1
Hide whitespace changes
Inline
Side-by-side
Showing
1 changed file
deploy_mediaconch/add_dnx_mappings/add_dnx_mappings.pl
+106
-33
106 additions, 33 deletions
deploy_mediaconch/add_dnx_mappings/add_dnx_mappings.pl
with
106 additions
and
33 deletions
deploy_mediaconch/add_dnx_mappings/add_dnx_mappings.pl
+
106
−
33
View file @
f309b97b
...
@@ -27,39 +27,112 @@ my $institution = shift;
...
@@ -27,39 +27,112 @@ my $institution = shift;
my
$ui_port
=
shift
;
my
$ui_port
=
shift
;
my
$protocol
=
'
https
';
my
$protocol
=
'
https
';
my
%mediainfo2dnx
=
(
my
%mediainfo2dnx
=
(
"
ICC-header:ColorSpaceData
"
=>
"
icc.colorspacedata
",
"
mediainfo.track.Audio.BitDepth
"
=>
"
audio.bit_depth
",
"
ICC-header:DeviceModel
"
=>
"
icc.devicemodel
",
"
mediainfo.track.Audio.BitRate
"
=>
"
audio.bit_rate
",
"
ICC-header:PrimaryPlatform
"
=>
"
icc.primaryplatform
",
"
mediainfo.track.Audio.BitRate_Mode
"
=>
"
audio.bit_rate_mode
",
"
ICC-header:ProfileCMMType
"
=>
"
icc.profilecmmtype
",
"
mediainfo.track.Audio.Channels
"
=>
"
audio.channel_s_
",
"
ICC-header:ProfileCreator
"
=>
"
icc.profilecreator
",
"
mediainfo.track.Audio.CodecID
"
=>
"
audio.codec_ID
",
"
ICC-header:ProfileDateTime
"
=>
"
icc.profiledatetime
",
"
mediainfo.track.Audio.Commercial_Name
"
=>
"
audio.commercial_name
",
"
ICC-header:ProfileVersion
"
=>
"
icc.profileversion
",
"
mediainfo.track.Audio.Compression_Mode
"
=>
"
audio.compression_mode
",
"
ICC_Profile:CalibrationDateTime
"
=>
"
icc.profilecalibrationdatetime
",
"
mediainfo.track.Audio.Default
"
=>
"
audio.default
",
"
ICC_Profile:MakeAndModel
"
=>
"
icc.makeandmodel
",
"
mediainfo.track.Audio.Duration
"
=>
"
audio.duration
",
"
ICC_Profile:ProfileCopyright
"
=>
"
icc.profilecopyright
",
"
mediainfo.track.Audio.encoded_library
"
=>
"
audio.encoded_library
",
"
ICC_Profile:ProfileDescription
"
=>
"
icc.profiledescription
",
"
mediainfo.track.Audio.Forced
"
=>
"
audio.forced
",
"
IFD0:BitsPerSample
"
=>
"
tiff.bitspersample
",
# TIFF-Tag 258 BitsPerSample ()
"
mediainfo.track.Audio.Format
"
=>
"
audio.format
",
"
IFD0:Compression
"
=>
"
tiff.compression
",
"
mediainfo.track.Audio.Format_Profile
"
=>
"
audio.format_profile
",
"
IFD0:Copyright
"
=>
"
tiff.copyright
",
# TIFF-Tag 33432 Copyright ()
# "mediainfo.track.Audio.Format_Settings_Sign" => "audio.format_settings_sign", # not in FL
"
IFD0:DocumentName
"
=>
"
tiff.documentname
",
# TIFF-Tag 269 DocumentName ()
"
mediainfo.track.Audio.Format_Settings_Wrapping
"
=>
"
audio.format_Settings_Wrapping
",
"
ExifIFD:GrayResponseCurve
"
=>
"
tiff.grayresponsecurve
",
# TIFF-Tag 291 GrayResponseCurve ()
"
mediainfo.track.Audio.Format_Version
"
=>
"
audio.format_version
",
"
IFD0:GrayResponseUnit
"
=>
"
tiff.grayresponseunit
",
# TIFF-Tag 290 GrayResponseUnit ()
"
mediainfo.track.Audio.FrameRate
"
=>
"
audio.frame_rate
",
"
IFD0:ImageDescription
"
=>
"
tiff.imagedescription
",
# TIFF-Tag 270 ImageDescription ()
"
mediainfo.track.Audio.ID
"
=>
"
audio.ID
",
"
IFD0:ImageHeight
"
=>
"
image.height
",
# TIFF-Tag 257 ImageLength ()
"
mediainfo.track.Audio.SamplingRate
"
=>
"
audio.sampling_rate
",
"
IFD0:ImageWidth
"
=>
"
image.width
",
# TIFF-Tag 256 ImageWidth ( )
"
mediainfo.track.Audio.ServiceKind
"
=>
"
audio.service_kind
",
"
IFD0:Make
"
=>
"
tiff.make
",
# TIFF-Tag 271 Make ()
"
mediainfo.track.Audio.StreamSize
"
=>
"
audio.stream_size
",
"
IFD0:MaxSampleValue
"
=>
"
tiff.maxsamplevalue
",
# TIFF-Tag 281 MaxSampleValue ( )
"
mediainfo.track.Audio.Title
"
=>
"
audio.title
",
"
IFD0:MinSampleValue
"
=>
"
tiff.minsamplevalue
",
# TIFF-Tag 280 MinSampleValue ( )
"
mediainfo.track.General.AudioCount
"
=>
"
general.audio_count
",
"
IFD0:Model
"
=>
"
tiff.model
",
# TIFF-Tag 272 Model ()
"
mediainfo.track.General.CodecID
"
=>
"
general.codec_ID
",
"
IFD0:ModifyDate
"
=>
"
tiff.datetime
",
# TIFF-Tag 306 DateTime ()
"
mediainfo.track.General.CompleteName
"
=>
"
general.complete_name
",
"
IFD0:PageNumber
"
=>
"
tiff.pagenumber
",
# TIFF-Tag 297 PageNumber ()
# "mediainfo.track.General.Description" => "general.description", # not in FL
"
IFD0:PhotometricInterpretation
"
=>
"
tiff.photometricinterpretation
",
# TIFF-Tag 262 PhotometricInterpretation ()
"
mediainfo.track.General.Duration
"
=>
"
general.duration
",
"
IFD0:PrimaryChromaticities
"
=>
"
tiff.primarychromaticities
",
# TIFF-Tag 319 PrimaryChromaticities ()
"
mediainfo.track.General.Encoded_Application_CompanyName
"
=>
"
general.encoded_application_company_name
",
"
IFD0:SamplesPerPixel
"
=>
"
tiff.samplesperpixel
",
# TIFF-Tag 277 SamplesPerPixel ()
"
mediainfo.track.General.Encoded_Application
"
=>
"
general.writing_application
",
"
IFD0:Software
"
=>
"
tiff.software
",
# TIFF-Tag 305 Software ()
"
mediainfo.track.General.Encoded_Application_Name
"
=>
"
general.encoded_application_name
",
"
IFD0:WhitePoint
"
=>
"
tiff.whitepoint
",
# TIFF-Tag 318 WhitePoint ()
"
mediainfo.track.General.Encoded_Application_Version
"
=>
"
general.encoded_application_version
",
"
IFD0:XResolution
"
=>
"
image.xresolution
",
# TIFF-Tag 282 XResolution ( Angabe in dpi)
"
mediainfo.track.General.Encoded_Date
"
=>
"
general.encoded_date
",
"
IFD0:YResolution
"
=>
"
image.yresolution
",
# TIFF-Tag 283 YResolution ( Angabe in dpi)
"
mediainfo.track.General.Encoded_Library
"
=>
"
general.writing_library
",
"
mediainfo.track.General.Encoded_Library_Name
"
=>
"
general.encoded_library_name
",
"
mediainfo.track.General.Encoded_Library_Version
"
=>
"
general.encoded_library_version
",
# "mediainfo.track.General.extra.bext_Present" => "general.extra.bext_present", # not in FL
"
mediainfo.track.General.extra.ErrorDetectionType
"
=>
"
general.extra.error_detection_type
",
"
mediainfo.track.General.extra.IsTruncated
"
=>
"
general.extra.is_truncated
",
"
mediainfo.track.General.FileSize
"
=>
"
general.file_size
",
"
mediainfo.track.General.Format
"
=>
"
general.format
",
"
mediainfo.track.General.Format_Profile
"
=>
"
general.format_profile
",
"
mediainfo.track.General.Format_Settings
"
=>
"
general.format_settings
",
"
mediainfo.track.General.Format_Version
"
=>
"
general.format_version
",
"
mediainfo.track.General.IsStreamable
"
=>
"
general.is_streamable
",
"
mediainfo.track.General.MenuCount
"
=>
"
general.menu_count
",
"
mediainfo.track.General.OtherCount
"
=>
"
general.other_count
",
"
mediainfo.track.General.OverallBitRate
"
=>
"
general.overall_bit_rate
",
"
mediainfo.track.General.OverallBitRateMode
"
=>
"
general.overall_bit_rate_mode
",
"
mediainfo.track.General.PackageName
"
=>
"
general.package_name
",
# "mediainfo.track.General.Producer" => "general.producer", # not in FL
"
mediainfo.track.General.StreamSize
"
=>
"
general.stream_size
",
"
mediainfo.track.General.TextCount
"
=>
"
general.text_count
",
"
mediainfo.track.General.Title
"
=>
"
general.title
",
"
mediainfo.track.General.UniqueID
"
=>
"
general.unique_id
",
"
mediainfo.track.General.VideoCount
"
=>
"
general.video_count
",
"
mediainfo.track.Image.BitDepth
"
=>
"
image.bit_depth
",
"
mediainfo.track.Image.ColorSpace
"
=>
"
image.color_space
",
"
mediainfo.track.Image.colour_primaries
"
=>
"
image.color_primaries
",
"
mediainfo.track.Image.Compression_Mode
"
=>
"
image.compression_mode
",
"
mediainfo.track.Image.DisplayAspectRatio
"
=>
"
image.display_aspect_ratio
",
"
mediainfo.track.Image.Encoded_Date
"
=>
"
image.encoded_date
",
"
mediainfo.track.Image.Encoded_Library
"
=>
"
image.writing_library
",
"
mediainfo.track.Image.Format
"
=>
"
image.format
",
"
mediainfo.track.Image.Format_Version
"
=>
"
image.format_version
",
"
mediainfo.track.Image.FrameRate
"
=>
"
image.frame_rate
",
"
mediainfo.track.Image.Height
"
=>
"
image.height
",
"
mediainfo.track.Image.StreamSize
"
=>
"
image.stream_size
",
"
mediainfo.track.Image.transfer_characteristics
"
=>
"
image.transfer_characteristics
",
"
mediainfo.track.Image.Width
"
=>
"
image.width
",
"
mediainfo.track.Video.BitDepth
"
=>
"
video.bit_depth
",
"
mediainfo.track.Video.BitRate_Mode
"
=>
"
video.bit_rate_mode
",
"
mediainfo.track.Video.BitRate
"
=>
"
video.bit_rate
",
# "mediainfo.track.video.Bits__Pixel_Frame_" => "video.bits__Pixel_Frame_", # not in mediainfo extractor yet
"
mediainfo.track.Video.ChromaSubsampling
"
=>
"
video.chroma_subsampling
",
"
mediainfo.track.Video.CodecID
"
=>
"
video.codec_ID
",
"
mediainfo.track.Video.ColorSpace
"
=>
"
video.color_space
",
"
mediainfo.track.Video.Compression_Mode
"
=>
"
video.compression_mode
",
"
mediainfo.track.Video.Default
"
=>
"
video.default
",
"
mediainfo.track.Video.DisplayAspectRatio
"
=>
"
video.display_aspect_ratio
",
"
mediainfo.track.Video.Duration
"
=>
"
video.duration
",
"
mediainfo.track.Video.Encoded_Library
"
=>
"
video.encoded_library
",
"
mediainfo.track.Video.extra.coder_type
"
=>
"
video.extra.coder_type
",
"
mediainfo.track.Video.extra.ErrorDetectionType
"
=>
"
video.extra.error_detection_type
",
"
mediainfo.track.Video.extra.MaxSlicesCount
"
=>
"
video.extra.max_slices_count
",
"
mediainfo.track.Video.extra.OriginalSourceMedium
"
=>
"
video.extra.original_source_medium
",
"
mediainfo.track.Video.Forced
"
=>
"
video.forced
",
"
mediainfo.track.Video.Format_Profile
"
=>
"
video.format_profile
",
"
mediainfo.track.Video.Format_Settings_GOP
"
=>
"
video.format_settings_GOP
",
"
mediainfo.track.Video.Format_Settings_Wrapping
"
=>
"
video.format_Settings_Wrapping
",
"
mediainfo.track.Video.Format_Version
"
=>
"
video.format_version
",
"
mediainfo.track.Video.Format
"
=>
"
video.format
",
"
mediainfo.track.Video.FrameCount
"
=>
"
video.frame_count
",
"
mediainfo.track.Video.FrameRate
"
=>
"
video.frame_rate
",
"
mediainfo.track.Video.Height
"
=>
"
video.height
",
"
mediainfo.track.Video.ID
"
=>
"
video.ID
",
"
mediainfo.track.Video.PixelAspectRatioOriginal
"
=>
"
video.pixel_aspect_ratio_original
",
"
mediainfo.track.Video.PixelAspectRatio
"
=>
"
video.pixel_aspect_ratio
",
"
mediainfo.track.Video.ScanOrder
"
=>
"
video.scan_order
",
"
mediainfo.track.Video.ScanType
"
=>
"
video.scan_type
",
"
mediainfo.track.Video.Standard
"
=>
"
video.standard
",
"
mediainfo.track.Video.StreamSize
"
=>
"
video.stream_size
",
"
mediainfo.track.Video.TimeCode_FirstFrame
"
=>
"
video.time_code_of_first_frame
",
"
mediainfo.track.Video.TimeCode_Source
"
=>
"
video.time_code_source
",
"
mediainfo.track.Video.Title
"
=>
"
video.title
",
"
mediainfo.track.Video.transfer_characteristics
"
=>
"
video.transfer_characteristics
",
"
mediainfo.track.Video.Width
"
=>
"
video.width
"
);
);
my
$plugin_name
=
"
SLUBTechnicalMetadataExtractorMediaConchPlugin
";
my
$plugin_name
=
"
SLUBTechnicalMetadataExtractorMediaConchPlugin
";
my
$classification_group
=
"
Video
";
my
$classification_group
=
"
Video
";
...
...
This diff is collapsed.
Click to expand it.
Preview
0%
Loading
Try again
or
attach a new file
.
Cancel
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Save comment
Cancel
Please
register
or
sign in
to comment