Skip to content

Commit

Permalink
Merge pull request #11 from pugetsoundandvision/ari-branch-new
Browse files Browse the repository at this point in the history
Update README.md
  • Loading branch information
alavigne12 authored Aug 22, 2018
2 parents cb00438 + 95c9deb commit a261c42
Showing 1 changed file with 39 additions and 12 deletions.
51 changes: 39 additions & 12 deletions README.md
Original file line number Diff line number Diff line change
@@ -1,6 +1,12 @@
# videotools

To install and use these tools in Mac OSX, use the "Terminal" application located in the "Utilities" folder. Use Terminal to install Homebrew (if you don't have it already) and then run the commands:
**VideoAIP - What it does**: For a given video file(s), creates an archival package that adheres to the bagit standard with an mp4 access file, technical metadata and checksums. Once installed, for instructions just type `videoaip` to see usage information.

This script includes an option to sync package/access copies to a remote or local location for easy backup.

Usage: `videoaip [option] [inputfile1] [inputfile2] ... `, help: `videoaip -h`, crop mode: `videoaip -c`, to include logs: `videoaip -l`, set up configuration for options `videoaip -e`

**Installation:** To install and use these tools in Mac OSX, use the "Terminal" application located in the "Utilities" folder. Use Terminal to install Homebrew (if you don't have it already) and then run the commands:

`brew tap pugetsoundandvision/pugetsoundandvision && brew install cask`

Expand All @@ -10,24 +16,45 @@ Videotools depends on having textmate installed. It will attempt to install this

`brew cask install textmate`

**VideoAIP**: For a given video file(s), creates an archival package that adheres to the bagit standard with an mp4 access file, technical metadata and checksums. Once installed, for instructions just type `videoaip` to see usage information.
**VideoAIP Configuration:**

This script includes an option to sync package/access copies to a remote or local location for easy backup.
When you run `videoaip -e` you will see the following configuration screen:

![Video AIP Config](https://github.com/pugetsoundandvision/audiotools/blob/master/supplemental/VideoAIP_Config.png)

* Option One is to enable synchronizing (copying) your preservation package to a second location. Enable this option by entering `Y` for `sync_choice` (between quotation marks) and a path after `destination` (between parenthesis).

* Option Two: VideoAIP will still create a preservation package at the same location as the original file, even if you have enabled synchronization in Option One. If you wish to delete this package once a copy has been synced to the destination specified above, enter `Y` after `remove_aip`.

* Option Three allows you to specify a location for an additional copy of your access files. This enables you to have copies of all access files added to one central folder for more easy management. Enable this by entering `Y` and a path (or ssh path) following `derivative_destination`.

Example:

Original .MKVs are on HardDrive_A. We want the preservation packages synced to HardDrive_B, and copies of the access files saved to HardDrive_C. We also want the preservation packages on HardDrive_A to be deleted once they are synced to HardDrive_B.

![VideoAIP Example](https://github.com/pugetsoundandvision/audiotools/blob/master/supplemental/VideoAIP_Example_GitHub.png)

**Creating Preservation Packages:**

Before you begin:

* Each video file and it's associated logs should be together in one folder. (I.e., FileA.mkv, LogA.log, FrameA.framemd5 should all be in "FileA" folder).

If you only have video files, you can simply run:

`videoaip [drag each .mkv file path here, separated by spaces]`

Usage: `videoaip [option] [inputfile1] [inputfile2] ... `, help: `videoaip -h`, crop mode: `videoaip -c`,set up configuration for options `videoaip -e`
This will create an archival package for each .mkv that adheres to the bagit standard with an mp4 access file, technical metadata, and checksums.

**VideoAIP Configuration:**
If you have logs that are associated with your video files, such as .log or .framemd5 files, you can run:

When you run `videoaip -e` you will see a configuration screen like this:
![AudioAIP Config](https://github.com/pugetsoundandvision/audiotools/blob/master/supplemental/audioaipconfig.png)
`videoaip -l [drag each a log file here] -l [drag additional log here] -l [drag additional log here, etc.] [drag associated .mkv here]`

To set your options, simply type them between the respective quotation marks, save the file and quit.
OR

The options require file paths. An easy way to find the file path for a file or folder is just to drag it into the terminal window and then copy the results. It should looks something like `/Users/username/Desktop/myfolder`
`videoaip -l auto [drag each .mkv file path here, separated by spaces]

* The first option is to enable synchronizing your preservation package to a second location. Enable this by entering "Y" and a path (or ssh path) for a destination. Something like: `sync_choice="Y"` and `destination="path to your folder here"`
* The second option can be used in conjunction with the first. If you wish to remove the locally generated AIP after syncing it to its destination, set this to `Y`.
* The third option allows you to set a location to make an extra copy of your access files (in addition to the ones contained in your package). This enables you to have copies of all access files added to one central folder for more easy management. Enable this by entering "Y" and a path (or ssh path) for a destination. Something like: `derivative_choice="Y"` and `destination="path to your folder here"`
This will create an archival package, as above, but will include any logs found in the same folder as the .mkv.

## Licenses

Expand Down

0 comments on commit a261c42

Please sign in to comment.