Post Mon Jun 04, 2007 5:12 pm

Help extracting/playing .PMF video files

I liked the intros used in some import games I got recently from Play-Asia, DJ Max 1 and 2, so I was trying to encode them into something that would be easier for my PC and other devices to play.

I saw a file called "opening.pmf" located in both of the game disks.

Using mplayer with the command "mplayer -dumpvideo -dumpfile opening.264 opening.pmf" I was able to extract a raw h264 video stream out of both videos, but after this I am having trouble.

1. The videos seem to be playing back faster than they should be, I think its because it was extracted with no defined framerate, anyone have any idea what framerates these videos are supposed to be?

2. I can only seem to play this raw stream in mplayer, any idea how I can put it in an AVI or MP4 container? Since its already more or less perfect quality I woudl prefer to not re-encode it and lose quality in the process, not to mention the filesize is surprisingly small for its quality.

3. I get no audio, and attempting to use the -dumpaudio command appears to result in a garbage file. I understand that they most likely use the ATRAC3 audio codec and have one installed, but all I get when I try to play them is either an unrecognized file or a one second blip sound.

I am quite sure the original pmf files contain audio data as well because the original opening1.pmf is roughly 18 megs, the extracted video is 16 megs and the extracted audio that does not work is 2 megs.

4. Only a few videos were avaliable on .pmf files on the disk, the majority as well as the rest of the game data appear to be in large archives named something like all.mp, all2.mp, all3.mp, etc. The rest of the videos are in here..... somewhere..... but I have no idea how to get at them. They seem to basically have all the game's audio/video/graphics/and executables in these packs.

5. I would REALLY much rather just be able to encode these files into a more standard format, but if thats not possible, can I at least somehow play them? I tried a PMF player for the PC, but it messed up my h264 codec (put an annoying unremovable logo on h264 video) and still didnt play audio. I tried two media players for the PSP but neither of them would work, not to mention they contained no readme.

Basically, I can extract the video from these no problem, just not the audio (or at least not in a playable state), and after I get a purely raw video stream im not sure how to put it into an AVI or MP4 contrainer. I have done a lot of encoding in the past with game video files ranging from the Sega CD to the PS2 but never ran into a file I had to extract raw like this before.