PSS Video: Difference between revisions

From XentaxWiki
Jump to navigation Jump to search
imported>Ikskoks
(Created page with "== PSS == * ''' Format Type ''': Movie <br> * ''' [http://en.wikipedia.org/wiki/Endianness Endian Order] ''': Little Endian <br> === Format Specifications === <div cl...")
 
imported>Ikskoks
 
(84 intermediate revisions by the same user not shown)
Line 1: Line 1:
== PSS ==  
== PSS ==  
* ''' Format Type ''':    Movie <br>  
* ''' Format Type ''':    Video <br>  
* ''' [http://en.wikipedia.org/wiki/Endianness Endian Order] ''': Little Endian <br>
* ''' [http://en.wikipedia.org/wiki/Endianness Endian Order] ''': Big Endian <br>




Line 8: Line 8:
<div class="toccolours mw-collapsible" id="mw-customcollapsible-myDivision" style="width:800px; overflow:auto;">
<div class="toccolours mw-collapsible" id="mw-customcollapsible-myDivision" style="width:800px; overflow:auto;">
<pre>
<pre>
// PS2 Video
// PSS file format
// PSS file format


// TODO
// big endian
 
// header (26 bytes)
4 bytes (uint32) - section ID  // 0x00 0x00 0x01 0xBA - pack_start_code
22 bytes - unknown
 
 
// ADS Audio stream = SpuStreamHeader + SpuStreamBody
// Note: Audio streams are optional
// Note: Audio structures are little endian
// Note: streams can be stored in different order
 
4 bytes (uint32) - section ID //  0x00 0x00 0x01 0xBD - private_stream_1 (audio data)
19 bytes - unknown
 
// SpuStreamHeader
4 bytes (char) - signature // "SShd"
4 bytes (uint32) - struct size // 24
4 bytes (uint32) - type // 0 - PCM 16bit big endian
                        // 1 - PCM 16bit little endian
                        // 2 - SPU2-ADPCM (VAG)
4 bytes (uint32) - sampling rate // e.g. 48000
4 bytes (uint32) - number of channels  // e.g. 2
4 bytes (uint32) - interleave size // has to be 512
4 bytes (uint32) - loop start block address
4 bytes (uint32) - loop end block sddress
 
// SpuStreamBody
4 bytes (char) - signature // "SSbd"
4 bytes (uint32) - size of audio data
x bytes - audio data
 
x bytes - data streams
 
x bytes - MPEG2 video stream
 
 
4 bytes (uint32) - padding ID?  // 0x00 0x00 0x01 0xBE
2 bytes (uint16) - unknown
x bytes - padding // 0xFF 0xFF 0xFF 0xFF...
 
4 bytes (uint32) - file end ID  // 0x00 0x00 0x01 0xB9 - MPEG_program_end_code
</pre>
</pre>
</div>
</div>
Line 20: Line 62:
=== Notes and Comments ===  
=== Notes and Comments ===  


* Standard PlayStation 2 movie file.
* Standard PlayStation 2 movie file format. It contains MPEG2 video data and PCM/ADPCM audio data.
* PSS extension stands for "'''P'''lay'''S'''tation '''S'''tream"
 
=== Games ===
List of games using this file format:
 
* Aliens Versus Predator: Extinction (PS2) (*.PSS)
* PK: Out of the Shadows (PS2) (*.PSS)
* Midnight Club II (PS2) (*.PSS)
* Many more...


=== Compatible Programs ===  
=== Compatible Programs ===  


* foobar2000 + vgmstream plugin (for playing audio only)
* [https://www.zophar.net/utilities/ps2util/pss-plex.html PSSPlex]
* [https://www.zophar.net/utilities/ps2util/pss-plex.html PSSPlex]
* [https://www.zophar.net/utilities/ps2util/pss-demux.html PSS Demux]
* [https://www.zophar.net/utilities/ps2util/pss-player.html PSS Player]
* pss2wav
* PSS Downsampling Tool
* RipPSS
* PS2 Movie Player
* Cube Media Player 2
* TMPGEnc
* [http://nickle.shimbe.net/Archives/psscut010.lzh PSS Cutter] (+ source code)
* [https://psx-core.ru/load/0-0-0-634-20 ps2str GUI]
=== See Also ===
* [https://web.archive.org/web/20020202165958/http://www.geocities.co.jp/Hollywood/4205/doc/PSS.html PSS file format (japaneese)]
===Gallery===
<gallery bordercolor="transparent" spacing="small" orientation="landscape">
ps2str_gui.png
pss_plex.png
</gallery>
<br/><br>
<br/><br>




[[Category:Complete Complete|PSS]]
[[Category:Complete Almost Done|PSS Video]]
[[Category:Platform PS2|PSS]]
[[Category:Platform PS2|PSS Video]]
[[Category:CE None|PSS]]
[[Category:CE None|PSS Video]]
[[Category:Format_Movie | Type: Movie]]
[[Category:Format_Video | Type: Video]]
[[Category:Extension_pss | Extension: pss]]
[[Category:Extension_pss | Extension: pss]]
[[Category:BMS_None | BMS: None]]
[[Category:BMS_None | BMS: None]]
[[Category:File Format]]

Latest revision as of 12:13, 20 December 2022

PSS


Format Specifications

// PS2 Video 
// PSS file format

// big endian

// header (26 bytes)
4 bytes (uint32) - section ID   // 0x00 0x00 0x01 0xBA - pack_start_code
22 bytes - unknown


// ADS Audio stream = SpuStreamHeader + SpuStreamBody
// Note: Audio streams are optional
// Note: Audio structures are little endian
// Note: streams can be stored in different order

4 bytes (uint32) - section ID //  0x00 0x00 0x01 0xBD - private_stream_1 (audio data)
19 bytes - unknown

// SpuStreamHeader
4 bytes (char) - signature // "SShd"
4 bytes (uint32) - struct size // 24
4 bytes (uint32) - type // 0 - PCM 16bit big endian
                        // 1 - PCM 16bit little endian
                        // 2 - SPU2-ADPCM (VAG) 
4 bytes (uint32) - sampling rate // e.g. 48000
4 bytes (uint32) - number of channels  // e.g. 2
4 bytes (uint32) - interleave size // has to be 512
4 bytes (uint32) - loop start block address
4 bytes (uint32) - loop end block sddress

// SpuStreamBody
4 bytes (char) - signature // "SSbd"
4 bytes (uint32) - size of audio data
x bytes - audio data

x bytes - data streams

x bytes - MPEG2 video stream


4 bytes (uint32) - padding ID?  // 0x00 0x00 0x01 0xBE
2 bytes (uint16) - unknown
x bytes - padding // 0xFF 0xFF 0xFF 0xFF...

4 bytes (uint32) - file end ID  // 0x00 0x00 0x01 0xB9 - MPEG_program_end_code

MultiEx BMS Script

Not written yet.

Notes and Comments

  • Standard PlayStation 2 movie file format. It contains MPEG2 video data and PCM/ADPCM audio data.
  • PSS extension stands for "PlayStation Stream"

Games

List of games using this file format:

  • Aliens Versus Predator: Extinction (PS2) (*.PSS)
  • PK: Out of the Shadows (PS2) (*.PSS)
  • Midnight Club II (PS2) (*.PSS)
  • Many more...

Compatible Programs

See Also

Gallery