forums.ps2dev.org Forum Index forums.ps2dev.org
Homebrew PS2, PSP & PS3 Development Discussions
 
 FAQFAQ   SearchSearch   MemberlistMemberlist   UsergroupsUsergroups   RegisterRegister 
 ProfileProfile   Log in to check your private messagesLog in to check your private messages   Log inLog in 

Playing PMF files longer than a few seconds

 
Post new topic   Reply to topic    forums.ps2dev.org Forum Index -> PSP Development
View previous topic :: View next topic  
Author Message
r0b3rt



Joined: 26 May 2008
Posts: 17

PostPosted: Tue Jul 15, 2008 8:23 am    Post subject: Playing PMF files longer than a few seconds Reply with quote

Hi,

I'm making a game for the PSP and using SDL for sprite animation and all other stuff related to graphics. I would also like to be able to play movies. I found that the simplest way to play a movie would be by using the pmf player (I'm using a bit modified version of: http://dl.qj.net/index.php?pg=12&fid=7926). But the player stops playing the video after 6-7 seconds (It doesn't crash, just exit). I'm running 3.90M33 firmware on PSP SLIM.
Where's the problem? In my PSP SLIM, in my custom firmware, in the way I'm coding video files or in the pmf player (pmfPlayer.prx) itself? Or perhaps you can recommend a different way of playing video files.

--
TIA
Back to top
View user's profile Send private message
Pirata Nervo



Joined: 09 Oct 2007
Posts: 409

PostPosted: Tue Jul 15, 2008 8:35 am    Post subject: Reply with quote

someone made one and dax made a file browser for it and a few other things.
Search on these forums. I got the sample from here
_________________

Upgrade your PSP
Back to top
View user's profile Send private message
r0b3rt



Joined: 26 May 2008
Posts: 17

PostPosted: Tue Jul 15, 2008 10:48 pm    Post subject: Reply with quote

I have searched through this forum and a few others and found nothing. Just the original pmf player by magiK (http://forums.ps2dev.org/viewtopic.php?t=5820) and every version of pmfPlayer.prx I download has the same limitation - movies stop playing after 6-7 seconds. Could you please be more specific.

--
TIA
Back to top
View user's profile Send private message
Pirata Nervo



Joined: 09 Oct 2007
Posts: 409

PostPosted: Wed Jul 16, 2008 12:24 am    Post subject: Reply with quote

well I don't know if it plays only 6-7 seconds.
try this one:
http://www.mediafire.com/?wnpydxjmjzn

i dont know if they are the same
_________________

Upgrade your PSP
Back to top
View user's profile Send private message
r0b3rt



Joined: 26 May 2008
Posts: 17

PostPosted: Wed Jul 16, 2008 3:52 am    Post subject: Reply with quote

Thanks for the reply, but I already tried this version - stopped working after 6-7 seconds like all the others.
Back to top
View user's profile Send private message
Pirata Nervo



Joined: 09 Oct 2007
Posts: 409

PostPosted: Wed Jul 16, 2008 4:27 am    Post subject: Reply with quote

hmmm damn. idk then
_________________

Upgrade your PSP
Back to top
View user's profile Send private message
J.F.



Joined: 22 Feb 2004
Posts: 2906

PostPosted: Wed Jul 16, 2008 4:37 am    Post subject: Reply with quote

Did you try another pmf? Maybe the one you keep trying to play is bad.
Back to top
View user's profile Send private message AIM Address
sakya



Joined: 28 Apr 2006
Posts: 190

PostPosted: Wed Jul 16, 2008 5:17 pm    Post subject: Reply with quote

Hi! :)

Did you try this version for 3.02OE-B?
http://psp.console-tribe.com/downloads.php?action=file&id=1721

Ciaooo
Sakya
Back to top
View user's profile Send private message Visit poster's website
r0b3rt



Joined: 26 May 2008
Posts: 17

PostPosted: Wed Jul 16, 2008 7:21 pm    Post subject: Reply with quote

Thanks sakya for the link - haven't tried that one before. I tried it now (all the versions with all the makefiles) and still the same - video stops after a few seconds. I've read that only the first 73 frames of the pmf file can be played, when using it as a gameboot. Is this the limitation of the pmf format or just the limitation when using pmf file as a gameboot file?

Anyway, here's one of the files I was trying to play:
http://www.megafileupload.com/en/file/74458/movie-pmf.html

It's 2,23 MB big, and 16 seconds long. I can play only first 4 seconds. It would be great if someone tried playing this file on their PSP and tell me if it works.

Also if anyone has a pmf file longer than 6-7 seconds and can play it, it would be great to get a link so I can try it.

--
TIA
Back to top
View user's profile Send private message
sakya



Joined: 28 Apr 2006
Posts: 190

PostPosted: Wed Jul 16, 2008 10:16 pm    Post subject: Reply with quote

Hi! :)

I tried with this version and I can see the video you posted till the end (I think: does it end after a crash with the Burnout Legends title?)
I just took Ahman's version and linked it with pspmpeg (and removed the libmpeg directory).
I didn't test the "plain" Ahman's version...

http://www.sakya.it/downloads/pmfplayer_3xx.rar

I'm on CF 3.52M33-4 but I can test it also on 4.01M33-2 this evening.

Ciaooo
Sakya
Back to top
View user's profile Send private message Visit poster's website
r0b3rt



Joined: 26 May 2008
Posts: 17

PostPosted: Wed Jul 16, 2008 11:31 pm    Post subject: Reply with quote

Hi,

I tried your version sakya, and it's even worse. The sound is all messed up for the first 1 or 2 seconds and then there is no sound. The video stops after another 2 seconds, in the same place as before.

I don't think you can see the whole video. The video is 16 seconds long and the first frame is the same as the last frame. Get this codec and you will be able to play pmf files in your favorite video player in windows:
http://files.filefront.com/PMFplay+H264+Decoderexe/;6600079;/fileinfo.html

It would be great if you could test it on 4.01M33-2. If it works there, I will definitively upgrade my firmware.
And yes, do you have PSP SLIM or PSP FAT?

--
TIA
Back to top
View user's profile Send private message
sakya



Joined: 28 Apr 2006
Posts: 190

PostPosted: Wed Jul 16, 2008 11:38 pm    Post subject: Reply with quote

Hi! :)

Sorry, I tested the app with the wrong pmf (was one I had on my hd almost of the same size).
You're right: your pmf locks after a couple of seconds, with no sound.

I'm on FAT.

Ciaooo
Sakya
Back to top
View user's profile Send private message Visit poster's website
r0b3rt



Joined: 26 May 2008
Posts: 17

PostPosted: Thu Jul 17, 2008 12:49 am    Post subject: Reply with quote

OK :)

If you or anyone else has a long pmf file (>15s) which works with the pmfPlayer.prx, please send me the file/link so I can try it.

--
TIA
Back to top
View user's profile Send private message
Display posts from previous:   
Post new topic   Reply to topic    forums.ps2dev.org Forum Index -> PSP Development All times are GMT + 10 Hours
Page 1 of 1

 
Jump to:  
You cannot post new topics in this forum
You cannot reply to topics in this forum
You cannot edit your posts in this forum
You cannot delete your posts in this forum
You cannot vote in polls in this forum


Powered by phpBB © 2001, 2005 phpBB Group