PMP Mod v2.02 & PMP Mod AVC v1.02 subtitle mod devthread

Discuss the development of new homebrew software, tools and libraries.

Moderators: cheriff, TyRaNiD

Post Reply
User avatar
Raphael
Posts: 646
Joined: Tue Jan 17, 2006 4:54 pm
Location: Germany
Contact:

PMP Mod v2.02 & PMP Mod AVC v1.02 subtitle mod devthread

Post by Raphael »

Since the release thread has been moved to the announcement board, but I still need some of the feedback that was given there, I decided to create a dev-related only thread, where you should post any questions, problems and bugs you encounter while using one of my subtitle mods of PMP Mod.

You can also visit my homepage for up-to-date news on my development work:
http://wordpress.fx-world.org

NOTE: This thread is not meant for general PMP Mod development questions. If you're not sure if your problem is only related to my subtitle mod, please try to check that by testing the behaviour in jonnys official version before you post.


I'll try to keep a kown-bugs list here up-to-date also, to prevent double reports.

PMP Mod AVC 1.02M Buglist:
- resume function doesn't allow 'reset'


PMP Mod 2.02b Buglist:
- crashes when trying to play avc video * fixed
- fonts from FontGen 0.4+ are cut at rightmost part * fixed
- clipping of text on left border is buggy (causes crash) * fixed
- subtitles don't show when playing a short part of a video twice in a row * fixed
- filename of played video appears in uppercase in filelist * fixed
- Some languages (cyrillic) couldn't be displayed correctly, due to differences of ISO8859 <-> Windows Codepages * fixed with new set of fonts and FontGen 0.6


All fixes are in the current trunk and will be included in the next release.
Last edited by Raphael on Tue Aug 08, 2006 11:28 pm, edited 1 time in total.
<Don't push the river, it flows.>
http://wordpress.fx-world.org - my devblog
http://wiki.fx-world.org - VFPU documentation wiki

Alexander Berl
pegasus
Posts: 61
Joined: Tue Jan 17, 2006 2:38 pm

hello

Post by pegasus »

cool tnx.. just want you to know im still a fan ^_^
User avatar
Raphael
Posts: 646
Joined: Tue Jan 17, 2006 4:54 pm
Location: Germany
Contact:

Post by Raphael »

Glad to hear that, be sure you check out the latest 'malloc revival' version ;)
<Don't push the river, it flows.>
http://wordpress.fx-world.org - my devblog
http://wiki.fx-world.org - VFPU documentation wiki

Alexander Berl
pegasus
Posts: 61
Joined: Tue Jan 17, 2006 2:38 pm

hello

Post by pegasus »

yeah i tried it, no UPPERCASE names anymore ^_^

and its good to see RESUME feature XP
User avatar
Drakonite
Site Admin
Posts: 990
Joined: Sat Jan 17, 2004 1:30 am
Contact:

Post by Drakonite »

There is nothing wrong with having feedback in the release thread. Thats why it is there.

The thread was moved to clean things up and try to keep the PSP Software Development thread reserved for threads about how to develop software for the PSP.
Shoot Pixels Not People!
Makeshift Development
User avatar
Raphael
Posts: 646
Joined: Tue Jan 17, 2006 4:54 pm
Location: Germany
Contact:

Post by Raphael »

Drakonite wrote:There is nothing wrong with having feedback in the release thread. Thats why it is there.
The thread was moved to clean things up and try to keep the PSP Software Development thread reserved for threads about how to develop software for the PSP.
Yeah, I don't mind the move, it was ok, and having feedback in the release thread is ok either, but seeing how the release board is pretty much less visited I thought its better to have a thread over here, where most people are looking. And since its also dev related I think it should fit, not? I hope that's ok with you
<Don't push the river, it flows.>
http://wordpress.fx-world.org - my devblog
http://wiki.fx-world.org - VFPU documentation wiki

Alexander Berl
User avatar
Drakonite
Site Admin
Posts: 990
Joined: Sat Jan 17, 2004 1:30 am
Contact:

Post by Drakonite »

Or.. people could just learn to look in the right place, instead of putting whatever wherever because "people look there more" ...

I'm not trying to be rude.. .but between the disorganization and the idiotic posts by people who maybe shouldn't be here, the psp boards are a mess and it's scaring away a lot of people who should be here.
Shoot Pixels Not People!
Makeshift Development
User avatar
Raphael
Posts: 646
Joined: Tue Jan 17, 2006 4:54 pm
Location: Germany
Contact:

Post by Raphael »

