<?xml version="1.0" encoding="UTF-8"?>
<rss version="2.0"><channel><atom:link rel="hub" href="http://tumblr.superfeedr.com/" xmlns:atom="http://www.w3.org/2005/Atom"/><description>Announcements, tips and examples for using the HighlightCam video summarization API.</description><title>HighlightCam API Blog</title><generator>Tumblr (3.0; @hlcamapi)</generator><link>http://apiblog.highlightcam.com/</link><item><title>HighlightCam API command-line example</title><description>&lt;h3&gt;&lt;a name="Requirements:" id="Requirements:"&gt;Requirements:&lt;/a&gt;&lt;/h3&gt;
&lt;p&gt;&lt;a name="Requirements:" id="Requirements:"&gt; &lt;/a&gt;&lt;/p&gt;
&lt;ol&gt;
&lt;li&gt;A registered account at HighlightCam (&lt;a href="http://highlightcam.com/accounts/register/?next=/" rel="nofollow"&gt;&lt;a href="http://highlightcam.com/accounts/register/?next=/"&gt;http://highlightcam.com/accounts/register/?next=/&lt;/a&gt;&lt;/a&gt;) &lt;/li&gt;
&lt;li&gt;Download the API example client: &lt;a href="http://code.google.com/p/highlightcam-api/downloads/list" rel="nofollow"&gt;&lt;a href="http://code.google.com/p/highlightcam-api/downloads/list"&gt;http://code.google.com/p/highlightcam-api/downloads/list&lt;/a&gt;&lt;/a&gt; &lt;/li&gt;
&lt;li&gt;You must have Python 2.x installed to use this client.  (&lt;a href="http://www.activestate.com/activepython/downloads/" rel="nofollow"&gt;&lt;a href="http://www.activestate.com/activepython/downloads/"&gt;http://www.activestate.com/activepython/downloads/&lt;/a&gt;&lt;/a&gt;)  (Tested with Python 2.5.) &lt;/li&gt;
&lt;/ol&gt;
&lt;p&gt;Then in the directory where you saved and decompressed the API client, type&lt;/p&gt;
&lt;blockquote&gt;
&lt;p&gt;python highlightcam_api_client.py -i &lt;a href="http://videos.highlightcam.com.s3.amazonaws.com/video_e074e9c88302437080a9b6c57200601e.flv"&gt;http://videos.highlightcam.com.s3.amazonaws.com/video_e074e9c88302437080a9b6c57200601e.flv&lt;/a&gt; -u &lt;your username&gt; -p &lt;your password&gt; -k 2&lt;/p&gt;
&lt;/blockquote&gt;
&lt;p&gt;This submits a video (in fact, the BunnyCam&lt;a href="http://code.google.com/p/highlightcam-api/w/edit/BunnyCam"&gt;?&lt;/a&gt; video from our &lt;a href="http://highlightcam.com/" rel="nofollow"&gt;front page&lt;/a&gt;) for highlighting, with a target length of 2% of the original. Status messages will flash across your screen for 1-2 minutes, concluding with&lt;/p&gt;
&lt;pre class="prettyprint"&gt;Processing finished with status code 0&lt;br/&gt;Video successfully highlighted! &lt;/pre&gt;
&lt;p&gt;if everything went well (or an error message otherwise).  URLs for the highlight .flv and .gif are also printed to your screen.&lt;/p&gt;
&lt;p&gt;A successfully highlighted video can be watched immediately at &lt;a href="http://highlightcam.com/home/" rel="nofollow"&gt;&lt;a href="http://highlightcam.com/home/"&gt;http://highlightcam.com/home/&lt;/a&gt;&lt;/a&gt; in your “API” channel (which is created the first time you use the API).&lt;/p&gt;

&lt;p&gt;For more documentation and examples, check out the &lt;a href="http://code.google.com/p/highlightcam-api/"&gt;HighlightCam API at Google Code&lt;/a&gt;.&lt;/p&gt;</description><link>http://apiblog.highlightcam.com/post/179401368</link><guid>http://apiblog.highlightcam.com/post/179401368</guid><pubDate>Thu, 03 Sep 2009 22:18:29 -0700</pubDate></item></channel></rss>
