Requirements:
- A registered account at HighlightCam (http://highlightcam.com/accounts/register/?next=/)
- Download the API example client: http://code.google.com/p/highlightcam-api/downloads/list
- You must have Python 2.x installed to use this client. (http://www.activestate.com/activepython/downloads/) (Tested with Python 2.5.)
Then in the directory where you saved and decompressed the API client, type
python highlightcam_api_client.py -i http://videos.highlightcam.com.s3.amazonaws.com/video_e074e9c88302437080a9b6c57200601e.flv -u <your username> -p <your password> -k 2
This submits a video (in fact, the BunnyCam? video from our front page) for highlighting, with a target length of 2% of the original. Status messages will flash across your screen for 1-2 minutes, concluding with
Processing finished with status code 0
Video successfully highlighted!
if everything went well (or an error message otherwise). URLs for the highlight .flv and .gif are also printed to your screen.
A successfully highlighted video can be watched immediately at http://highlightcam.com/home/ in your “API” channel (which is created the first time you use the API).
For more documentation and examples, check out the HighlightCam API at Google Code.
HighlightCam API Blog