<?xml version="1.0"?>
<feed xmlns="http://www.w3.org/2005/Atom" xml:lang="en">
	<id>https://wiki.multimedia.cx/index.php?action=history&amp;feed=atom&amp;title=PH_Video</id>
	<title>PH Video - Revision history</title>
	<link rel="self" type="application/atom+xml" href="https://wiki.multimedia.cx/index.php?action=history&amp;feed=atom&amp;title=PH_Video"/>
	<link rel="alternate" type="text/html" href="https://wiki.multimedia.cx/index.php?title=PH_Video&amp;action=history"/>
	<updated>2026-06-17T08:15:05Z</updated>
	<subtitle>Revision history for this page on the wiki</subtitle>
	<generator>MediaWiki 1.39.5</generator>
	<entry>
		<id>https://wiki.multimedia.cx/index.php?title=PH_Video&amp;diff=16004&amp;oldid=prev</id>
		<title>Sembiance: samples</title>
		<link rel="alternate" type="text/html" href="https://wiki.multimedia.cx/index.php?title=PH_Video&amp;diff=16004&amp;oldid=prev"/>
		<updated>2025-05-14T15:04:05Z</updated>

		<summary type="html">&lt;p&gt;samples&lt;/p&gt;
&lt;table style=&quot;background-color: #fff; color: #202122;&quot; data-mw=&quot;interface&quot;&gt;
				&lt;col class=&quot;diff-marker&quot; /&gt;
				&lt;col class=&quot;diff-content&quot; /&gt;
				&lt;col class=&quot;diff-marker&quot; /&gt;
				&lt;col class=&quot;diff-content&quot; /&gt;
				&lt;tr class=&quot;diff-title&quot; lang=&quot;en&quot;&gt;
				&lt;td colspan=&quot;2&quot; style=&quot;background-color: #fff; color: #202122; text-align: center;&quot;&gt;← Older revision&lt;/td&gt;
				&lt;td colspan=&quot;2&quot; style=&quot;background-color: #fff; color: #202122; text-align: center;&quot;&gt;Revision as of 08:04, 14 May 2025&lt;/td&gt;
				&lt;/tr&gt;&lt;tr&gt;&lt;td colspan=&quot;2&quot; class=&quot;diff-lineno&quot; id=&quot;mw-diff-left-l1&quot;&gt;Line 1:&lt;/td&gt;
&lt;td colspan=&quot;2&quot; class=&quot;diff-lineno&quot;&gt;Line 1:&lt;/td&gt;&lt;/tr&gt;
&lt;tr&gt;&lt;td class=&quot;diff-marker&quot;&gt;&lt;/td&gt;&lt;td style=&quot;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;&quot;&gt;&lt;div&gt;* Company: Total Multimedia&lt;/div&gt;&lt;/td&gt;&lt;td class=&quot;diff-marker&quot;&gt;&lt;/td&gt;&lt;td style=&quot;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;&quot;&gt;&lt;div&gt;* Company: Total Multimedia&lt;/div&gt;&lt;/td&gt;&lt;/tr&gt;
&lt;tr&gt;&lt;td class=&quot;diff-marker&quot;&gt;&lt;/td&gt;&lt;td style=&quot;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;&quot;&gt;&lt;div&gt;* Extension: ph&lt;/div&gt;&lt;/td&gt;&lt;td class=&quot;diff-marker&quot;&gt;&lt;/td&gt;&lt;td style=&quot;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;&quot;&gt;&lt;div&gt;* Extension: ph&lt;/div&gt;&lt;/td&gt;&lt;/tr&gt;
&lt;tr&gt;&lt;td colspan=&quot;2&quot; class=&quot;diff-side-deleted&quot;&gt;&lt;/td&gt;&lt;td class=&quot;diff-marker&quot; data-marker=&quot;+&quot;&gt;&lt;/td&gt;&lt;td style=&quot;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;&quot;&gt;&lt;div&gt;&lt;ins style=&quot;font-weight: bold; text-decoration: none;&quot;&gt;* Samples: {{DexvertSamples|video/phVideo}}&lt;/ins&gt;&lt;/div&gt;&lt;/td&gt;&lt;/tr&gt;
&lt;tr&gt;&lt;td class=&quot;diff-marker&quot;&gt;&lt;/td&gt;&lt;td style=&quot;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;&quot;&gt;&lt;br/&gt;&lt;/td&gt;&lt;td class=&quot;diff-marker&quot;&gt;&lt;/td&gt;&lt;td style=&quot;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;&quot;&gt;&lt;br/&gt;&lt;/td&gt;&lt;/tr&gt;
&lt;tr&gt;&lt;td class=&quot;diff-marker&quot;&gt;&lt;/td&gt;&lt;td style=&quot;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;&quot;&gt;&lt;div&gt;This is a video format used in some interactive encyclopedias.&lt;/div&gt;&lt;/td&gt;&lt;td class=&quot;diff-marker&quot;&gt;&lt;/td&gt;&lt;td style=&quot;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;&quot;&gt;&lt;div&gt;This is a video format used in some interactive encyclopedias.&lt;/div&gt;&lt;/td&gt;&lt;/tr&gt;
&lt;/table&gt;</summary>
		<author><name>Sembiance</name></author>
	</entry>
	<entry>
		<id>https://wiki.multimedia.cx/index.php?title=PH_Video&amp;diff=15804&amp;oldid=prev</id>
		<title>Kostya: fill format description</title>
		<link rel="alternate" type="text/html" href="https://wiki.multimedia.cx/index.php?title=PH_Video&amp;diff=15804&amp;oldid=prev"/>
		<updated>2024-09-17T16:46:05Z</updated>

		<summary type="html">&lt;p&gt;fill format description&lt;/p&gt;
