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 Sequential 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 describes 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<HR> 19<PRE><CODE><B> THPConv.exe -j</B> <*.jpg> <B>-d</B><outputfile> [-<option> <argument>]</CODE></PRE> 20<HR> 21</BLOCKQUOTE> 22 23 24 25<P>Description of Options</P> 26<BLOCKQUOTE> 27<table border="1" cellpadding="3" cellspacing="0"> 28 <tbody> 29 <tr ALIGN="center"> 30<th width=50 bgcolor="#C0C0C0">option</th> 31<th width=100 bgcolor="#C0C0C0">argument</th> 32<th bgcolor="#C0C0C0">Description</th> 33 </tr> 34 <tr> 35<th ALIGN="center" width=50 bgcolor="#FFFFCC">-j</th> 36<td ALIGN="center" width=100 bgcolor="#E6E6FA"><*.jpg></td> 37<td>Specifies the input files (sequential JPEG files). Wildcard characters ("*") can be used. This argument must <strong>always be specified</strong>.</td> 38 </tr> 39 40 <tr> 41<th ALIGN="center" width=50 bgcolor="#FFFFCC">-d</th> 42<td ALIGN="center" width=100 bgcolor="#E6E6FA"><outputfile></td> 43<td>Specifies the output file (THP file). This argument must <strong>always be specified</strong>.</td> 44 </tr> 45 46 </tbody> 47</table> 48<BR> 49<table border="1" cellpadding="3" cellspacing="0"> 50 <tbody> 51 <tr> 52<th ALIGN="center" width=50 bgcolor="#FFFFCC">-s</th> 53<td ALIGN="center" width=100 bgcolor="#E6E6FA"><wavefile><BR><wavefile><BR>......</td> 54<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> 55 </tr> 56 57 <tr> 58<th ALIGN="center" width=50 bgcolor="#FFFFCC">-r</th> 59<td ALIGN="center" width=100 bgcolor="#E6E6FA"><framerate></td> 60<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> 61 </tr> 62 63 <tr> 64<th ALIGN="center" width=50 bgcolor="#FFFFCC">-o</th> 65 <td ALIGN="center" width=100 bgcolor="#E6E6FA">-</td> 66<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, the THP movie data, no offset table will be created in the THP movie data.</td> 67 </tr> 68 69 <tr> 70<th ALIGN="center" width=50 bgcolor="#FFFFCC">-non</th> 71 <td ALIGN="center" width=100 bgcolor="#E6E6FA" rowspan="3">-</td> 72<td rowspan="3">Specifies the THP video data format. When interlace starts the video data from an odd numbered field, specify <B>-odd</B>. When interlace starts from an even numbered field, specify <B>-even</B>. If this argument is not specified, the THP video data format is automatically set to non-interlaced (<B>-non</B>).</td> 73 </tr> 74 <tr> 75<th ALIGN="center" width=50 bgcolor="#FFFFCC">-odd</th> 76 </tr> 77 <tr> 78<th ALIGN="center" width=50 bgcolor="#FFFFCC">-even</th> 79 </tr> 80 81 <tr> 82<th ALIGN="center" width=50 bgcolor="#FFFFCC">-v</th> 83 <td ALIGN="center" width=100 bgcolor="#E6E6FA">-</td> 84<td>Turns on Verbose mode.</td> 85 </tr> 86 87 <tr> 88<th ALIGN="center" width=50 bgcolor="#FFFFCC">-h</th> 89 <td ALIGN="center" width=100 bgcolor="#E6E6FA">-</td> 90<td>Displays the option list.</td> 91 </tr> 92 93 </tbody> 94</table> 95 96 97</BLOCKQUOTE> 98 99<BR> 100 101<H2>Example</H2> 102<BLOCKQUOTE> 103<PRE><CODE><B>THPConv.exe -j</B> test*.jpg <B>-d</B> output.thp</CODE></PRE> 104<P>When this example is executed from a 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> 105</BLOCKQUOTE> 106 107 108<BR> 109 110 111<h2><font color="#FF0000">Notes for Using THPConv</FONT></h2> 112<P><STRONG>Note:</STRONG> When converting sequential JPEG files to THP movie data, the names of the specified input files must have the extension ".jpg" or ".jpeg".</P> 113 114<P><STRONG><B>Note:</B></STRONG> Unlike the Nintendo GameCube, audio data is output at the set playback frequency (of 48,000 Hz or 32,000 Hz) on the Wii.</P> 115 116 117<H2>See Also</H2> 118<P> 119<A href="THPConv.html">THPConv.exe</A>, 120<A href="FileFormat.html">File formats compatible with THPConv</A> 121</P> 122 123<H2>Revision History</H2> 124<P> 1252006/12/21 Deleted the <CODE>-on</CODE> option. Corrected a note related to the playback frequency so that it is intended for the Wii.<br>2006/03/01 Initial version.<br> 126</P> 127 128<hr><p>CONFIDENTIAL</p></body> 129</HTML>