Drakonite wrote:Or.. people could just learn to look in the right place, instead of putting whatever wherever because "people look there more" ...
True, very true, but you must admit that's something out of my control. I just want to get feedback to my project, so I'm looking for the best spot.
I'm not trying to be rude.. .but between the disorganization and the idiotic posts by people who maybe shouldn't be here, the psp boards are a mess and it's scaring away a lot of people who should be here.
Ah well, if I may say so, this forum is one of the cleanest ones I did come along in my long journey until now (not perfect though, that's true, but what is?). I really think you admins do a good job at keeping it as clean as possible, without getting into a "we rule, we decide when,where and who may post here" attitude which really would keep new people away (I saw something like that too, and I find it stupid), and I know what I say since I was admin in the one or the other forum myself having a bad time with spam and junkposts.

And to come to an end, if you really think this thread is unneccessary or whatever, I have no problems with that and you could close/remove it. I'd be happy if you tell me by PM if you do decide so, though :)
<Don't push the river, it flows.>
http://wordpress.fx-world.org - my devblog
http://wiki.fx-world.org - VFPU documentation wiki

Alexander Berl
pegasus
Posts: 61
Joined: Tue Jan 17, 2006 2:38 pm

hello

Post by pegasus »

at first i didn't even know that release announcement exists?
second although ive already seen released announcement, i didnt thought it was associated with the PSP.. that was my first impression

most people (for PSP) visit either PSP Software Dev of PSP Hardware.
the relaeased thread is so far from it..
edepot
Posts: 111
Joined: Sat Apr 09, 2005 3:39 pm

Converting using MediaCoder

Post by edepot »

The setup:

MediaCoder-0.5.0-r1.zip
with the following patch...
mediacoder-update-2320.zip

Converted a .vob and subtitle gotten using...
SubRip_1.50_Beta3.rar

Subrip went though the vob and actually ocr converted to MicroDVD .sub

When done, the subtitle usually finishes before the audio/movie does.

By the way, why is the release forum so far away from the PSP forum?
I didn't even know it existed until now.
User avatar
Raphael
Posts: 646
Joined: Tue Jan 17, 2006 4:54 pm
Location: Germany
Contact:

Re: Converting using MediaCoder

Post by Raphael »

edepot wrote:The setup:

MediaCoder-0.5.0-r1.zip
with the following patch...
mediacoder-update-2320.zip

Converted a .vob and subtitle gotten using...
SubRip_1.50_Beta3.rar

Subrip went though the vob and actually ocr converted to MicroDVD .sub

When done, the subtitle usually finishes before the audio/movie does.
Converting to MicroDVD format needs the correct video fps to stay sync, which sometime causes problems (MicroDVD saves frame numbers, but since videos can be different fps, these don't neccessarily resolve to the same time in the video).
What you should do:
1. Try your .sub subtitle with your video on PC to check if it really is in sync
2. If it's not in sync, use a tool like SubConverter or alike, to adjust the timing of the subtitle until it fits
3. If it is in sync, but not inside PMP Mod, report back :)
<Don't push the river, it flows.>
http://wordpress.fx-world.org - my devblog
http://wiki.fx-world.org - VFPU documentation wiki

Alexander Berl
drelin
Posts: 1
Joined: Fri Aug 11, 2006 12:29 am

Post by drelin »

hello,
I am since the beginning déveloopement of PMP player and make a point of thanking the authors.
This is my first post and my English is basic, sorry.

following the remark of Eingang on the audible background noise on PMP (standard and avc), jonny carried out a version with the activation of the audio HQ solving this problem of breath.

Quotations :
Eingang : you remember this hf-noise in background ?
jonny : nabling the high quality mp3 decoder needs slightly more than 222Mhz to play 30fps content.
i can give you a build if you want.
btw, have you noticed that random pops are gone?
(finally found the problem, my ears are really not good :)
jonny : @Eingang:

here:

http://www.megaupload.com/?d=5N2SOXWM

it runs at 240Mhz (this seems the sweet spot with hq audio enabled)
Can you integrate this correction on the next update of PMPMod AVC subtitle MOD?

Thank you and still sorry for my English.

Link to the original messages :

http://forums.ps2dev.org/viewtopic.php? ... 38a167cb35
arex
Posts: 23
Joined: Sun Dec 18, 2005 10:58 pm

Post by arex »

I found that fontsize 10 is too small for Japanese or Chinese characters, if it can use 14 or more will be much better~~~
User avatar
Raphael
Posts: 646
Joined: Tue Jan 17, 2006 4:54 pm
Location: Germany
Contact:

Post by Raphael »

drelin wrote: Quotations :
Eingang : you remember this hf-noise in background ?
jonny : nabling the high quality mp3 decoder needs slightly more than 222Mhz to play 30fps content.
i can give you a build if you want.
btw, have you noticed that random pops are gone?
(finally found the problem, my ears are really not good :)
jonny : @Eingang:

here:

http://www.megaupload.com/?d=5N2SOXWM

it runs at 240Mhz (this seems the sweet spot with hq audio enabled)
Can you integrate this correction on the next update of PMPMod AVC subtitle MOD?

Thank you and still sorry for my English.

Link to the original messages :

http://forums.ps2dev.org/viewtopic.php? ... 38a167cb35
First sorry for the very late response, but I somehow got lost with all my projects and things to do.
From what I understood, the sound-error was resolved inside the normal build, so that should already be included. The Hi-quality mp3 build should only allow for higher sample-sizes as well as more accurate calculations to be used for decoding, to improve the soudnquality somewhat. I'm not sure though how to enable the hi-quality decoder and also don't see that much use. Shouldn't be too hard to do though. Maybe one day I'll think about that.
I found that fontsize 10 is too small for Japanese or Chinese characters, if it can use 14 or more will be much better~~~
Fontsize 14 should be possible (though its already the limit), at least with a border-size of <= 1.0. If you're on windows, you can create your own font easily with the font-generator tool available on my site. If not, I'll put up a max-sized asian font package.
I'm also thinking about revising the font-engine to enable any size fonts, though that would require quite some work (next to a complete rewrite).

I hope to get back to a more intense working period on the pmp mod core soon (I'm currently working on a pmp version for the 0x89 xmb replacement project).
<Don't push the river, it flows.>
http://wordpress.fx-world.org - my devblog
http://wiki.fx-world.org - VFPU documentation wiki

Alexander Berl
arex
Posts: 23
Joined: Sun Dec 18, 2005 10:58 pm

Post by arex »

i have tried the FontGenerator ,but if i select size 14, the font files which it made will can not display whole character. every charater's rightsize & bottom is cutted....

if I select size 11 or smaller, the charater will be integral

like this pic.

Image

Image
User avatar
Raphael
Posts: 646
Joined: Tue Jan 17, 2006 4:54 pm
Location: Germany
Contact:

Post by Raphael »

arex wrote:i have tried the FontGenerator ,but if i select size 14, the font files which it made will can not display whole character. every charater's rightsize & bottom is cutted....

if I select size 11 or smaller, the charater will be integral

like this pic.

Image

Image
Yeah, though the images wouldn't load I saw what you mean by trying myself. Well, the max I could get without much cutting is Arial 12pt, but even then there are a hand full of glyphs that are slightly cut. Seems I need to do that variable font size code for better readable asian languages. Until then there's not much to do about that, sorry, but maybe Arial 12pt is good enough for now (the default fontset was Arial 10pt after all).
<Don't push the river, it flows.>
http://wordpress.fx-world.org - my devblog
http://wiki.fx-world.org - VFPU documentation wiki

Alexander Berl
Skirrow
Posts: 3
Joined: Thu Oct 12, 2006 7:55 am

Post by Skirrow »

I'm having a problem with subtitles in my movies using 2.02b on a fw1.5 PSP. I used subrip to rip the subs from my dvd's i encoded to pmp. The subs sync perfectly. However after a few minutes in each film the subs just stop. After checking the last line i see in the film against the srt file, it looks like PMPMOD just stops the subtitles at line 149. I've tried 3 films and all of them stop at line 149.

The subs work perfectly on the pc.

Anyone got any suggestions?
User avatar
Raphael
Posts: 646
Joined: Tue Jan 17, 2006 4:54 pm
Location: Germany
Contact:

Post by Raphael »

Never had something like this. Could you please send me your subtitle files that stop? Just e-mail them to me, I'll have a look. raphael [AT] fx-world.org
Thanks.
<Don't push the river, it flows.>
http://wordpress.fx-world.org - my devblog
http://wiki.fx-world.org - VFPU documentation wiki

Alexander Berl
Skirrow
Posts: 3
Joined: Thu Oct 12, 2006 7:55 am

Post by Skirrow »

I've emailed you the subtitle files. Hope they help.

The video files i'm playing were encoded at 1500kbps video (2 passes), and 128kbps mp3 sound. Ripped straight from the dvd's with xvid4psp. Very high quality (about 1.5gb each). Could the PSP just simply be running out of memory thanks to the really high quality video?

going to try encoding one at a lower bitrate (768kbps) to see what happens
csuper
Posts: 103
Joined: Tue Jan 03, 2006 6:19 pm

Post by csuper »

Hye Raphael,

Just wondering... do you know if PMPMOD is using : "Accessing the extra 4Megs of RAM on 1.5+" ???
=> http://forums.ps2dev.org/viewtopic.php?t=6800
If not do you plan to use your graphical mod with it (no news about it for a long time :( )

Anyway, PMPMOD is still on my PSP ! ;)

Ciao

csuper.
User avatar
Raphael
Posts: 646
Joined: Tue Jan 17, 2006 4:54 pm
Location: Germany
Contact:

Post by Raphael »

csuper wrote:Hye Raphael,

Just wondering... do you know if PMPMOD is using : "Accessing the extra 4Megs of RAM on 1.5+" ???
=> http://forums.ps2dev.org/viewtopic.php?t=6800
If not do you plan to use your graphical mod with it (no news about it for a long time :( )

Anyway, PMPMOD is still on my PSP ! ;)

Ciao

csuper.
Currently it's not using it, no. It also wouldn't make much difference I suppose, since a little bit more or less room for buffers wouldn't change a lot.
Regarding the graphical mod, it could at least in theory come in handy to load the graphics into that 4MB of space, so they don't need to be unloaded and loaded again from memory stick every time you switch from playback to the GUI (this was/is neccesary because the playback needs most of the system RAM already for a good amount of framebuffers, though there is still some room).
Regarding news - yeah it got very silent again, mostly because of lack of time to do coding (the new studying term also just began, so there will be even less time now). However, the project is not dropped at any means. I am still holding my goals for a feature rich and powerfull GUI (I'm somewhat stuck regarding the decision of how to implement the core - as a complete dynamic window management system, or more hardcoded to the needs of the actual application. I started with coding for the first solution, but it soon showed to be cause a lot of overhead regarding complexity as well as performance, but on the other hand, that implementation would be more flexible to future changes and could also be used very easily and a lot of other projects which need a GUI :/ I'm open to any suggestions)
I've emailed you the subtitle files. Hope they help.
Are you sure? I still didn't receive anything. I also checked through my overfilled spam-folder, to get sure, but I couldn't find it. Could you please resend it if possible?
Could the PSP just simply be running out of memory thanks to the really high quality video?
This is possible, but I doubt it, the subtitles shouldn't take that much space anyway. Probably it's a stupid special-case error I couldn't dig up in my subtitle-management code.
<Don't push the river, it flows.>
http://wordpress.fx-world.org - my devblog
http://wiki.fx-world.org - VFPU documentation wiki

Alexander Berl
Skirrow
Posts: 3
Joined: Thu Oct 12, 2006 7:55 am

Post by Skirrow »

Hmm. Sent the subs via email again today. If that doesnt work, i uploaded them to rapidshare. linky

http://rapidshare.com/files/52053/Problem_subs.rar.html

Tried using a lower quality file with no luck. :(

Cheers
User avatar
Raphael
Posts: 646
Joined: Tue Jan 17, 2006 4:54 pm
Location: Germany
Contact:

Post by Raphael »

This time I got the mail (it was in the spam folder though). I think the error really is failing malloc, therefore only reading up to a specific line. The code doesn't specifically check for that case and output an error message or stop subtitles alltogether, it's as if the file ends at that point.

I tried getting a build where the subtitles are loaded before the video buffers are created for you to check, however for some unknown reason I cannot this build to work correctly (won't play any videos at all, just a black screen after selection and then I need to reset). First I thought it was because of the Malloc revival code changes, but even the old version now keeps messing around. Will have to take a deeper look at it, but I'll be away over the weekend. I'll contact you as soon as I have something.
<Don't push the river, it flows.>
http://wordpress.fx-world.org - my devblog
http://wiki.fx-world.org - VFPU documentation wiki

Alexander Berl
Ginjaninja
Posts: 1
Joined: Wed Nov 01, 2006 9:20 pm

Post by Ginjaninja »

Hi Raphael,

I'm a longtime user of this homebrew and I like to thank you and jonny for such a great app. My psp in only worthwhile with this app. :D

I was wondering if there is any possibility ofintegrating this into Dark_Alex 2.71 seb firmware. in some form of PRX module. in such a way you could load pmp files from the xmb. If not then don't worry about it, but just though it would be a great feature and in my eye complete the 2.71 SE firmware.

regards,
Chris
AZImmortal
Posts: 14
Joined: Thu Jan 05, 2006 4:16 am

Post by AZImmortal »

Raphael wrote:won't play any videos at all, just a black screen after selection and then I need to reset
I'm actually having this same problem, which is weird because I was able to get one video to play initially, and now I can't get any to play.
Post Reply