https://github.com/hohonuuli/timecode-grab
Simple app for grabbing timecode and userbits date from VCRs that support Sony's 9-pin interface.
https://github.com/hohonuuli/timecode-grab
Last synced: 2 months ago
JSON representation
Simple app for grabbing timecode and userbits date from VCRs that support Sony's 9-pin interface.
- Host: GitHub
- URL: https://github.com/hohonuuli/timecode-grab
- Owner: hohonuuli
- Created: 2017-01-11T18:34:04.000Z (over 8 years ago)
- Default Branch: master
- Last Pushed: 2017-01-12T17:14:47.000Z (over 8 years ago)
- Last Synced: 2025-02-04T21:45:47.774Z (4 months ago)
- Language: Scala
- Size: 19.5 KB
- Stars: 0
- Watchers: 3
- Forks: 0
- Open Issues: 0
-
Metadata Files:
- Readme: README.md
Awesome Lists containing this project
README

# timecode-grabSimple app for grabbing timecode and userbits date from VCRs that support Sony's 9-pin interface. It assumes that you are writing date to userbits as epoch seconds.
It generates a text file with three columns: timecode, timestamp and epochseconds. _Timecode_ is the tape timecode (assumed to be NTSC (29.97 fps)). _Timestamp_ is the date that that frame of video was recorded. _Epoch seconds_ is the same info as timestamp, just encoded as UNIX time.
The way it works is that it starts playing the tape and sampling the timecode/timestamp at some interval that you specify (using `-i` flag). The sampling will continue for some duration (specified with the `-d` flag). You also provide a tape length in minutes (using `-t` flag). This program assumes that the tape was recorded continously without stopping and starting in the middle. From your tape sample it will extrapolate the timecode/timestamp to the end of the tape and dump the output to the console. This output can be loaded into a datastore for lookup later.
## Build
This project is built using [SBT](http://www.scala-sbt.org/). To build just run:
`sbt assembly`
The executable jar file will be located in `target/scala-2.12/`
## Usage
To display help run:
`java -jar timecode-grab-assembly-[version].jar`
This example will connect using the commport `/dev/cu.RS422 Deck Control` and sample the tape for 10 seconds at 2 second intervals. The results will have samples every 2 seconds for 45 minutes.
```
java -jar timecode-grab-assembly-[version].jar \
"/dev/cu.RS422 Deck Control" \
-d 10 -i 2 -t 45
```