PS3 .pam video files

Need help in demystifying video formats of your favourite game? Go here.
Researchman
mega-veteran
mega-veteran
Posts: 315
Joined: Fri Jun 11, 2010 12:08 pm
Has thanked: 78 times
Been thanked: 21 times

PS3 .pam video files

Post by Researchman » Fri Oct 01, 2010 4:58 pm

PAMF0041 header.

example:

Code: Select all

PAMF0041     Р                                                                   ”     _ђ   rг ФА _ђ       t   _ђ   rг    b    а )І   и   
M Д     P 0         0      Ь   Ѕ                                        А   _ђ    А   ђЋ   ]А   БЊ   ЬА   тЉ  \А2   #€  )А   T†  MАy   …„  ¶АҐ   	¶‚  ‘АЉ   
зЂ  
Аa   ~  БАR   
I|  dАT   zz  щА]   «x                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                єD Єu±Sш  » ѓ©ЃЂр№йІЅз(  ї zа         j  Ђ« Ђ Э ЂB Ђ
 Ђ… Ђ˜ Ђ· Ђg Ђj Ђ \ Ђ я Ђ!j Ђ!э Ђ
files - http://ifolder.ru/19565929

Need simple converter to avi or any simple video format.

Researchman
mega-veteran
mega-veteran
Posts: 315
Joined: Fri Jun 11, 2010 12:08 pm
Has thanked: 78 times
Been thanked: 21 times

Re: PS3 .pam video files

Post by Researchman » Sat Oct 02, 2010 6:52 pm

Several files for testing and analisys - http://ifolder.ru/19578609

PMF2AVI&AT3 cant work with 6 channel .pam video files.

Researchman
mega-veteran
mega-veteran
Posts: 315
Joined: Fri Jun 11, 2010 12:08 pm
Has thanked: 78 times
Been thanked: 21 times

Re: PS3 .pam video files

Post by Researchman » Sun Oct 03, 2010 5:12 pm

So, found not bad tools for converting to .avi and .at3 - http://ifolder.ru/19589623

New problem - any video(pam or pmf) normal converted to video. But dont extract audio from Demon Souls and White Knight Chronicles.

Files for testing - http://ifolder.ru/19589608

AlphaTwentyThree
double-veteran
double-veteran
Posts: 985
Joined: Mon Aug 24, 2009 10:55 pm
Has thanked: 75 times
Been thanked: 621 times

Re: PS3 .pam video files

Post by AlphaTwentyThree » Wed Oct 06, 2010 11:40 am

Smarter way: cut the first 0x800 bytes from the *.pam, save as *.mpg and demux with TMPGEnc. ;)
If you don't already know: File -> MPEG Tools... -> De-Multiplex, open *.mpg, double click on the private stream under the video and save.
You can see that both Demon's Souls and White Knight Chronicles don't have AT3 as audio codec. Will check later what it is, looks somewhat familiar.
If you like what you see, why not click the little Thank You button? ;) It will definitely motivate me! :)
And here's Mr.Mouse's Facebook link: http://www.facebook.com/permalink.php?s ... 8469022795 - thanks ;)

Researchman
mega-veteran
mega-veteran
Posts: 315
Joined: Fri Jun 11, 2010 12:08 pm
Has thanked: 78 times
Been thanked: 21 times

Re: PS3 .pam video files

Post by Researchman » Wed Oct 06, 2010 12:09 pm

The problem is just with .pam audio extraction. If AT3 extracts, it is not retrieved until is AT3+ (Maybe). I could be wrong.

AlphaTwentyThree
double-veteran
double-veteran
Posts: 985
Joined: Mon Aug 24, 2009 10:55 pm
Has thanked: 75 times
Been thanked: 621 times

Re: PS3 .pam video files

Post by AlphaTwentyThree » Wed Oct 06, 2010 4:17 pm

Researchman wrote:The problem is just with .pam audio extraction. If AT3 extracts, it is not retrieved until is AT3+ (Maybe). I could be wrong.
To be honest I don't get what you're saying. ;)
If you like what you see, why not click the little Thank You button? ;) It will definitely motivate me! :)
And here's Mr.Mouse's Facebook link: http://www.facebook.com/permalink.php?s ... 8469022795 - thanks ;)

Researchman
mega-veteran
mega-veteran
Posts: 315
Joined: Fri Jun 11, 2010 12:08 pm
Has thanked: 78 times
Been thanked: 21 times

Re: PS3 .pam video files

Post by Researchman » Wed Oct 06, 2010 6:35 pm

Example:

Battle Fantasia - at3 audio from .pam:
Image

Demon Souls - at3 audio from .pam:
Image
Last edited by Researchman on Thu Oct 07, 2010 2:19 pm, edited 1 time in total.

AlphaTwentyThree
double-veteran
double-veteran
Posts: 985
Joined: Mon Aug 24, 2009 10:55 pm
Has thanked: 75 times
Been thanked: 621 times

Re: PS3 .pam video files

Post by AlphaTwentyThree » Thu Oct 07, 2010 6:47 am

No, still don't understand. You haven't even written what's on the pics. I don't know what I see here.
If you like what you see, why not click the little Thank You button? ;) It will definitely motivate me! :)
And here's Mr.Mouse's Facebook link: http://www.facebook.com/permalink.php?s ... 8469022795 - thanks ;)

