https://wiki.multimedia.cx/index.php?title=Wing_Commander_III_MVE_Video_Codec&feed=atom&action=historyWing Commander III MVE Video Codec - Revision history2024-03-29T06:39:15ZRevision history for this page on the wikiMediaWiki 1.39.5https://wiki.multimedia.cx/index.php?title=Wing_Commander_III_MVE_Video_Codec&diff=5804&oldid=prevDashcloud: Update samples link2006-08-18T03:03:12Z<p>Update samples link</p>
<table style="background-color: #fff; color: #202122;" data-mw="interface">
<col class="diff-marker" />
<col class="diff-content" />
<col class="diff-marker" />
<col class="diff-content" />
<tr class="diff-title" lang="en">
<td colspan="2" style="background-color: #fff; color: #202122; text-align: center;">← Older revision</td>
<td colspan="2" style="background-color: #fff; color: #202122; text-align: center;">Revision as of 20:03, 17 August 2006</td>
</tr><tr><td colspan="2" class="diff-lineno" id="mw-diff-left-l2">Line 2:</td>
<td colspan="2" class="diff-lineno">Line 2:</td></tr>
<tr><td class="diff-marker"></td><td style="background-color: #f8f9fa; color: #202122; font-size: 88%; border-style: solid; border-width: 1px 1px 1px 4px; border-radius: 0.33em; border-color: #eaecf0; vertical-align: top; white-space: pre-wrap;"><br/></td><td class="diff-marker"></td><td style="background-color: #f8f9fa; color: #202122; font-size: 88%; border-style: solid; border-width: 1px 1px 1px 4px; border-radius: 0.33em; border-color: #eaecf0; vertical-align: top; white-space: pre-wrap;"><br/></td></tr>
<tr><td class="diff-marker"></td><td style="background-color: #f8f9fa; color: #202122; font-size: 88%; border-style: solid; border-width: 1px 1px 1px 4px; border-radius: 0.33em; border-color: #eaecf0; vertical-align: top; white-space: pre-wrap;"><div>* Company: [[Origin Systems]]</div></td><td class="diff-marker"></td><td style="background-color: #f8f9fa; color: #202122; font-size: 88%; border-style: solid; border-width: 1px 1px 1px 4px; border-radius: 0.33em; border-color: #eaecf0; vertical-align: top; white-space: pre-wrap;"><div>* Company: [[Origin Systems]]</div></td></tr>
<tr><td class="diff-marker" data-marker="−"></td><td style="color: #202122; font-size: 88%; border-style: solid; border-width: 1px 1px 1px 4px; border-radius: 0.33em; border-color: #ffe49c; vertical-align: top; white-space: pre-wrap;"><div>* Samples: [http://<del style="font-weight: bold; text-decoration: none;">www</del>.mplayerhq.hu<del style="font-weight: bold; text-decoration: none;">/MPlayer/samples</del>/game-formats/wc3-mve/ http://<del style="font-weight: bold; text-decoration: none;">www</del>.mplayerhq.hu<del style="font-weight: bold; text-decoration: none;">/MPlayer/samples</del>/game-formats/wc3-mve/]</div></td><td class="diff-marker" data-marker="+"></td><td style="color: #202122; font-size: 88%; border-style: solid; border-width: 1px 1px 1px 4px; border-radius: 0.33em; border-color: #a3d3ff; vertical-align: top; white-space: pre-wrap;"><div>* Samples: [http://<ins style="font-weight: bold; text-decoration: none;">samples</ins>.mplayerhq.hu/game-formats/wc3-mve/ http://<ins style="font-weight: bold; text-decoration: none;">samples</ins>.mplayerhq.hu/game-formats/wc3-mve/]</div></td></tr>
<tr><td class="diff-marker"></td><td style="background-color: #f8f9fa; color: #202122; font-size: 88%; border-style: solid; border-width: 1px 1px 1px 4px; border-radius: 0.33em; border-color: #eaecf0; vertical-align: top; white-space: pre-wrap;"><br/></td><td class="diff-marker"></td><td style="background-color: #f8f9fa; color: #202122; font-size: 88%; border-style: solid; border-width: 1px 1px 1px 4px; border-radius: 0.33em; border-color: #eaecf0; vertical-align: top; white-space: pre-wrap;"><br/></td></tr>
<tr><td class="diff-marker"></td><td style="background-color: #f8f9fa; color: #202122; font-size: 88%; border-style: solid; border-width: 1px 1px 1px 4px; border-radius: 0.33em; border-color: #eaecf0; vertical-align: top; white-space: pre-wrap;"><div>In 1994, Origin published the third installment of their popular Wing Commander space flight combat simulation games, [http://www.mobygames.com/game/dos/wing-commander-iii-heart-of-the-tiger Wing Commander III: Heart of the Tiger]. The game is distributed as 4 CD-ROMs and the underlying story was driven by a lot of full motion video (FMV). The FMV is transported in a [[Wing Commander III MVE|custom file format with the extension mve]] (see the references for more information on this format). The video data in these files is compressed with a custom, unidentified video codec (referred to here as the WC3 codec).</div></td><td class="diff-marker"></td><td style="background-color: #f8f9fa; color: #202122; font-size: 88%; border-style: solid; border-width: 1px 1px 1px 4px; border-radius: 0.33em; border-color: #eaecf0; vertical-align: top; white-space: pre-wrap;"><div>In 1994, Origin published the third installment of their popular Wing Commander space flight combat simulation games, [http://www.mobygames.com/game/dos/wing-commander-iii-heart-of-the-tiger Wing Commander III: Heart of the Tiger]. The game is distributed as 4 CD-ROMs and the underlying story was driven by a lot of full motion video (FMV). The FMV is transported in a [[Wing Commander III MVE|custom file format with the extension mve]] (see the references for more information on this format). The video data in these files is compressed with a custom, unidentified video codec (referred to here as the WC3 codec).</div></td></tr>
</table>Dashcloudhttps://wiki.multimedia.cx/index.php?title=Wing_Commander_III_MVE_Video_Codec&diff=3560&oldid=prevMultimedia Mike: revert spam/vandalism2006-03-24T19:14:11Z<p>revert spam/vandalism</p>
<a href="https://wiki.multimedia.cx/index.php?title=Wing_Commander_III_MVE_Video_Codec&diff=3560&oldid=3334">Show changes</a>Multimedia Mikehttps://wiki.multimedia.cx/index.php?title=Wing_Commander_III_MVE_Video_Codec&diff=3334&oldid=prev61.23.149.68: "2006-03-24T08:37:43Z<p>"</p>
<a href="https://wiki.multimedia.cx/index.php?title=Wing_Commander_III_MVE_Video_Codec&diff=3334&oldid=3218">Show changes</a>61.23.149.68https://wiki.multimedia.cx/index.php?title=Wing_Commander_III_MVE_Video_Codec&diff=3218&oldid=prev63.146.21.70: "2006-03-24T07:26:44Z<p>"</p>
<a href="https://wiki.multimedia.cx/index.php?title=Wing_Commander_III_MVE_Video_Codec&diff=3218&oldid=3006">Show changes</a>63.146.21.70https://wiki.multimedia.cx/index.php?title=Wing_Commander_III_MVE_Video_Codec&diff=3006&oldid=prevDonDiego: Mention Origin Xan codec.2006-03-23T10:23:12Z<p>Mention Origin Xan codec.</p>
<table style="background-color: #fff; color: #202122;" data-mw="interface">
<col class="diff-marker" />
<col class="diff-content" />
<col class="diff-marker" />
<col class="diff-content" />
<tr class="diff-title" lang="en">
<td colspan="2" style="background-color: #fff; color: #202122; text-align: center;">← Older revision</td>
<td colspan="2" style="background-color: #fff; color: #202122; text-align: center;">Revision as of 03:23, 23 March 2006</td>
</tr><tr><td colspan="2" class="diff-lineno" id="mw-diff-left-l7">Line 7:</td>
<td colspan="2" class="diff-lineno">Line 7:</td></tr>
<tr><td class="diff-marker"></td><td style="background-color: #f8f9fa; color: #202122; font-size: 88%; border-style: solid; border-width: 1px 1px 1px 4px; border-radius: 0.33em; border-color: #eaecf0; vertical-align: top; white-space: pre-wrap;"><br/></td><td class="diff-marker"></td><td style="background-color: #f8f9fa; color: #202122; font-size: 88%; border-style: solid; border-width: 1px 1px 1px 4px; border-radius: 0.33em; border-color: #eaecf0; vertical-align: top; white-space: pre-wrap;"><br/></td></tr>
<tr><td class="diff-marker"></td><td style="background-color: #f8f9fa; color: #202122; font-size: 88%; border-style: solid; border-width: 1px 1px 1px 4px; border-radius: 0.33em; border-color: #eaecf0; vertical-align: top; white-space: pre-wrap;"><div>The WC3 codec is a computationally simple video codec that is designed to compress frames of RGB video data at a nominal resolution of 320x165 pixels. The coding method embodies both intraframes (keyframes) and interframes. The algorithm relies on variations of run-length coding and textbook Huffman coding. For interframe compression, the algorithm uses run-based motion compensation. This varies from usual MC methods which are block-based.</div></td><td class="diff-marker"></td><td style="background-color: #f8f9fa; color: #202122; font-size: 88%; border-style: solid; border-width: 1px 1px 1px 4px; border-radius: 0.33em; border-color: #eaecf0; vertical-align: top; white-space: pre-wrap;"><div>The WC3 codec is a computationally simple video codec that is designed to compress frames of RGB video data at a nominal resolution of 320x165 pixels. The coding method embodies both intraframes (keyframes) and interframes. The algorithm relies on variations of run-length coding and textbook Huffman coding. For interframe compression, the algorithm uses run-based motion compensation. This varies from usual MC methods which are block-based.</div></td></tr>
<tr><td colspan="2" class="diff-side-deleted"></td><td class="diff-marker" data-marker="+"></td><td style="color: #202122; font-size: 88%; border-style: solid; border-width: 1px 1px 1px 4px; border-radius: 0.33em; border-color: #a3d3ff; vertical-align: top; white-space: pre-wrap;"><div><ins style="font-weight: bold; text-decoration: none;"></ins></div></td></tr>
<tr><td colspan="2" class="diff-side-deleted"></td><td class="diff-marker" data-marker="+"></td><td style="color: #202122; font-size: 88%; border-style: solid; border-width: 1px 1px 1px 4px; border-radius: 0.33em; border-color: #a3d3ff; vertical-align: top; white-space: pre-wrap;"><div><ins style="font-weight: bold; text-decoration: none;">Wing Commander IV switched to a different video codec, the [[Origin Xan Codec]].</ins></div></td></tr>
<tr><td class="diff-marker"></td><td style="background-color: #f8f9fa; color: #202122; font-size: 88%; border-style: solid; border-width: 1px 1px 1px 4px; border-radius: 0.33em; border-color: #eaecf0; vertical-align: top; white-space: pre-wrap;"><br/></td><td class="diff-marker"></td><td style="background-color: #f8f9fa; color: #202122; font-size: 88%; border-style: solid; border-width: 1px 1px 1px 4px; border-radius: 0.33em; border-color: #eaecf0; vertical-align: top; white-space: pre-wrap;"><br/></td></tr>
<tr><td class="diff-marker"></td><td style="background-color: #f8f9fa; color: #202122; font-size: 88%; border-style: solid; border-width: 1px 1px 1px 4px; border-radius: 0.33em; border-color: #eaecf0; vertical-align: top; white-space: pre-wrap;"><div>== Unpacking Algorithm ==</div></td><td class="diff-marker"></td><td style="background-color: #f8f9fa; color: #202122; font-size: 88%; border-style: solid; border-width: 1px 1px 1px 4px; border-radius: 0.33em; border-color: #eaecf0; vertical-align: top; white-space: pre-wrap;"><div>== Unpacking Algorithm ==</div></td></tr>
</table>DonDiegohttps://wiki.multimedia.cx/index.php?title=Wing_Commander_III_MVE_Video_Codec&diff=2840&oldid=prevMultimedia Mike: sample link2006-03-15T05:53:50Z<p>sample link</p>
<table style="background-color: #fff; color: #202122;" data-mw="interface">
<col class="diff-marker" />
<col class="diff-content" />
<col class="diff-marker" />
<col class="diff-content" />
<tr class="diff-title" lang="en">
<td colspan="2" style="background-color: #fff; color: #202122; text-align: center;">← Older revision</td>
<td colspan="2" style="background-color: #fff; color: #202122; text-align: center;">Revision as of 22:53, 14 March 2006</td>
</tr><tr><td colspan="2" class="diff-lineno" id="mw-diff-left-l1">Line 1:</td>
<td colspan="2" class="diff-lineno">Line 1:</td></tr>
<tr><td class="diff-marker"></td><td style="background-color: #f8f9fa; color: #202122; font-size: 88%; border-style: solid; border-width: 1px 1px 1px 4px; border-radius: 0.33em; border-color: #eaecf0; vertical-align: top; white-space: pre-wrap;"><div>''This document is based on the document 'Description Of The Origin [[Origin Xan Codec|Xan]] Video Codec' by Mike Melanson and Mario Brito found at [http://multimedia.cx/xan-format.txt http://multimedia.cx/xan-format.txt].''</div></td><td class="diff-marker"></td><td style="background-color: #f8f9fa; color: #202122; font-size: 88%; border-style: solid; border-width: 1px 1px 1px 4px; border-radius: 0.33em; border-color: #eaecf0; vertical-align: top; white-space: pre-wrap;"><div>''This document is based on the document 'Description Of The Origin [[Origin Xan Codec|Xan]] Video Codec' by Mike Melanson and Mario Brito found at [http://multimedia.cx/xan-format.txt http://multimedia.cx/xan-format.txt].''</div></td></tr>
<tr><td class="diff-marker"></td><td style="background-color: #f8f9fa; color: #202122; font-size: 88%; border-style: solid; border-width: 1px 1px 1px 4px; border-radius: 0.33em; border-color: #eaecf0; vertical-align: top; white-space: pre-wrap;"><br/></td><td class="diff-marker"></td><td style="background-color: #f8f9fa; color: #202122; font-size: 88%; border-style: solid; border-width: 1px 1px 1px 4px; border-radius: 0.33em; border-color: #eaecf0; vertical-align: top; white-space: pre-wrap;"><br/></td></tr>
<tr><td class="diff-marker" data-marker="−"></td><td style="color: #202122; font-size: 88%; border-style: solid; border-width: 1px 1px 1px 4px; border-radius: 0.33em; border-color: #ffe49c; vertical-align: top; white-space: pre-wrap;"><div><del style="font-weight: bold; text-decoration: none;">In 1994, </del>[[Origin Systems<del style="font-weight: bold; text-decoration: none;">|Origin</del>]] published the third installment of their popular Wing Commander space flight combat simulation games, [http://www.mobygames.com/game/dos/wing-commander-iii-heart-of-the-tiger Wing Commander III: Heart of the Tiger]. The game is distributed as 4 CD-ROMs and the underlying story was driven by a lot of full motion video (FMV). The FMV is transported in a [[Wing Commander III MVE|custom file format with the extension mve]] (see the references for more information on this format). The video data in these files is compressed with a custom, unidentified video codec (referred to here as the WC3 codec).</div></td><td class="diff-marker" data-marker="+"></td><td style="color: #202122; font-size: 88%; border-style: solid; border-width: 1px 1px 1px 4px; border-radius: 0.33em; border-color: #a3d3ff; vertical-align: top; white-space: pre-wrap;"><div><ins style="font-weight: bold; text-decoration: none;">* Company: </ins>[[Origin Systems]]</div></td></tr>
<tr><td colspan="2" class="diff-side-deleted"></td><td class="diff-marker" data-marker="+"></td><td style="color: #202122; font-size: 88%; border-style: solid; border-width: 1px 1px 1px 4px; border-radius: 0.33em; border-color: #a3d3ff; vertical-align: top; white-space: pre-wrap;"><div><ins style="font-weight: bold; text-decoration: none;">* Samples: [http://www.mplayerhq.hu/MPlayer/samples/game-formats/wc3-mve/ http://www.mplayerhq.hu/MPlayer/samples/game-formats/wc3-mve/]</ins></div></td></tr>
<tr><td colspan="2" class="diff-side-deleted"></td><td class="diff-marker" data-marker="+"></td><td style="color: #202122; font-size: 88%; border-style: solid; border-width: 1px 1px 1px 4px; border-radius: 0.33em; border-color: #a3d3ff; vertical-align: top; white-space: pre-wrap;"><div> </div></td></tr>
<tr><td colspan="2" class="diff-side-deleted"></td><td class="diff-marker" data-marker="+"></td><td style="color: #202122; font-size: 88%; border-style: solid; border-width: 1px 1px 1px 4px; border-radius: 0.33em; border-color: #a3d3ff; vertical-align: top; white-space: pre-wrap;"><div><ins style="font-weight: bold; text-decoration: none;">In 1994, Origin </ins>published the third installment of their popular Wing Commander space flight combat simulation games, [http://www.mobygames.com/game/dos/wing-commander-iii-heart-of-the-tiger Wing Commander III: Heart of the Tiger]. The game is distributed as 4 CD-ROMs and the underlying story was driven by a lot of full motion video (FMV). The FMV is transported in a [[Wing Commander III MVE|custom file format with the extension mve]] (see the references for more information on this format). The video data in these files is compressed with a custom, unidentified video codec (referred to here as the WC3 codec).</div></td></tr>
<tr><td class="diff-marker"></td><td style="background-color: #f8f9fa; color: #202122; font-size: 88%; border-style: solid; border-width: 1px 1px 1px 4px; border-radius: 0.33em; border-color: #eaecf0; vertical-align: top; white-space: pre-wrap;"><br/></td><td class="diff-marker"></td><td style="background-color: #f8f9fa; color: #202122; font-size: 88%; border-style: solid; border-width: 1px 1px 1px 4px; border-radius: 0.33em; border-color: #eaecf0; vertical-align: top; white-space: pre-wrap;"><br/></td></tr>
<tr><td class="diff-marker"></td><td style="background-color: #f8f9fa; color: #202122; font-size: 88%; border-style: solid; border-width: 1px 1px 1px 4px; border-radius: 0.33em; border-color: #eaecf0; vertical-align: top; white-space: pre-wrap;"><div>The WC3 codec is a computationally simple video codec that is designed to compress frames of RGB video data at a nominal resolution of 320x165 pixels. The coding method embodies both intraframes (keyframes) and interframes. The algorithm relies on variations of run-length coding and textbook Huffman coding. For interframe compression, the algorithm uses run-based motion compensation. This varies from usual MC methods which are block-based.</div></td><td class="diff-marker"></td><td style="background-color: #f8f9fa; color: #202122; font-size: 88%; border-style: solid; border-width: 1px 1px 1px 4px; border-radius: 0.33em; border-color: #eaecf0; vertical-align: top; white-space: pre-wrap;"><div>The WC3 codec is a computationally simple video codec that is designed to compress frames of RGB video data at a nominal resolution of 320x165 pixels. The coding method embodies both intraframes (keyframes) and interframes. The algorithm relies on variations of run-length coding and textbook Huffman coding. For interframe compression, the algorithm uses run-based motion compensation. This varies from usual MC methods which are block-based.</div></td></tr>
</table>Multimedia Mikehttps://wiki.multimedia.cx/index.php?title=Wing_Commander_III_MVE_Video_Codec&diff=1939&oldid=prevDonDiego: wikify2006-02-01T01:35:35Z<p>wikify</p>
<table style="background-color: #fff; color: #202122;" data-mw="interface">
<col class="diff-marker" />
<col class="diff-content" />
<col class="diff-marker" />
<col class="diff-content" />
<tr class="diff-title" lang="en">
<td colspan="2" style="background-color: #fff; color: #202122; text-align: center;">← Older revision</td>
<td colspan="2" style="background-color: #fff; color: #202122; text-align: center;">Revision as of 18:35, 31 January 2006</td>
</tr><tr><td colspan="2" class="diff-lineno" id="mw-diff-left-l1">Line 1:</td>
<td colspan="2" class="diff-lineno">Line 1:</td></tr>
<tr><td class="diff-marker" data-marker="−"></td><td style="color: #202122; font-size: 88%; border-style: solid; border-width: 1px 1px 1px 4px; border-radius: 0.33em; border-color: #ffe49c; vertical-align: top; white-space: pre-wrap;"><div>''This document is based on the document 'Description Of The Origin Xan Video Codec' by Mike Melanson and Mario Brito found at [http://multimedia.cx/xan-format.txt http://multimedia.cx/xan-format.txt].''</div></td><td class="diff-marker" data-marker="+"></td><td style="color: #202122; font-size: 88%; border-style: solid; border-width: 1px 1px 1px 4px; border-radius: 0.33em; border-color: #a3d3ff; vertical-align: top; white-space: pre-wrap;"><div>''This document is based on the document 'Description Of The <ins style="font-weight: bold; text-decoration: none;">Origin [[</ins>Origin Xan <ins style="font-weight: bold; text-decoration: none;">Codec|Xan]] </ins>Video Codec' by Mike Melanson and Mario Brito found at [http://multimedia.cx/xan-format.txt http://multimedia.cx/xan-format.txt].''</div></td></tr>
<tr><td class="diff-marker"></td><td style="background-color: #f8f9fa; color: #202122; font-size: 88%; border-style: solid; border-width: 1px 1px 1px 4px; border-radius: 0.33em; border-color: #eaecf0; vertical-align: top; white-space: pre-wrap;"><br/></td><td class="diff-marker"></td><td style="background-color: #f8f9fa; color: #202122; font-size: 88%; border-style: solid; border-width: 1px 1px 1px 4px; border-radius: 0.33em; border-color: #eaecf0; vertical-align: top; white-space: pre-wrap;"><br/></td></tr>
<tr><td class="diff-marker" data-marker="−"></td><td style="color: #202122; font-size: 88%; border-style: solid; border-width: 1px 1px 1px 4px; border-radius: 0.33em; border-color: #ffe49c; vertical-align: top; white-space: pre-wrap;"><div>In 1994, Origin published the third installment of their popular Wing Commander space flight combat simulation games, [http://www.mobygames.com/game/dos/wing-commander-iii-heart-of-the-tiger Wing Commander III: Heart of the Tiger]. The game is distributed as 4 CD-ROMs and the underlying story was driven by a lot of full motion video (FMV). The FMV is transported in a [[Wing Commander III MVE|custom file format with the extension mve]] (see the references for more information on this format). The video data in these files is compressed with a custom, unidentified video codec (referred to here as the WC3 codec).</div></td><td class="diff-marker" data-marker="+"></td><td style="color: #202122; font-size: 88%; border-style: solid; border-width: 1px 1px 1px 4px; border-radius: 0.33em; border-color: #a3d3ff; vertical-align: top; white-space: pre-wrap;"><div>In 1994, <ins style="font-weight: bold; text-decoration: none;">[[</ins>Origin <ins style="font-weight: bold; text-decoration: none;">Systems|Origin]] </ins>published the third installment of their popular Wing Commander space flight combat simulation games, [http://www.mobygames.com/game/dos/wing-commander-iii-heart-of-the-tiger Wing Commander III: Heart of the Tiger]. The game is distributed as 4 CD-ROMs and the underlying story was driven by a lot of full motion video (FMV). The FMV is transported in a [[Wing Commander III MVE|custom file format with the extension mve]] (see the references for more information on this format). The video data in these files is compressed with a custom, unidentified video codec (referred to here as the WC3 codec).</div></td></tr>
<tr><td class="diff-marker"></td><td style="background-color: #f8f9fa; color: #202122; font-size: 88%; border-style: solid; border-width: 1px 1px 1px 4px; border-radius: 0.33em; border-color: #eaecf0; vertical-align: top; white-space: pre-wrap;"><br/></td><td class="diff-marker"></td><td style="background-color: #f8f9fa; color: #202122; font-size: 88%; border-style: solid; border-width: 1px 1px 1px 4px; border-radius: 0.33em; border-color: #eaecf0; vertical-align: top; white-space: pre-wrap;"><br/></td></tr>
<tr><td class="diff-marker"></td><td style="background-color: #f8f9fa; color: #202122; font-size: 88%; border-style: solid; border-width: 1px 1px 1px 4px; border-radius: 0.33em; border-color: #eaecf0; vertical-align: top; white-space: pre-wrap;"><div>The WC3 codec is a computationally simple video codec that is designed to compress frames of RGB video data at a nominal resolution of 320x165 pixels. The coding method embodies both intraframes (keyframes) and interframes. The algorithm relies on variations of run-length coding and textbook Huffman coding. For interframe compression, the algorithm uses run-based motion compensation. This varies from usual MC methods which are block-based.</div></td><td class="diff-marker"></td><td style="background-color: #f8f9fa; color: #202122; font-size: 88%; border-style: solid; border-width: 1px 1px 1px 4px; border-radius: 0.33em; border-color: #eaecf0; vertical-align: top; white-space: pre-wrap;"><div>The WC3 codec is a computationally simple video codec that is designed to compress frames of RGB video data at a nominal resolution of 320x165 pixels. The coding method embodies both intraframes (keyframes) and interframes. The algorithm relies on variations of run-length coding and textbook Huffman coding. For interframe compression, the algorithm uses run-based motion compensation. This varies from usual MC methods which are block-based.</div></td></tr>
</table>DonDiegohttps://wiki.multimedia.cx/index.php?title=Wing_Commander_III_MVE_Video_Codec&diff=1620&oldid=prevTrixter at 07:03, 18 January 20062006-01-18T07:03:54Z<p></p>
<table style="background-color: #fff; color: #202122;" data-mw="interface">
<col class="diff-marker" />
<col class="diff-content" />
<col class="diff-marker" />
<col class="diff-content" />
<tr class="diff-title" lang="en">
<td colspan="2" style="background-color: #fff; color: #202122; text-align: center;">← Older revision</td>
<td colspan="2" style="background-color: #fff; color: #202122; text-align: center;">Revision as of 00:03, 18 January 2006</td>
</tr><tr><td colspan="2" class="diff-lineno" id="mw-diff-left-l121">Line 121:</td>
<td colspan="2" class="diff-lineno">Line 121:</td></tr>
<tr><td class="diff-marker"></td><td style="background-color: #f8f9fa; color: #202122; font-size: 88%; border-style: solid; border-width: 1px 1px 1px 4px; border-radius: 0.33em; border-color: #eaecf0; vertical-align: top; white-space: pre-wrap;"><br/></td><td class="diff-marker"></td><td style="background-color: #f8f9fa; color: #202122; font-size: 88%; border-style: solid; border-width: 1px 1px 1px 4px; border-radius: 0.33em; border-color: #eaecf0; vertical-align: top; white-space: pre-wrap;"><br/></td></tr>
<tr><td class="diff-marker"></td><td style="background-color: #f8f9fa; color: #202122; font-size: 88%; border-style: solid; border-width: 1px 1px 1px 4px; border-radius: 0.33em; border-color: #eaecf0; vertical-align: top; white-space: pre-wrap;"><div>Note that BE_16 means a 16-bit number in big endian format, and BE_24 means a 24-bit number in big endian format.</div></td><td class="diff-marker"></td><td style="background-color: #f8f9fa; color: #202122; font-size: 88%; border-style: solid; border-width: 1px 1px 1px 4px; border-radius: 0.33em; border-color: #eaecf0; vertical-align: top; white-space: pre-wrap;"><div>Note that BE_16 means a 16-bit number in big endian format, and BE_24 means a 24-bit number in big endian format.</div></td></tr>
<tr><td colspan="2" class="diff-side-deleted"></td><td class="diff-marker" data-marker="+"></td><td style="color: #202122; font-size: 88%; border-style: solid; border-width: 1px 1px 1px 4px; border-radius: 0.33em; border-color: #a3d3ff; vertical-align: top; white-space: pre-wrap;"><div><ins style="font-weight: bold; text-decoration: none;"></ins></div></td></tr>
<tr><td colspan="2" class="diff-side-deleted"></td><td class="diff-marker" data-marker="+"></td><td style="color: #202122; font-size: 88%; border-style: solid; border-width: 1px 1px 1px 4px; border-radius: 0.33em; border-color: #a3d3ff; vertical-align: top; white-space: pre-wrap;"><div><ins style="font-weight: bold; text-decoration: none;">== Codec Trivia ==</ins></div></td></tr>
<tr><td colspan="2" class="diff-side-deleted"></td><td class="diff-marker" data-marker="+"></td><td style="color: #202122; font-size: 88%; border-style: solid; border-width: 1px 1px 1px 4px; border-radius: 0.33em; border-color: #a3d3ff; vertical-align: top; white-space: pre-wrap;"><div><ins style="font-weight: bold; text-decoration: none;"></ins></div></td></tr>
<tr><td colspan="2" class="diff-side-deleted"></td><td class="diff-marker" data-marker="+"></td><td style="color: #202122; font-size: 88%; border-style: solid; border-width: 1px 1px 1px 4px; border-radius: 0.33em; border-color: #a3d3ff; vertical-align: top; white-space: pre-wrap;"><div><ins style="font-weight: bold; text-decoration: none;">Origin originally advertised a 486/33 and 2X (300KB/s) CDROM drive as the minimum requirements for playing the video. However, video playback functions perfectly on a 386/40 (about 20% slower than a 486/33) and, with few exceptions, plays just fine on a 1X (150KB/s) CDROM drive. This suggests that Origin was either being conservative with requirements in an effort to ward off anticipated tech support calls caused by flaky clones (a common occurance, unfortunately), or possibly had originally targeted 1X CDROM drives but had to go over the 150KB/s datarate in a few scenes due to low picture quality.</ins></div></td></tr>
<tr><td colspan="2" class="diff-side-deleted"></td><td class="diff-marker" data-marker="+"></td><td style="color: #202122; font-size: 88%; border-style: solid; border-width: 1px 1px 1px 4px; border-radius: 0.33em; border-color: #a3d3ff; vertical-align: top; white-space: pre-wrap;"><div><ins style="font-weight: bold; text-decoration: none;"></ins></div></td></tr>
<tr><td colspan="2" class="diff-side-deleted"></td><td class="diff-marker" data-marker="+"></td><td style="color: #202122; font-size: 88%; border-style: solid; border-width: 1px 1px 1px 4px; border-radius: 0.33em; border-color: #a3d3ff; vertical-align: top; white-space: pre-wrap;"><div><ins style="font-weight: bold; text-decoration: none;">(For the curious, the scenes that don't quite make the 1X datarate cut are scenes where more than 30% of the scene is changing in every frame, such as the spaceflight sequences in the introduction, or scenes that take place in the hanger.)</ins></div></td></tr>
<tr><td class="diff-marker"></td><td style="background-color: #f8f9fa; color: #202122; font-size: 88%; border-style: solid; border-width: 1px 1px 1px 4px; border-radius: 0.33em; border-color: #eaecf0; vertical-align: top; white-space: pre-wrap;"><br/></td><td class="diff-marker"></td><td style="background-color: #f8f9fa; color: #202122; font-size: 88%; border-style: solid; border-width: 1px 1px 1px 4px; border-radius: 0.33em; border-color: #eaecf0; vertical-align: top; white-space: pre-wrap;"><br/></td></tr>
<tr><td class="diff-marker"></td><td style="background-color: #f8f9fa; color: #202122; font-size: 88%; border-style: solid; border-width: 1px 1px 1px 4px; border-radius: 0.33em; border-color: #eaecf0; vertical-align: top; white-space: pre-wrap;"><div>[[Category:Video Codecs]]</div></td><td class="diff-marker"></td><td style="background-color: #f8f9fa; color: #202122; font-size: 88%; border-style: solid; border-width: 1px 1px 1px 4px; border-radius: 0.33em; border-color: #eaecf0; vertical-align: top; white-space: pre-wrap;"><div>[[Category:Video Codecs]]</div></td></tr>
<tr><td class="diff-marker"></td><td style="background-color: #f8f9fa; color: #202122; font-size: 88%; border-style: solid; border-width: 1px 1px 1px 4px; border-radius: 0.33em; border-color: #eaecf0; vertical-align: top; white-space: pre-wrap;"><div>[[Category:Game Formats]]</div></td><td class="diff-marker"></td><td style="background-color: #f8f9fa; color: #202122; font-size: 88%; border-style: solid; border-width: 1px 1px 1px 4px; border-radius: 0.33em; border-color: #eaecf0; vertical-align: top; white-space: pre-wrap;"><div>[[Category:Game Formats]]</div></td></tr>
</table>Trixterhttps://wiki.multimedia.cx/index.php?title=Wing_Commander_III_MVE_Video_Codec&diff=1612&oldid=prevMultimedia Mike: cite the correct document name2006-01-18T05:04:49Z<p>cite the correct document name</p>
<table style="background-color: #fff; color: #202122;" data-mw="interface">
<col class="diff-marker" />
<col class="diff-content" />
<col class="diff-marker" />
<col class="diff-content" />
<tr class="diff-title" lang="en">
<td colspan="2" style="background-color: #fff; color: #202122; text-align: center;">← Older revision</td>
<td colspan="2" style="background-color: #fff; color: #202122; text-align: center;">Revision as of 22:04, 17 January 2006</td>
</tr><tr><td colspan="2" class="diff-lineno" id="mw-diff-left-l1">Line 1:</td>
<td colspan="2" class="diff-lineno">Line 1:</td></tr>
<tr><td class="diff-marker" data-marker="−"></td><td style="color: #202122; font-size: 88%; border-style: solid; border-width: 1px 1px 1px 4px; border-radius: 0.33em; border-color: #ffe49c; vertical-align: top; white-space: pre-wrap;"><div>''This document is based on the document 'Description <del style="font-weight: bold; text-decoration: none;">of the Wing Commander III MVE Movie File Format</del>' by Mike Melanson and Mario Brito found at [http://multimedia.cx/xan-format.txt http://multimedia.cx/xan-format.txt].''</div></td><td class="diff-marker" data-marker="+"></td><td style="color: #202122; font-size: 88%; border-style: solid; border-width: 1px 1px 1px 4px; border-radius: 0.33em; border-color: #a3d3ff; vertical-align: top; white-space: pre-wrap;"><div>''This document is based on the document 'Description <ins style="font-weight: bold; text-decoration: none;">Of The Origin Xan Video Codec</ins>' by Mike Melanson and Mario Brito found at [http://multimedia.cx/xan-format.txt http://multimedia.cx/xan-format.txt].''</div></td></tr>
<tr><td class="diff-marker"></td><td style="background-color: #f8f9fa; color: #202122; font-size: 88%; border-style: solid; border-width: 1px 1px 1px 4px; border-radius: 0.33em; border-color: #eaecf0; vertical-align: top; white-space: pre-wrap;"><br/></td><td class="diff-marker"></td><td style="background-color: #f8f9fa; color: #202122; font-size: 88%; border-style: solid; border-width: 1px 1px 1px 4px; border-radius: 0.33em; border-color: #eaecf0; vertical-align: top; white-space: pre-wrap;"><br/></td></tr>
<tr><td class="diff-marker"></td><td style="background-color: #f8f9fa; color: #202122; font-size: 88%; border-style: solid; border-width: 1px 1px 1px 4px; border-radius: 0.33em; border-color: #eaecf0; vertical-align: top; white-space: pre-wrap;"><div>In 1994, Origin published the third installment of their popular Wing Commander space flight combat simulation games, [http://www.mobygames.com/game/dos/wing-commander-iii-heart-of-the-tiger Wing Commander III: Heart of the Tiger]. The game is distributed as 4 CD-ROMs and the underlying story was driven by a lot of full motion video (FMV). The FMV is transported in a [[Wing Commander III MVE|custom file format with the extension mve]] (see the references for more information on this format). The video data in these files is compressed with a custom, unidentified video codec (referred to here as the WC3 codec).</div></td><td class="diff-marker"></td><td style="background-color: #f8f9fa; color: #202122; font-size: 88%; border-style: solid; border-width: 1px 1px 1px 4px; border-radius: 0.33em; border-color: #eaecf0; vertical-align: top; white-space: pre-wrap;"><div>In 1994, Origin published the third installment of their popular Wing Commander space flight combat simulation games, [http://www.mobygames.com/game/dos/wing-commander-iii-heart-of-the-tiger Wing Commander III: Heart of the Tiger]. The game is distributed as 4 CD-ROMs and the underlying story was driven by a lot of full motion video (FMV). The FMV is transported in a [[Wing Commander III MVE|custom file format with the extension mve]] (see the references for more information on this format). The video data in these files is compressed with a custom, unidentified video codec (referred to here as the WC3 codec).</div></td></tr>
</table>Multimedia Mikehttps://wiki.multimedia.cx/index.php?title=Wing_Commander_III_MVE_Video_Codec&diff=1611&oldid=prevMultimedia Mike at 04:48, 18 January 20062006-01-18T04:48:52Z<p></p>
<p><b>New page</b></p><div>''This document is based on the document 'Description of the Wing Commander III MVE Movie File Format' by Mike Melanson and Mario Brito found at [http://multimedia.cx/xan-format.txt http://multimedia.cx/xan-format.txt].''<br />
<br />
In 1994, Origin published the third installment of their popular Wing Commander space flight combat simulation games, [http://www.mobygames.com/game/dos/wing-commander-iii-heart-of-the-tiger Wing Commander III: Heart of the Tiger]. The game is distributed as 4 CD-ROMs and the underlying story was driven by a lot of full motion video (FMV). The FMV is transported in a [[Wing Commander III MVE|custom file format with the extension mve]] (see the references for more information on this format). The video data in these files is compressed with a custom, unidentified video codec (referred to here as the WC3 codec).<br />
<br />
The WC3 codec is a computationally simple video codec that is designed to compress frames of RGB video data at a nominal resolution of 320x165 pixels. The coding method embodies both intraframes (keyframes) and interframes. The algorithm relies on variations of run-length coding and textbook Huffman coding. For interframe compression, the algorithm uses run-based motion compensation. This varies from usual MC methods which are block-based.<br />
<br />
== Unpacking Algorithm ==<br />
<br />
The WC3 video codec relies on the following bytewise unpacking algorithm taking an output buffer and an input buffer:<br />
<br />
wc3_unpack(unsigned char *dest, unsigned char *src):<br />
x = next byte<br />
if bit 7 of x is 0:<br />
offset = next byte<br />
/* x: 0aabbbcc */<br />
size = bottom 2 bits of x (0..3) (this represents bits 'cc')<br />
bytecopy size bytes from src to dest<br />
size = (x & 0x1C) >> 2 + 3 (this represents bits 'bbb')<br />
bytecopy size bytes from current pos - ((x & 0x60) << 3) + offset + 1<br />
else if bit 6 of x is 0:<br />
fetch next byte from stream as byte1<br />
fetch next byte from stream as byte2<br />
size = top 2 bits of byte1 (0..3)<br />
bytecopy size bytes from src to dest<br />
size = bottom 6 bits of x + 4 (range: 4..67)<br />
bytecopy size bytes from dest - ((byte1 & 0x3F) << 8) + byte2 + 1<br />
else if bit 5 of x is 0:<br />
fetch next byte from stream as byte1<br />
fetch next byte from stream as byte2<br />
fetch next byte from stream as byte3<br />
size = bottom 2 bits of x (0..3)<br />
bytecopy size bytes from src to dest<br />
size = byte3 + 5 + ((x & 0xC) << 6);<br />
bytecopy (dest,<br />
dest - ((((x & 0x10) >> 4) << 0x10) + 1 + (byte1 << 8) + byte2),<br />
size);<br />
else (this means one of the top 3 bits was 1)<br />
size = (x & 0x1F) * 4 + 4<br />
if size > 0x70<br />
break<br />
copy size bytes from src to dest<br />
<br />
This process is repeated in a loop until the break in the else case. On the way out, copy (x & 3) bytes from src to dest. <br />
<br />
An important note about the preceding pseudocode description: When the code says that a 'bytecopy' operation is to be performed from buffer a to buffer b, neither a memcpy nor a memmove call will do. The reason is that the bytecopy function is often used to copy between overlapping memory regions. It is not uncommon for dest to equal (src + 1). This has the net effect of turning 'A' into 'AAAAAA...". This function was originally implemented on x86 microprocessors as a 'repz stosb' instruction, which means to store a string by byte repeatedly.<br />
<br />
== WC3 Codec Format ==<br />
<br />
The [[Wing Commander III MVE]] file format packages sequences of video and audio frames together marked by SHOT chunks. Each SHOT chunk has a 768-byte RGB palette specified in the file header. The file demuxer must make the appropriate palette available to the video decoder when a new SHOT begins.<br />
<br />
A chunk of WC3 Xan data is formatted as follows:<br />
<br />
header | segment 1 | segment 2 | segment 3 | segment 4<br />
<br />
The header contains offsets to each of the segments within the chunk:<br />
* Segment 1 contains Huffman-coded image compression codes. <br />
* Segment 2 contains auxiliary size information. <br />
* Segment 3 contains interframe motion vectors. <br />
* Segment 4 contains raw or compressed palettized video data.<br />
<br />
The chunk header is always 8 bytes long. The on-disk data format for a chunk header is:<br />
<br />
bytes 0-1 absolute offset of segment 1 within chunk (always offset 8)<br />
bytes 2-3 absolute offset of segment 2 within chunk<br />
bytes 4-5 absolute offset of segment 3 within chunk<br />
bytes 6-7 absolute offset of segment 4 within chunk<br />
<br />
All of the 16-bit segment offsets are stored in little endian byte order. Note that the offset of segment 3 within an intracoded chunk (keyframe) ought to be 0x0000 as there are no motion vectors for an intraframe.<br />
<br />
The first step in decoding a frame involves decoding the Huffman codes in segment 1 in order to decode the compression codes. The segment is laid out as follows:<br />
<br />
byte 0 number of values in the Huffman tree (should be 22)<br />
bytes 1..44 Huffman tree table<br />
bytes 45.. Huffman-coded data.<br />
<br />
There are 22 values in the Huffman tree since there are 22 possible compression codes (0..21) used to assemble the final output frame. Actually, there is one more value found in the table (22) that signals<br />
the end of the Huffman stream. The root of the Huffman tree is at the last byte of the table. Bits in the bytes of the Huffman-coded bits are coded right-to-left.<br />
<br />
Assumng the Huffman tree table is stored in huff[44] where the bytes are indexed 0..43, and the root node is at index 43. The decoding algorithm is:<br />
<br />
while (value @ current node index != 22)<br />
if the next bit in the coded stream is 0<br />
move current node index to (current node index - 22)<br />
else<br />
move current node index to (current node index - 1)<br />
if (value < 22)<br />
decompression code found, place in output buffer and reset the<br />
current index to the root node<br />
<br />
After decoding the compression codes, check the first byte of segment 2 to see if the raw pixel data needs to be decoded. If the first byte equals 0x02, pass the remainder of the buffer through the wc3_unpack function. Otherwise, use the data from the second byte forward as the pixel data.<br />
<br />
The final step builds the frame and uses data from all 4 segments. The algorithm operates as follows (assuming a palettized output buffer that is width * height bytes in size):<br />
<br />
flag = 0<br />
index = 0<br />
while index < frame size (width * height):<br />
x = next compression code in segment 1<br />
size = 0<br />
if x is 0, toggle flag and goto next iteration<br />
if x is 1..8, size = x<br />
if x is 12..18, size += (x - 10) (net effect: add 2..8)<br />
if x if 9 or 19, size = next byte in segment 2<br />
if x is 10 or 20, size = the next BE_16 number in segment 2<br />
if x is 11 or 21, size = the next BE_24 number in segment 2<br />
if x < 12:<br />
toggle flag<br />
if flag is 1, run is unchanged from previous frame:<br />
for each count in size, copy pixel from same index in previous<br />
frame<br />
else /* flag is 0 */:<br />
for each count in size, copy the next pixel in segment 4 to the<br />
output<br />
else:<br />
motion byte = next byte in segment 3<br />
x = top nibble of motion byte<br />
y = bottom nibble of motion byte<br />
sign-extend the nibbles in x and y<br />
copy size bytes from the position referenced by (x, y) in the<br />
previous frame to the current frame<br />
reset flag<br />
<br />
Note that BE_16 means a 16-bit number in big endian format, and BE_24 means a 24-bit number in big endian format.<br />
<br />
[[Category:Video Codecs]]<br />
[[Category:Game Formats]]</div>Multimedia Mike