PSS Video: Difference between revisions
Jump to navigation
Jump to search
imported>Ikskoks |
imported>Ikskoks |
||
| (22 intermediate revisions by the same user not shown) | |||
| Line 13: | Line 13: | ||
// big endian | // big endian | ||
// header (26 bytes) | |||
4 bytes (uint32) - section ID // 0x00 0x00 0x01 0xBA - pack_start_code | 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 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 | // SpuStreamHeader | ||
4 bytes (char) - signature // "SShd" | 4 bytes (char) - signature // "SShd" | ||
4 bytes (uint32) - struct size // 24 | 4 bytes (uint32) - struct size // 24 | ||
4 bytes (uint32) - type // 0 - 16bit big endian | 4 bytes (uint32) - type // 0 - PCM 16bit big endian | ||
// 1 - 16bit little endian | // 1 - PCM 16bit little endian | ||
// 2 - SPU2-ADPCM (VAG) | // 2 - SPU2-ADPCM (VAG) | ||
4 bytes (uint32) - sampling rate // e.g. 48000 | 4 bytes (uint32) - sampling rate // e.g. 48000 | ||
| Line 40: | Line 46: | ||
x bytes - MPEG2 video stream | 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 | 4 bytes (uint32) - file end ID // 0x00 0x00 0x01 0xB9 - MPEG_program_end_code | ||
| Line 57: | Line 68: | ||
List of games using this file format: | List of games using this file format: | ||
* PK: Out of the Shadows (PS2) | * Aliens Versus Predator: Extinction (PS2) (*.PSS) | ||
* PK: Out of the Shadows (PS2) (*.PSS) | |||
* Midnight Club II (PS2) (*.PSS) | |||
* Many more... | * 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-demux.html PSS Demux] | ||
| Line 86: | Line 100: | ||
[[Category:Complete | [[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_Video | Type: Video]] | [[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]] | [[Category:File Format]] | ||
Latest revision as of 12:13, 20 December 2022
PSS
- Format Type : Video
- Endian Order : Big Endian
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
- foobar2000 + vgmstream plugin (for playing audio only)
- PSSPlex
- PSS Demux
- PSS Player
- pss2wav
- PSS Downsampling Tool
- RipPSS
- PS2 Movie Player
- Cube Media Player 2
- TMPGEnc
- PSS Cutter (+ source code)
- ps2str GUI
See Also
Gallery