<?xml version="1.0" encoding="ISO-8859-1"?>
<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd">
<html lang="en" xml:lang="en" xmlns="http://www.w3.org/1999/xhtml">
  <head>
    <meta http-equiv="Content-Type" content="text/html; charset=iso-8859-1" />
    <title>Movie Content Analysis Project (MoCA)</title>
    <link rel="stylesheet" href="2col_leftNav.css" type="text/css" />
    <style type="text/css">.Stil1 {font-family: "Courier New", Courier, mono}</style>
  </head>
<body>
<div id="masthead">
  <TABLE CELLPADDING=10 WIDTH="100%" >
  <TR>
  <TD><IMG SRC="MoCA-medium.jpg" HEIGHT=150 WIDTH=150></TD>
  <TD VALIGN=BOTTOM WIDTH="100%">
      <B>Automatic Movie Content Analysis</B>
      <H1>The MoCA Project</H1>
  </TD>
  </TR>
  </TABLE>
</div>

<div id="content">
  <br><h2 id="cutdet"><a name="cutdet" id="cutdet"></a>cutdet</h2>
    <p>
      Detects and localizes hard cuts.
    </p>
</div>

<div id="content">
  <br><h2 id="Options"><a name="Options"></a>Options</h2> 
  <div class="feature">
    <p>
      <TABLE BORDER NOSAVE >
        <TR NOSAVE>
          <TD>-videoDir</TD>
          <TD NOSAVE>path to movie</TD>
          <TD>required</TD>
        </TR>

        <TR NOSAVE>
          <TD NOSAVE>-videoName</TD>
          <TD>name of video file</TD>
          <TD>required</TD>
        </TR>

        <TR NOSAVE>
          <TD VALIGN=TOP NOSAVE>-cutdb</TD>
          <TD NOSAVE>path to cut database (i.e. the place where the results will be stored)<br />
                     default: &lt;video Dir>/measurements/hartcutDetection</TD>
          <TD>optional</TD>
        </TR>

        <TR NOSAVE>
          <TD VALIGN=TOP NOSAVE>-from</TD>
          <TD>number of first frame of search range<br />
              default: first video frame</TD>
          <TD>optional</TD>
        </TR>

        <TR NOSAVE>
          <TD VALIGN=TOP NOSAVE>-to</TD>
          <TD>number of last frame of search range<br />
              default: last video frame</TD>
          <TD>optional</TD>
        </TR>

        <TR NOSAVE>
          <TD VALIGN=TOP NOSAVE>-cutthr</TD>
          <TD>threshhold of the color histogram difference<br />
              default: 0.175000</TD>
          <TD>optional</TD>
        </TR>
      </TABLE>
    </p>
  </div>
</div>

<div id="content">
  <br><h2 id="Example"><a name="Example"></a>Example</h2> 
  <div class="feature">
    <p>
      cutdet -videoDir /opt/Movies/ForrestGump/ -videoName ForrestGump.mpg -cutdb test
    </p>
    
    <P>As a result two file will be generated: <I>test</I> and <I>test.range</I>. For your purpose <I>test</I> can be deleted. 
       <I>test.range </I>contains all you need. It is a ASCII file of the form
         <ul>
           1 200000<br />
           HardCut 61 61<br />
           HardCut 116 116<br />
           HardCut 161 161<br />
           HardCut 291 291<br />
           ....
         </ul>
       Since hard cuts are edits of duration 0 each text line gives you the first frame of the next shot. For soft cuts e.g. detected by 
       <I>fadedet</I> a text line would look like</FONT>
         <ul>
           Fade 43 76
         </ul>
       specifying the range of the fade. The first line of <I>test.range</I> specifies the number of the first and last frame of the search range.
    </P>
  </div>
</div>

<!--end content --> 
<div id="navBar"> 
  <div id="search">  </div> 
  <div id="sectionLinks"> 
    <ul> 
      <li><a href="index.html#Overview">Overview</a></li> 
      <li><a href="index.html#Projects">Projects</a></li> 
      <li><a href="index.html#MoCA People">MoCA People</a></li> 
      <li><a href="index.html#Downloads">Downloads</a></li>
      <li><a href="index.html#Publications">Publications</a></li> 
    </ul>
  </div>
  <div class="relatedLinks"></div>
</div>
<div id="siteInfo">  <a href="http://www.informatik.uni-mannheim.de/pi4/">Praktische Informatik IV</a> |
  <a href="http://www.informatik.uni-mannheim.de/pi4/people/kopf">Contact</a> |
  &copy;2005 Praktische Informatik IV, University of Mannheim</div>
</body>
</html>
