Skip to content

Instantly share code, notes, and snippets.

View finoradin's full-sized avatar

Cass Fino-Radin (they/them) finoradin

View GitHub Profile
<?xml version="1.0" encoding="UTF-8"?>
<MediaTrace
xmlns="http://www.mediaarea.net/mediatrace"
xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance"
xsi:schemaLocation="http://www.mediaarea.net/mediatrace http://www.mediaarea.net/mediatrace/mediatrace.xsd"
version="0.7.76"
ref="/Users/bfino/Downloads/mengbo right test2.mov">
<block offset="0" name="File Type" size="32">
<block offset="0" name="Header" size="8">
<data offset="0" name="Size">32</data>
This file has been truncated, but you can view the full file.
<?xml version="1.0" encoding="UTF-8"?>
<MediaTrace
xmlns="http://www.mediaarea.net/mediatrace"
xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance"
xsi:schemaLocation="http://www.mediaarea.net/mediatrace http://www.mediaarea.net/mediatrace/mediatrace.xsd"
version="0.7.76"
ref="/Users/bfino/Downloads/right.mov">
<block offset="0" name="File Type" size="20">
<block offset="0" name="Header" size="8">
<data offset="0" name="Size">20</data>
@finoradin
finoradin / digitalfile.xml
Created November 6, 2015 12:12
Process history metadata example by Peggy Griesinger for MoMA NDSR project
<?xml version="1.0" encoding="UTF-8"?>
<mets xmlns="http://www.loc.gov/METS/" xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance"
xmlns:xlink="http://www.w3.org/1999/xlink" xmlns:dcterms="http://purl.org/dc/terms/"
xmlns:premis="info:lc/xmlns/premis-v2"
xmlns:pbcore="http://www.pbcore.org/PBCore/PBCoreNamespace.html"
xmlns:revtmd="http://nwtssite.nwts.nara/schema/"
xsi:schemaLocation="http://www.loc.gov/METS/ http://www.loc.gov/standards/mets/mets.xsd http://purl.org/dc/terms/
http://dublincore.org/schemas/xmls/qdc/2008/02/11/dcterms.xsd info:lc/xmlns/premis-v2
http://www.loc.gov/standards/premis/v2/premis-v2-2.xsd http://www.pbcore.org/PBCore/PBCoreNamespace.html
http://pbcore.org/xsd/pbcore-2.0.xsd http://nwtssite.nwts.nara/schema/
@finoradin
finoradin / reg
Created August 22, 2016 16:05
Example of regular mediainfo output
General
Complete name : /Users/bfino/Downloads/VIDEO_LAYER_3-Brightsign.mov
Format : MPEG-4
Format profile : QuickTime
Codec ID : qt
File size : 644 MiB
Duration : 6mn 30s
Overall bit rate mode : Variable
Overall bit rate : 13.8 Mbps
Encoded date : UTC 2014-09-12 20:23:11
@finoradin
finoradin / XML
Created August 22, 2016 16:07
example of mediainfo XML output
<?xml version="1.0" encoding="UTF-8"?>
<Mediainfo
version="0.1"
ref="/Users/bfino/Downloads/VIDEO_LAYER_3-Brightsign.mov">
<File>
<track type="General">
<Complete_name>/Users/bfino/Downloads/VIDEO_LAYER_3-Brightsign.mov</Complete_name>
<Format>MPEG-4</Format>
<Format_profile>QuickTime</Format_profile>
<Codec_ID>qt </Codec_ID>
@finoradin
finoradin / full
Created August 22, 2016 16:09
example of mediainfo full XML output
<?xml version="1.0" encoding="UTF-8"?>
<Mediainfo
version="0.1"
ref="/Users/bfino/Downloads/VIDEO_LAYER_3-Brightsign.mov">
<File>
<track type="General">
<Count>308</Count>
<Count_of_stream_of_this_kind>1</Count_of_stream_of_this_kind>
<Kind_of_stream>General</Kind_of_stream>
<Kind_of_stream>General</Kind_of_stream>
@finoradin
finoradin / mediatrace
Created August 22, 2016 16:14
Example of mediainfo's mediatrace XML output
<?xml version="1.0" encoding="UTF-8"?>
<MediaTrace
xmlns="https://mediaarea.net/mediatrace"
xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance"
xsi:schemaLocation="https://mediaarea.net/mediatrace https://mediaarea.net/mediatrace/mediatrace_0_1.xsd"
version="0.1"
ref="/Users/bfino/Downloads/VIDEO_LAYER_3-Brightsign.mov">
<creatingLibrary version="0.7.77" url="https://mediaarea.net/MediaInfo">MediaInfoLib</creatingLibrary>
<block offset="0" name="File Type" size="32">
<block offset="0" name="Header" size="8">
@finoradin
finoradin / mediatrace nonxml
Created August 22, 2016 18:42
Example of reugular mediatrace in non xml form
00000000 File Type (32 bytes)
00000000 Header (8 bytes)
00000000 Size: 32 (0x00000020)
00000004 Name: ftyp
00000008 MajorBrand: qt
0000000C MajorBrandVersion: 537199360 (0x20050300)
00000010 CompatibleBrand: qt
00000014 CompatibleBrand
00000018 CompatibleBrand
0000001C CompatibleBrand
@finoradin
finoradin / dpx normal
Created August 23, 2016 19:44
example of regular mediainfo output for DPX
General
Complete name : /Users/bfino/Downloads/00090000.dpx
Format : DPX
Format version : Version 1.0
File size : 7.92 MiB
Encoded date : 2013-05-31T14:14:16Mit
Writing library : daVinci
Image
Format : DPX
@finoradin
finoradin / -f dpx output
Created August 23, 2016 19:45
example of mediainfo output with -f flag
General
Count : 308
Count of stream of this kind : 1
Kind of stream : General
Kind of stream : General
Stream identifier : 0
Count of image streams : 1
Image_Format_List : DPX
Image_Format_WithHint_List : DPX
Complete name : /Users/bfino/Downloads/00090000.dpx