PAMFtool is an open-source muxer & demuxer for PlayStation Advanced Movie Format (.PAMF, .PAM), often found in PS3 games.
The goal of this project is to provide an open-source solution for preserving PAMF videos without relying on SDK tools.
Source code is included in the zip, the tool is still in development.
Supported streams:
- AVC (H.264) video streams
- M2V (MPEG-2) video streams
- ATRAC3 Plus audio streams
- LPCM audio streams
- AC-3 audio streams (experimental)
Requirements
Supported platforms: Windows, macOS, Linux.
Usage & Parameters
-info- Print information about a PAMF file and its streams-demux- Demux all streams from an input PAMF file and write them to a subfolder-mux- Mux all streams contained in a folder into a new PAMF file
Additional -mux Parameters
-noep- Skip writing an entry-point seek table in the PAMF header-deblock- Force the codec-info deblock byte to1for AVC streams-nodeblock- Force the codec-info deblock byte to0for AVC streams-noatsc- Ignore any 'atsc' RIFF chunk in .at3 inputs-pace <v>- Set SCR pacing rate. See -h for values-pstd <KB>- Override AVC P-STD buffer size in KB-mmb <n>- Override max_mean_bitrate byte in AVC codec_info-ps2-block <n>- Override minimum pictures between ps2/EP blocks (1..492)-muxrate <KBps>- Override pack_header mux_rate (48000, 24000, or 12000)-std-delay <ticks>- Override std_delay_bound and scheduler lead limit. See -h for values-initial-scr <ticks>- SCR origin (auto-detected)
Notes
- Starting with v1.3, genuine PAMF files demuxed then remuxed with PAMFtool are now byte-identical to the originals (400+ files tested across numerous games)
- Raw H.264 data does not play in most video players. Use ffmpeg to mux it back into a more conventional container format.
GitHub Repo
GitHub
GitHub - ravenDS/PAMFtool: PlayStation Advanced Movie For...
Edited by ravenDS
update parameters & notes
What's New in Version 1.6.0
Released
Several improvements to PAMFtool muxer based on the official muxer
Mux & Demux 2GB+ files for all types of streams
ATRAC3+: header is now written properly for AT3+ streams
MPEG-2 timing: now computed the way the official muxer does it, 3:2 pulldown streams were getting wrong DTS values before
Field pictures: reference fields are counted once per pair
Several video streams: audio repeats its buffer info only after a block start of first video stream
System header: declare the largest AVC buffer + largest MPEG-2 buffer
Block size: at most 255 pictures per block
AC-3: each access unit is exactly one frame of its coded size, so junk after or between frames is left out
LPCM: fixes to the LPCM header & channel assignment
-pamfmux: (off by default) mux like the official muxer (SCR origin 0 for every stream type, mid-block timestamps)
Create an account or sign in to leave a review
There are no reviews to display.