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<META http-equiv="Content-Style-Type" content="text/css"> 8<LINK rel="stylesheet" type="text/css" href="../../CSS/revolution.css"> 9<title>THPConv - Sequential JPEG File Format</title> 10</head> 11 12<BODY> 13 14<H1 align="left">Sequential JPEG File Format</H1> 15<H2>Description</H2> 16<P>The THPConv tool can convert a group of sequential JPEG files having sequence numbers at the end of their filenames (indicating the playback order) to THP movie data. When interleaving audio data in sequential JPEG files, you must either specify the WAV files by using the <STRONG>-s</STRONG> option at the time the sequential JPEG files are converted, or add the WAV files after conversion. <BR>The following restrictions apply to groups of sequential JPEG files that can be handled with the <CODE>THPConv</CODE> tool.</P> 17 18<BLOCKQUOTE> 19<table border="0"> 20 <tbody> 21 <tr ALIGN="left"> 22 <TH width="10" valign="top">-</TH> 23<th>All JPEG files to be collected into a single THP movie dataset must have the same number of pixels in the horizontal and vertical directions.</th> 24 </tr> 25 <tr ALIGN="left"> 26 <TH width="10" valign="top">-</TH> 27<th> The group of sequential JPEG files must have sequence numbers (corresponding to frame numbers) appended to the end of their filenames.</th> 28 </tr> 29 <tr ALIGN="left"> 30 <TH width="10" valign="top">-</TH> 31<th> The number of the JPEG file corresponding to the initial frame of the THP movie data can be any number. However, the numbers of all files thereafter must be sequential.</th> 32 </tr> 33 <tr ALIGN="left"> 34 <TH width="10" valign="top">-</TH> 35<th> Please add leading zeros to the frame numbers appended to the filenames so that they all match the number of digits in the last frame.</th> 36 </tr> 37 </tbody> 38</table> 39</BLOCKQUOTE> 40 41<P>The following restrictions apply to each file in a group of sequential JPEG files.</P> 42 43<BLOCKQUOTE> 44<table border="0"> 45 <tbody> 46 <tr ALIGN="left"> 47 <TH width="10" valign="top">-</TH> 48<th>Only the JPEG baseline DCT format is supported.</th> 49 </tr> 50 <tr ALIGN="left"> 51 <TH width="10" valign="top">-</TH> 52<th>Only sequential encoding is supported.</th> 53 </tr> 54 <tr ALIGN="left"> 55 <TH width="10" valign="top">-</TH> 56<th>Only 4:2:0 sub-sampling is supported.</th> 57 </tr> 58 <tr ALIGN="left"> 59 <TH width="10" valign="top">-</TH> 60<th>The pixel counts in both the horizontal and vertical directions must be a multiple of 16.</th> 61 </tr> 62 <tr ALIGN="left"> 63 <TH width="10" valign="top">-</TH> 64<th>The maximum pixel count in the horizontal direction is 672 dots. There is no restriction on the pixel count in the vertical direction.</th> 65 </tr> 66 </tbody> 67</table> 68</BLOCKQUOTE> 69 70<P>If the sequential JPEG files do not meet these requirements, the <CODE>THPConv</CODE> tool will output an error and stop processing.</P> 71<h2>Example</h2> 72<P>To create four seconds of THP movie data at 30 FPS from sequential JPEG files, the numbers of the sequential JPEG files (testxxx.jpg) should look like the following:</P> 73 74<BLOCKQUOTE><HR><BLOCKQUOTE> 75<table border="0"> 76 <tbody> 77 <tr ALIGN="center"> 78<td ALIGN="center" width =80 >Frame</td> 79 <td ALIGN="right" width =60> 1 : </td> 80<td width =180>test001.jpg</td> 81 </tr> 82 <tr ALIGN="center"> 83<td ALIGN="center" width =80 >Frame</td> 84 <td ALIGN="right" width =60> 2 : </td> 85<td width =180>test002.jpg</td> 86 </tr> 87 <tr ALIGN="center"> 88<td ALIGN="center" width =80 >Frame</td> 89 <td ALIGN="right" width =60> 3 : </td> 90<td width =180>test003.jpg</td> 91 </tr> 92 <tr ALIGN="center"> 93 <td ALIGN="center" width =80 > �</td> 94 <td ALIGN="right" width =60> � : </td> 95 <td width =180> �</td> 96 </tr> 97 <tr ALIGN="center"> 98<td ALIGN="center" width =80 >Frame</td> 99 <td ALIGN="right" width =60>51 : </td> 100<td width =180>test051.jpg</td> 101 </tr> 102 <tr ALIGN="center"> 103<td ALIGN="center" width =80 >Frame</td> 104 <td ALIGN="right" width =60>52 : </td> 105<td width =180>test052.jpg</td> 106 </tr> 107 <tr ALIGN="center"> 108 <td ALIGN="center" width =80 > �</td> 109 <td ALIGN="right" width =60> � : </td> 110 <td width =180> �</td> 111 </tr> 112 <tr ALIGN="center"> 113<td ALIGN="center" width =80 >Frame</td> 114 <td ALIGN="right" width =60>118 : </td> 115<td width =180>test118.jpg</td> 116 </tr> 117 <tr ALIGN="center"> 118<td ALIGN="center" width =80 >Frame</td> 119 <td ALIGN="right" width =60>119 : </td> 120<td width =180>test119.jpg</td> 121 </tr> 122 <tr ALIGN="center"> 123<td ALIGN="center" width =80 >Frame</td> 124 <td ALIGN="right" width =60>120 : </td> 125<td width =180>test120.jpg</td> 126 </tr> 127 128 </tbody> 129</table> 130</BLOCKQUOTE><HR></BLOCKQUOTE> 131 132 133<H2>See Also</H2> 134<P> 135<A href="THPConv.html">THPConv.exe</A><br><A href="JPEGS2THP.html">Converting Sequential JPEG Files to THP Movie Data</A><br><A href="FileFormat.html">File formats compatible with THPConv </A> 136</P> 137 138<H2>Revision History</H2> 139<P> 1402006/03/01 Initial version.<br> 141</P> 142 143<hr><p>CONFIDENTIAL</p></body> 144</HTML>