1<!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 4.01 Transitional//EN">
2<html>
3
4<head>
5<META http-equiv="Content-Type" content="text/html; charset=windows-1252">
6<META name="GENERATOR" content="Microsoft FrontPage 5.0">
7<LINK rel="stylesheet" type="text/css" href="../../CSS/revolution.css">
8<title>THPConv - Converting Serial JPEG Files</title>
9</head>
10
11<BODY>
12
13<H1 align="left">Converting Sequential JPEG files to THP movie data</H1>
14<H2>Description</H2>
15<P>The following description explains how to use the THPConv tool to convert <A href="JPEGSFormat.html">Sequential JPEG files</A> to <A href="THPFormat.html">THP movie data</A>:</P>
16
17<BLOCKQUOTE>
18<PRE><HR><CODE><B>  THPConv.exe -j</B> &lt;*.jpg&gt; <B>-d</B> &lt;outputfile&gt; [-&lt;option&gt; &lt;argument&gt;]</CODE><HR></PRE>
19</BLOCKQUOTE>
20
21
22
23<P>Option Descriptions</P>
24<BLOCKQUOTE>
25<table border="1" cellpadding="3" cellspacing="0.1">
26  <tbody>
27    <tr ALIGN="center">
28<th width=50 bgcolor="#C0C0C0">Option</th>
29<th width=100 bgcolor="#C0C0C0">Argument</th>
30<th bgcolor="#C0C0C0">Description</th>
31    </tr>
32    <tr>
33<th ALIGN="center" width=50 bgcolor="#FFFFCC"><CODE>-j</CODE></th>
34<td ALIGN="center" width=100 bgcolor="#E6E6FA">&lt;*.jpg&gt;</td>
35<td>Specifies the input files (sequential JPEG files). Wildcard characters (&quot;*&quot;) can be used. This argument must <strong>always be specified</strong>.</td>
36    </tr>
37
38    <tr>
39<th ALIGN="center" width=50 bgcolor="#FFFFCC"><code>-d</code></th>
40<td ALIGN="center" width=100 bgcolor="#E6E6FA">&lt;outputfile&gt;</td>
41<td>Specifies the output file (THP file). This argument must <strong>always be specified</strong>.</td>
42    </tr>
43
44  </tbody>
45</table>
46<BR>
47<table border="1" cellpadding="3" cellspacing="0.1">
48  <tbody>
49    <tr>
50<th ALIGN="center" width=50 bgcolor="#FFFFCC"><CODE>-s</CODE></th>
51<td ALIGN="center" width=100 bgcolor="#E6E6FA">&lt;wavefile&gt;<BR>&lt;wavefile&gt;<BR>......</td>
52<td>Specifies the audio file (WAV file) that will be converted to THP audio data. When specifying more than one file for the argument, data is allocated to audio tracks in the order it is specified.</td>
53    </tr>
54
55    <tr>
56<th ALIGN="center" width=50 bgcolor="#FFFFCC"><code>-r</code></th>
57<td ALIGN="center" width=100 bgcolor="#E6E6FA">&lt;framerate&gt;</td>
58<td>Specifies the movie's frame rate. Frame rates from 1.0 to 59.94 can be specified. If nothing is specified, the default value (29.97) is used.</td>
59    </tr>
60
61    <tr>
62<th ALIGN="center" width=50 bgcolor="#FFFFCC"><CODE>-o</CODE></th>
63      <td ALIGN="center" width=100 bgcolor="#E6E6FA">-</td>
64<td>THP movie data can internally store offsets to each frame data as a table. If this argument is specified, the THPConv tool will create an offset table in the THP data. If this argument is not specified, no offset table will be created in the THP movie data.</td>
65    </tr>
66
67    <tr>
68<th ALIGN="center" width=50 bgcolor="#FFFFCC"><CODE>-non</CODE></th>
69      <td ALIGN="center" width=100 bgcolor="#E6E6FA" rowspan="3">-</td>
70<td rowspan="3">Specifies the THP video data type. If the video data interlace starts with odd fields, specify <B>-odd</B>. If it starts with even fields, specify <B>-even</B>. If this argument is not specified, the THP video data type is automatically set to non-interlaced (<B>-non</B>).</td>
71    </tr>
72    <tr>
73<th ALIGN="center" width=50 bgcolor="#FFFFCC"><CODE>-odd</CODE></th>
74    </tr>
75    <tr>
76<th ALIGN="center" width=50 bgcolor="#FFFFCC"><CODE>-even</CODE></th>
77    </tr>
78
79    <tr>
80    <tr>
81<th ALIGN="center" width=50 bgcolor="#FFFFCC"><CODE>-v</CODE></th>
82      <td ALIGN="center" width=100 bgcolor="#E6E6FA">-</td>
83<td>Turns on verbose mode. </td>
84    </tr>
85
86    <tr>
87<th ALIGN="center" width=50 bgcolor="#FFFFCC"><code>-h</code></th>
88      <td ALIGN="center" width=100 bgcolor="#E6E6FA">-</td>
89<td>Displays the option list. </td>
90    </tr>
91
92  </tbody>
93</table>
94
95
96</BLOCKQUOTE>
97
98<BR>
99
100<H2>Example</H2>
101<BLOCKQUOTE>
102<PRE><CODE><B>THPConv.exe -j</B> test*.jpg <B>-d</B> output.thp</CODE></PRE>
103<P>When this example is executed at the command line, the sequential JPEG files in the current directory (test001.jpg, test002.jpg, test003.jpg, etc.) are converted to THP video data and collected into a single THP movie data file (output.thp).</P>
104</BLOCKQUOTE>
105
106
107<BR>
108
109
110<h2><font color="#FF0000">THPConv Usage Notes</FONT></h2>
111<P><STRONG>Note:</STRONG> When converting sequential JPEG files to THP movie data, the names of the specified input files must have the extension &quot;.jpg&quot; or &quot;.jpeg&quot;.</P>
112
113<P><STRONG><B>Note:</B></STRONG> Unlike the Nintendo GameCube, when using the Revolution platform, audio data is output at a set playback frequency (of 48,000 Hz or 32,000 Hz).</P>
114
115
116<H2>See Also</H2>
117<P>
118<A href="THPConv.html">THPConv.exe</A>, <A href="FileFormat.html">File formats compatible with THPConv</A>
119</P>
120
121<H2>Revision History</H2>
122<P>
1232006/12/21 Deleted the <CODE>-on</CODE> option. Corrected a note related to the playback frequency so that it is intended for the Revolution.<br>2006/03/01 Initial version.
124</P>
125<hr>
126<P>CONFIDENTIAL</p>
127</BODY>
128</HTML>