Streaming Video, how to create tec.xml, utvideomd, and bags in fedora

When a request is received, follow the steps below to create technical metadata, a UTVideoMD METS file, and a bag for ingest into the fedora streaming server. A DevOps staff member, will run the fedora ingest steps on the bag(s) you create, making them available for streaming to faculty, staff and student affiliates.

What you need:

A terminal with SSH capabilities, like Mac terminal or SSH Putty for Windows.

A UNIX account provisioned by DevOps

Membership to active directory group lib-mps-contributors.

Write access to the spreadsheet named ‘StreamingVideoTracking’ stored in box.

What you do:

Open a terminal and a secure shell into fedora.
ssh username@fedora.lib.utexas.edu
For each file name with the .mp4 extension in the dip directory, run mediainfo and output the results to the same file name with the .tec.xml extension, to the metadata directory.
for i in /bag_ingest/2018_0134/dip/*.mp4 ; do mediainfo --Output=XML --Language=raw $i > /bag_ingest/2018_0134/metadata/`basename $i`.tec.xml ; done
Optionally, review your results, one page at a time. There should be one metadata .tec.xml file for every dip .mp4 file.
more /bag_ingest/2018_0134/metadata/*tec.xml
Run php script named createxml.php on the target directory to create the UT Video Metadata METS file.
php /home/xmldev/scripts/createxml.php 2018_0134

The script will output results to a file in the metadata folder named .utvideomd.xml, as well as output results to the screen. You can review the results output to the screen. There should be one techmd section for every metadata .tec.xml file.

Bag the target directory.
bag baginplace /bag_ingest/2018_0134

Repeat creating .tec.xml, .utvideomd.xml, and bagging for each of the remaining directories listed in the request.

Email lib-support a fedora ingest request. CC the Streaming Video project lead, and the reformatting specialist. In the message body, list each bagged directory name followed by the title. If needed, copy titles from the MODS title info section found in the metadata .desc.xml or .utvideomd.xml file. Example request.

Add a note with your initials to the StreamingVideoTracking spreadsheet shared in UTBox: “Technical metadata, UTVideoMD and bagging complete. Submitted lib-support ingest request 04/23/2018 (BC).