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 Serial JPEGs into THP Movie Data</H1> 14<H2>Description</H2> 15<P>The following description explains how to use the <CODE>THPConv</CODE> tool to convert <A href="JPEGSFormat.html">serial JPEG files</A> into <A href="THPFormat.html">THP movie data</A>.</P> 16 17<BLOCKQUOTE> 18<PRE><HR><CODE><B> THPConv.exe -j</B> <*.jpg> <B>-d</B> <outputfile> [-<option> <argument>]</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"><*.jpg></td> 35<td>Specifies the input files (serial JPEG). Wildcard text characters ( * ) can be specified. <strong>This argument must 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"><outputfile></td> 41<td>Specifies the output file (THP). <strong>This argument must 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"><wavefile><BR><wavefile><BR>......</td> 52<td>Specifies the audio file (WAV file) that will be converted into THP audio data. When more than one file is specified for the argument, data is allocated to each audio track in the specified order.</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"><framerate></td> 58<td>Specifies the movie frame rate. The valid frame rate ranges from 1.0 to 59.94. When no frame rate is specified, the default (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 save offsets to each frame data as a table. When this option is specified, the <CODE>THPConv</CODE> tool creates an offset table in the THP data. If this option is not specified, no offset table is 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 THP video data format. When interlace starts the video data from an odd number field, specify <CODE>-odd</CODE>; when the interlace starts from an even number field, specify <CODE>-even</CODE>. If no argument is specified, the THP video data format is automatically set to noninterlace (<CODE>-non</CODE>). </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<th ALIGN="center" width=50 bgcolor="#FFFFCC"><CODE>-on</CODE></th> 81 <td ALIGN="center" width=100 bgcolor="#E6E6FA">-</td> 82<td>Specify this option if you want to co nvert the THP audio data playback frequency in real time to match the Revolution characteristics during THP movie data playback instead of during data creation.</td> 83 </tr> 84 85 <tr> 86<th ALIGN="center" width=50 bgcolor="#FFFFCC"><CODE>-v</CODE></th> 87 <td ALIGN="center" width=100 bgcolor="#E6E6FA">-</td> 88<td>Turns on verbose mode. </td> 89 </tr> 90 91 <tr> 92<th ALIGN="center" width=50 bgcolor="#FFFFCC"><code>-h</code></th> 93 <td ALIGN="center" width=100 bgcolor="#E6E6FA">-</td> 94<td>Displays the option list. </td> 95 </tr> 96 97 </tbody> 98</table> 99 100 101</BLOCKQUOTE> 102 103<BR> 104 105<H2>Example</H2> 106<BLOCKQUOTE> 107<PRE><CODE><B> THPConv.exe -j</B> test*.jpg <B>-d</B> output.thp</CODE></PRE> 108<P>When this example executes from the command line, the serial JPEG files in the current directory (<CODE>test001.jpg</CODE>, <CODE>test002.jpg</CODE>, <CODE>test003.jpg</CODE>, etc.) are converted into THP video data and then combined in a single THP movie file (output.thp). </P> 109</BLOCKQUOTE> 110 111 112<BR> 113 114 115<h2><font color="#FF0000"><CODE>THPConv</CODE> Usage Notes</FONT></h2> 116<P><STRONG>Note:</STRONG> When converting serial JPEG files into THP movie data, the specified input files must have a filename with the <CODE>.jpg</CODE> or <CODE>.jpeg</CODE> extension. </P> 117 118<P><STRONG>Note:</STRONG> 119If the playback frequency is set to 48000 Hz, Revolution will output the audio data at 48043 Hz. If the frequency is set to 32000 Hz, it will output at 32028 Hz. During THP movide data playback, be aware of this Revolution characteristic to maintain synchronization between the video and audio data. You must convert the audio data playback frequency to match the Revolution characteristic in advance during THP movie data creation or with the audio library (AX) during THP movie playback.<br><br>If converting this frequency during data creation, run <CODE>THPConv</CODE> without specifying the <code>-on</code> option. If converting this frequency during playback, specify the <code>-on</code> option and run <CODE>THPConv</CODE>.<br><br>Use <CODE>THPPlayerStrmAX</CODE> when playing THP movie data that was created with the <CODE>-on</CODE> option specified. 120</P> 121 122 123<H2>See Also</H2> 124<P> 125<A href="THPConv.html"><CODE>THPConv.exe</CODE></A>,<BR> <A href="FileFormat.html">THPConv Compatible File Formats<CODE>THPConv</CODE></A> 126</P> 127 128<H2>Revision History</H2> 129<P>03/01/2006 Initial version.</P> 130</BODY> 131</HTML>