README

cardcpx

Build Status

cardcpx is a specialized UI for copying files from a camera card to 1+ replicas. The replica copies happen concurrently, so if you are copying N bytes to R replicas, the time is O(N) instead of O(N * R).

The interface also has includes simple scene/take ingestion, which is stored in a CSV transaction log. Selects will be copied first, so you can do a proofing check on a fast disk while your import finishes.

cardcpx supports a flat directory structure as well as the RED camera directory structure. It assumes that your clip names do not overlap. Attempting to copy the same file name will not overwrite data.

Building

You must have GNU Make, Go 1.2, and Ant installed. All other dependencies are included in the third_party directory. To build:

make

This produces cardcpx and ui/js.js.

Running

From the project directory, run:

./cardcpx -storageDirs=/path/to/replica1:/path/to/replica2 -takeFile=path/to/takes.csv

then open http://localhost:8080/ in your browser of choice. The UI is restricted to localhost-only by default. For more details on options, run ./cardcpx -help.

The replicas given by -storageDirs are the directories that your clips will be copied to. -takeFile specifies the CSV file that will hold all the take information (i.e. take, scene, clip name, select).

License

Apache License 2.0. See LICENSE for details.

This is not an official Google product (experimental or otherwise), it is just code that happens to be owned by Google.

Expand ▾ Collapse ▴

Documentation

The Go Gopher

There is no documentation for this package.

Source Files

Directories

Path Synopsis
Package httputil contains a bunch of HTTP utility code.
Package httputil contains a bunch of HTTP utility code.
Package multiwriter provides an io.Writer that duplicates its writes to multiple writers concurrently.
Package multiwriter provides an io.Writer that duplicates its writes to multiple writers concurrently.
Package natsort provides an implementation of the natural sorting algorithm.
Package natsort provides an implementation of the natural sorting algorithm.
Package netutil identifies the system userid responsible for localhost TCP connections.
Package netutil identifies the system userid responsible for localhost TCP connections.
third_party
context
Package context stores values shared during a request lifetime.
Package context stores values shared during a request lifetime.
mux
Package gorilla/mux implements a request router and dispatcher.
Package gorilla/mux implements a request router and dispatcher.
webapp
Package webapp provides utilities for building a web app.
Package webapp provides utilities for building a web app.
Package video provides operations on video files.
Package video provides operations on video files.