PSMF: Difference between revisions

From MultimediaWiki
Jump to navigation Jump to search
(samples)
mNo edit summary
Line 1: Line 1:
* Extensions: pmf
* Extensions: pmf
* Company: [[Sony]]
* Company: [[Sony]]
* Sample: http://samples.mplayerhq.hu/playstation/
* Samples: http://samples.mplayerhq.hu/playstation/


Short for PlayStation Portable Movie Format, PSMF is a SONY proprietary format used for movies intended to be played on the PSP portable game console. The format is based on [[MPEG]], and contains [[H.264]] video and [[Sony ATRAC]] audio.
Short for PlayStation Portable Movie Format, PSMF is a SONY proprietary format used for movies intended to be played on the PSP portable game console. The format is based on [[MPEG]], and contains [[H.264]] video and [[Sony ATRAC]] audio.

Revision as of 05:35, 10 September 2009

Short for PlayStation Portable Movie Format, PSMF is a SONY proprietary format used for movies intended to be played on the PSP portable game console. The format is based on MPEG, and contains H.264 video and Sony ATRAC audio.

PSMF files start with a variable length header, followed by MPEG Program Stream data. The video data is carried in PES packets using a stream_id of 0xE0, and audio data is carried in private_stream_1 PES packets.

Header format

Offset Name Bits Type Semantics
0x0 magic 32 ASCII "PSMF"
0x4 unknown 32 ASCII version? always '0014'
0x8 header_size 32 be int total size of header
0xc data_size 32 be int size of data
0x50 unknown 32 be int always 0x43?
0x54 unknown 16 be int always 0?
0x56 tick_freq 32 be int always 90000?
0x5a unknown 16 be int always 0?
0x5c duration 32 be int stream duration in ticks
0x60 mux_rate 32 be int equal to program_mux_rate in pack_header