&lt;p&gt;&lt;b&gt;New page&lt;/b&gt;&lt;/p&gt;&lt;div&gt;* Company: Total Multimedia&lt;br /&gt;
* Extension: ph&lt;br /&gt;
&lt;br /&gt;
This is a video format used in some interactive encyclopedias.&lt;br /&gt;
&lt;br /&gt;
The data is organised into chunks that are grouped together in large blocks.&lt;br /&gt;
&lt;br /&gt;
Large block header:&lt;br /&gt;
  2 bytes - &amp;quot;PH&amp;quot;&lt;br /&gt;
  4 bytes - previous block size&lt;br /&gt;
  4 bytes - current block size&lt;br /&gt;
  2 bytes - next block size (low bits)&lt;br /&gt;
  2 bytes - unknown (often 7)&lt;br /&gt;
  2 bytes - number of chunks in the block&lt;br /&gt;
&lt;br /&gt;
Chunks start with 16-bit chunk ID and 16-bit size. The following chunk IDs are known:&lt;br /&gt;
* &amp;lt;code&amp;gt;0x1010&amp;lt;/code&amp;gt; - sync information (32-bit frame number, 32-bit delay in tertias, unknown 32-bit value)&lt;br /&gt;
* &amp;lt;code&amp;gt;0xA0A8&amp;lt;/code&amp;gt;, &amp;lt;code&amp;gt;0xA016&amp;lt;/code&amp;gt;, &amp;lt;code&amp;gt;0xA024&amp;lt;/code&amp;gt;, &amp;lt;code&amp;gt;0xA032&amp;lt;/code&amp;gt;, &amp;lt;code&amp;gt;0xA044&amp;lt;/code&amp;gt; - audio chunks with 8/15/22.05/32/44.1 kHz monaural 8-bit audio&lt;br /&gt;
* &amp;lt;code&amp;gt;0xA1A8&amp;lt;/code&amp;gt;, &amp;lt;code&amp;gt;0xA116&amp;lt;/code&amp;gt;, &amp;lt;code&amp;gt;0xA124&amp;lt;/code&amp;gt;, &amp;lt;code&amp;gt;0xA132&amp;lt;/code&amp;gt;, &amp;lt;code&amp;gt;0xA144&amp;lt;/code&amp;gt; - audio chunks with 8/15/22.05/32/44.1 kHz stereo 8-bit audio&lt;br /&gt;
* &amp;lt;code&amp;gt;0xB0B2&amp;lt;/code&amp;gt; - VGA palette update (first two bytes signal the start and length of the update, there may be junk colour data)&lt;br /&gt;
* &amp;lt;code&amp;gt;0xB0B3&amp;lt;/code&amp;gt; - always empty chunk&lt;br /&gt;
* &amp;lt;code&amp;gt;0xC0C1&amp;lt;/code&amp;gt; - unknown old frame compression&lt;br /&gt;
* &amp;lt;code&amp;gt;0xC0C2&amp;lt;/code&amp;gt; - intra frame&lt;br /&gt;
* &amp;lt;code&amp;gt;0xC0C3&amp;lt;/code&amp;gt; - inter frame&lt;br /&gt;
&lt;br /&gt;
== Video coding ==&lt;br /&gt;
Frame header:&lt;br /&gt;
  2 bytes - unknown&lt;br /&gt;
  2 bytes - frame height&lt;br /&gt;
  2 bytes - frame width&lt;br /&gt;
  2 bytes - unknown&lt;br /&gt;
  2 bytes - unknown (inter only)&lt;br /&gt;
  N bytes - update map (inter only, 1 bit per 2x2 block)&lt;br /&gt;
&lt;br /&gt;
Video compression employs RLE with 4-bit run lengths packed into bytes and interspersed with other data. Decoding consists of reading a pair of opcodes first and processing them, reading additional data if needed. Low seven bits of opcode are used as a colour value, top bit signals it is a run and its length (minus one) should be retrieved - either by reading a byte and using its low nibble or by using high nibble from such previously read value.&lt;br /&gt;
&lt;br /&gt;
Additionally for inter frames the decoded data is used along with the update map to update previous frame (i.e. if the bit is set for a block then four bytes from the RLE-decoded data should be used to paint it, otherwise block is left unchanged). For intra data the decoded RLE data is new frame value.&lt;br /&gt;
&lt;br /&gt;
[[Category:Container Formats]]&lt;br /&gt;
[[Category:Video Codecs]]&lt;/div&gt;</summary>
		<author><name>Kostya</name></author>
	</entry>
</feed>