Skip to content

ffmpeg: Add support for PSMF/PAMF files#8

Open
capriots wants to merge 1 commit into
RPCS3:masterfrom
capriots:psmf
Open

ffmpeg: Add support for PSMF/PAMF files#8
capriots wants to merge 1 commit into
RPCS3:masterfrom
capriots:psmf

Conversation

@capriots

@capriots capriots commented Jun 5, 2026

Copy link
Copy Markdown

Adds full support for PSMF (.pmf) and PAMF (.pam) files except for user data streams.

I've enabled all decoders for the codecs supported in PAMF files, but if you just want support for the ICON1.pam videos, then you only need --enable-demuxer=psmf --enable-decoder=atrac3p_ats in addition to the rest.

@capriots

Copy link
Copy Markdown
Author

Pinging @AniLeo @Megamouse just in case the PR wasn't noticed

@Megamouse

Copy link
Copy Markdown
Collaborator

why is the patch needed?

@capriots

Copy link
Copy Markdown
Author

Audio doesn't work without it since the way audio streams are muxed in PAMF files is non-standard. Also, if the PAMF header is too large, it won't play at all without increasing probesize, because ffmpeg doesn't find the MPEG start codes.

There are games that have an audio track in the ICON1.PAM instead of an SND0.AT3, this patch would allow you to play those for example.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants