openTri icon indicating copy to clipboard operation
openTri copied to clipboard

PMP video

Open mills32 opened this issue 1 year ago • 2 comments

Hi, hope you read this.

While trying to create a video player which will work on newer firmware and sdk, I only found a pmf player and your PMP player. (mp4 players are so old, none is working or can be compiled nowdays).

The only problem is, none of the pmp videos I created work on your pmp player sample. What program did you use to create that test.pmp?

I used ffmpeg to demux a video (.avi and .mp3) and then used pmp_muxer 2.0. The video will play on an emulator, but on a real PSP the program will crash, only your test.pmp works as I said.

Thanks!

mills32 avatar Dec 08 '24 22:12 mills32

Pretty sure I used mencoder to encode the video as AVC, sounds as AAC (mp3 should be fine too), then pmp_muxer to mux the streams into the pmp format. Don't ask me about the exact versions though. Given the player crashes, I guess it's not an issue of pmp container format (the pmp lib has a bunch of checks on that and I doubt the format changed). First thing I'd check is the profile of the encoded AVC video, as PSP was kind of picky. Use main profile, if that doesn't work also try baseline. Still, I didn't use super fancy encoding options on mencoder I'm sure. Maybe you can still find some hints at https://forum.doom9.org/showthread.php?p=857032 or https://forums.ps2dev.org/viewtopic.php?t=4528&start=1440 ?

albe avatar Dec 14 '24 19:12 albe

Thanks a lot! I managed to find the range of h264 settings which made the psp play the files, it is not as picky as it seems, there were only a few settings which did not work. Now I want to try and made the player read other files (avi mp4 ...)

Thanks again.

mills32 avatar Dec 15 '24 10:12 mills32