Researchman
mega-veteran
mega-veteran
Posts: 315
Joined: Fri Jun 11, 2010 12:08 pm
Has thanked: 78 times
Been thanked: 21 times

Re: PS3 .pam video files

Post by Researchman » Thu Oct 07, 2010 2:38 pm

As I write this, a video from .PAM easy to encode to AVI. Also easy extract standart AT3, but from Battle Fantasia can possible extract .PAM AT3 Audio. Demon Souls .PAM Audio cant extract. This is shown in the pics.

Example files - http://ifolder.ru/19655516

hyndai
advanced
Posts: 53
Joined: Tue Jun 03, 2008 9:55 pm
Has thanked: 3 times
Been thanked: 1 time

Re: PS3 .pam video files

Post by hyndai » Thu Oct 07, 2010 8:27 pm

hi, me i have make aslo with mencoder for dump video and then put in avi, but i can't dump audio with this command mplayer -dumpaudio ICON2.pmf this generating a file with 0bytes ( i tested on Quantum Theory pam video )

AlphaTwentyThree
double-veteran
double-veteran
Posts: 985
Joined: Mon Aug 24, 2009 10:55 pm
Has thanked: 75 times
Been thanked: 621 times

Re: PS3 .pam video files

Post by AlphaTwentyThree » Fri Oct 08, 2010 11:26 pm

Researchman wrote:As I write this, a video from .PAM easy to encode to AVI. Also easy extract standart AT3, but from Battle Fantasia can possible extract .PAM AT3 Audio. Demon Souls .PAM Audio cant extract. This is shown in the pics.

Example files - http://ifolder.ru/19655516
Ok, I see what you mean. These pam files don't have an at3 stream as audio, but I don't know what it is (yet). You can demultiplex all *.pmf and *.pam files with TMPGEnc by cutting out the first 0x800 bytes and saving the file as *.mpg, then use TMPGEnc's De-multiplex (in "MPEG tools..."). I'm not sure if it works the right way with *.pam files because I wasn't able to parse the audio stream from Battle Fantasia with this method. However, the mencoder version works. But I'd change to batch file to

Code: Select all

mplayer -dumpaudio -dumpfile "%~n1.at3" "%~n1.pam"
and drag *.pam files into it without renaming them. It's much less work.
You could also use a loop batch like

Code: Select all

for %%i in (*.pam) DO mplayer -dumpaudio -dumpfile "%%~ni.at3" "%%i"
which will decode all the pam videos in the folder you run the batch.
If you like what you see, why not click the little Thank You button? ;) It will definitely motivate me! :)
And here's Mr.Mouse's Facebook link: http://www.facebook.com/permalink.php?s ... 8469022795 - thanks ;)

vovmen
ultra-n00b
Posts: 3
Joined: Sat Oct 09, 2010 8:12 am
Been thanked: 2 times

Re: PS3 .pam video files

Post by vovmen » Sat Oct 09, 2010 8:25 am

PAM (from SDK):
Video - MPEG-2 or AVC,
Audio - atrac3, AC3 or LPCM.

PAM Video to MKV - mkvmerge (best for MPEG-2 and H.264, but need delete code before first 0x000001BA44) ......also it is possible demux after.

AlphaTwentyThree
double-veteran
double-veteran
Posts: 985
Joined: Mon Aug 24, 2009 10:55 pm
Has thanked: 75 times
Been thanked: 621 times

Re: PS3 .pam video files

Post by AlphaTwentyThree » Sat Oct 09, 2010 1:43 pm

vovmen wrote:PAM (from SDK):
Video - MPEG-2 or AVC,
Audio - atrac3, AC3 or LPCM.
Care to get valid headers for AC3 and LPCM? Thanks.
If you like what you see, why not click the little Thank You button? ;) It will definitely motivate me! :)
And here's Mr.Mouse's Facebook link: http://www.facebook.com/permalink.php?s ... 8469022795 - thanks ;)

vovmen
ultra-n00b
Posts: 3
Joined: Sat Oct 09, 2010 8:12 am
Been thanked: 2 times

Re: PS3 .pam video files

Post by vovmen » Sat Oct 09, 2010 3:06 pm

AlphaTwentyThree wrote:
vovmen wrote:PAM (from SDK):
Video - MPEG-2 or AVC,
Audio - atrac3, AC3 or LPCM.
Care to get valid headers for AC3 and LPCM? Thanks.
Maybe it will help...
sample PAM: AVC+AT3, AVC+LPCM, MPEG-2+AC3
http://ifolder.ru/19683867

AlphaTwentyThree
double-veteran
double-veteran
Posts: 985
Joined: Mon Aug 24, 2009 10:55 pm
Has thanked: 75 times
Been thanked: 621 times

Re: PS3 .pam video files

Post by AlphaTwentyThree » Sat Oct 09, 2010 4:05 pm

The files don't contain any headers, maybe you know that? But thanks, maybe I can get them elsewhere.
If you like what you see, why not click the little Thank You button? ;) It will definitely motivate me! :)
And here's Mr.Mouse's Facebook link: http://www.facebook.com/permalink.php?s ... 8469022795 - thanks ;)

Post Reply