M3/VARS Tape Migration¶
From 2021 through 2023, the video lab is working with Iron Mountain on transcoding all video tapes to video files. One of the many challenges with this project is correctly aligning the video files in time so that they correctly match up with the existing tape annotations. Once correctly aligned, researchers can view tape annotations while watching the video files, through some magic in vampire-squid)
tapemigration contains tools for moving and renaming files from Iron Mountian into the correct locations on titan:/M3
Build¶
sbt stage
This will put the built application in target/pack.
Deploy¶
While the project has a build script for packaging itself as a docker container, difficulties with permissions to the various shares needed for the migration make usage from docker problematic. Instead, it's packaged as a regular app and run on any machine that has Java 11.
Video Naming¶
Videos from Iron Mountain currently follow this naming scheme:
V3346_HD02_Seq01_15-50-00-00_T1054339226_h264.mp4
V3346_HD02_Seq01_15-50-00-00_T1054339226_prores.mov
D3_HD01_Seq01_00-12-30-00_T1054343450_h264.mp4
D3_HD01_Seq01_00-12-30-00_T1054343450_prores.mov
| | | | | | `extension
| | | | `bar code `format
| | | `1st timecode of segment
| | `tape segment
| `tape #
`dive id
Our naming scheme #1
V3346_20090402T172007.399Z_h264.mp4
| | | `extension
| | `format
| `start time
`dive id
Our naming scheme #2
V3346_20090402T172007.399Z_tc12345612_h264.mp4
| | | | `extension
| | | `format
| | `start timecode (eg. 12:34:56:12)
| `start time
`dive id
V3346_20090402T172007.399Z_tc15500000_h264.mp4
Our naming scheme #3
V3346_20090402T172007.399Z_t2s3_hd_tc12345612_h264.mp4
| | | | | | | `extension
| | | | | | `format
| | | | | `start timecode (eg. 12:34:56:12) of video segment
| | | | ` standard def (sd) or high def (hd)
| | | `sequence number of video from tape
| | `tape number
| `start time
`dive id