Skip to content

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

21 Commits
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

PAMFtool

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 leaked/confidential SDK tools.

Supported streams:

  • AVC (H.264) video streams
  • M2V (MPEG-2) video streams
  • ATRAC3 Plus audio streams
  • LPCM audio streams

Requirements

.NET 8.0 (or higher) - Supported platforms: Windows, macOS, and Linux.

Usage & Parameters

  • -h - Print all 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 to 1 for AVC streams
  • -nodeblock - Force the codec-info deblock byte to 0 for 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 private_stream_2 marker cadence in AUs
  • -muxrate <KBps> - Override pack_header mux_rate (48000, 24000, or 12000)
  • -std-delay <ticks> - Override std_delay_bound. See -h for values
  • -initial-scr <ticks> - Override SCR value at pack 0 (auto-detected)

Tip

Mode is also auto-detected from the input file or folder.

Tested Games

  • Disney Sing It (AVC + AT3+)
  • Tears of Tiara (M2V + LPCM)
  • Michael Jackson: The Experience (AVC + AT3+, Stereo + 5.1, LPCM)

Notes

  • While the demuxer is fully functional, the muxer is still experimental. PAMF files rebuilt with this tool work in all tested PS3 games so far.
  • Raw H.264 data does not play in most video players. Use ffmpeg to mux it back into a more conventional container format.

Releases

Contributors

Languages