PMP Mod v2.02 & PMP Mod AVC v1.02

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

Moderators: cheriff, TyRaNiD

Post Reply
jonny
Posts: 351
Joined: Thu Sep 22, 2005 5:46 pm
Contact:

Post by jonny »

@pkjai1:
can you try this:
http://rapidshare.de/files/18309067/pmpmod.rar.html
and tell me what happen
(be sure to put some files on "ms0:/PSP/VIDEO/" - no matter what type of files)
note: if works, at the end you'll need to hold power for 10 secs to power off the psp, there is no exit :)

@all:
is there someone with fw 1.5 us experiencing this strange behaviour (or a correct behaviour)?

@jockyw2001:
tested, the final binary gets stripped at the end, so there is no difference (actually the version without -g was a little bit slower lol)

@excalibur:
the detailed answer to this require a work that i'll be not able to do for some time - i would say that everything is possible given that you have enough time :p
pkjai1
Posts: 7
Joined: Sun Apr 16, 2006 4:15 pm

Post by pkjai1 »

Woot! It works!
But it didn't load out.pmp from the demo you told me to try. It's probably because it was muxed in 1.02 format.

-pkjai

Edit: Something interesting happened. The remuxer said that out.pmp is not a valid pmp file.

Code: Select all

G:\PSP\VIDEO\out.pmp:
Processing video ...


Status: [not a valid pmp file]
The PSP gave the same error before too. It also said that it wasn't a valid PMP 2.00 file but I figured it was just muxed differently. I figured wrong.

-pkjai
jonny
Posts: 351
Joined: Thu Sep 22, 2005 5:46 pm
Contact:

Post by jonny »

yep, this is normal.
the pmp in the old demo works only with the demo (the format is changed with pmpmod 1.xx and is changed again with the 2.00).

you should use the remuxer with one of the trailers in the first message of this thread.
(those trailers are encoded for 1.xx)
**EDIT: now 2.xx versions are up**

thank you for the tests!


anyway it's strange, it seems like the home button results always pressed in your psp.
have someone an idea about what could be the cause?
(a behaviour of the 1.5 us firmware or something strange in the pkjai1 psp?)
Last edited by jonny on Sun Apr 23, 2006 5:09 am, edited 1 time in total.
Alcahest
Posts: 135
Joined: Fri Mar 25, 2005 2:08 am

Post by Alcahest »

arg jonny, i'd like to help but i got a psp fw 1.0 and it's working perfectly fine on it.
Here's is a rather nice Sony PMP for tests btw (PMP v2.00)
http://videoff7.free.fr/SonyStyle.pmp (3megs, Xvid)
Later,

Alcahest
jockyw2001
Posts: 339
Joined: Thu Sep 29, 2005 4:19 pm

Post by jockyw2001 »

@jonny: why is it that PMP must run in kernel mode? only because it uses the ME or is there more?

/JockyW
Last edited by jockyw2001 on Wed Apr 19, 2006 6:11 pm, edited 1 time in total.
pkjai1
Posts: 7
Joined: Sun Apr 16, 2006 4:15 pm

Post by pkjai1 »

Hmmm. I don't know. Maybe I should take apart my PSP and clean out the thing. It might work then. For now i guess I will just use the version you gave me without the exit option.
That works pretty good.

Thanks a lot.

-pkjai
jonny
Posts: 351
Joined: Thu Sep 22, 2005 5:46 pm
Contact:

Post by jonny »

in this version home function is replaced with circle
http://rapidshare.de/files/18394788/pmpmod.rar.html
so you can exit

@JockyW:
afaik only due to ME usage
Zeem
Posts: 3
Joined: Fri Apr 21, 2006 2:29 am

Post by Zeem »

hello, when im trying to start any program from the official site it says that it misses the
MSVCR71.dll file. What should i do?
Alcahest
Posts: 135
Joined: Fri Mar 25, 2005 2:08 am

Post by Alcahest »

http://www.dll-files.com/dllindex/downl ... 0UGhSFZLlW
Grab it here ^
Put it in the program folder or c:\windows\system32
Later,

Alcahest
Zeem
Posts: 3
Joined: Fri Apr 21, 2006 2:29 am

Post by Zeem »

thanks, but now when i run the pmp_remuxer.exe ( to get 1.xx PMP to 2.00 PMP video) nothing happends more that something black popup closes in less than a half second.
Alcahest
Posts: 135
Joined: Fri Mar 25, 2005 2:08 am

Post by Alcahest »

you have to drag and drop your PMP 1.0 onto the program icon, then it will be automatically converted to PMP 2.0.
Or you can also use the program in a DOS window.
Later,

Alcahest
Zeem
Posts: 3
Joined: Fri Apr 21, 2006 2:29 am

Post by Zeem »

You are the man.

Peace
someone
Idiot
Posts: 71
Joined: Tue Sep 13, 2005 9:03 pm

my opinions

Post by someone »

Hello

Why "select" and "start" buttons don't work in this new version ?
(i.e. to choose video screen size and see time while seeing a video)

I had found these functions very useful ... :-(

And I prefer the 1.2 graphic interface with time and battery indications.

But when coming back into the menu and highlight our last choice is great ...

bye.
jonny
Posts: 351
Joined: Thu Sep 22, 2005 5:46 pm
Contact:

Post by jonny »

jonny
Posts: 351
Joined: Thu Sep 22, 2005 5:46 pm
Contact:

Post by jonny »

http://jonny.leffe.dnsalias.com
PMP Demuxer v1.00

The demuxer is a command line application, the easyest way to use it is to drag and drop files over it (the files will be written in the same dir of the pmp, along with the log file containing the result of the operation).
The avi file created is slightly out of specs, when bigger than 1GB. Anyway there should be no real problems up to 2GB.

The circle is closed :)
Alcahest
Posts: 135
Joined: Fri Mar 25, 2005 2:08 am

Post by Alcahest »

Awesome, thank you Jonny!
See you,

Alcahest
Khannie
Posts: 27
Joined: Tue Apr 25, 2006 9:12 pm
Location: Dublin, Ireland

Post by Khannie »

First post....I know they don't carry too much weight. Anyway:

First off I just wanted to say thanks to Jonny and the other add-on developers. I love my psp primarily because of pmpmod. Commute? What commute? :)

Secondly: I did manage to get the perl muxer to work on linux. Here's what I did:

First I needed to install the perl vector package. I'm running ubuntu, so it was just:

sudo apt-get install libbit-vector-perl

This should be available with the standard apt repositories.

I'm sure it's handy enough to do this through CPAN also.

Then ffmpeg was generating files that didn't have matching header frame numbers and and actual frame numbers (the difference was 1 frame), so I commented out the lines in the avi_parser.pm file that were causing an exit on this error (lines 601 and 612 in the latest source....search for "number of frames").

Everything then worked. There was an error from the muxer on exit, but the resulting pmp file works like a charm.

Hope this helps someone else out. It puts me one step closer to ditching windows.
JFox
Posts: 4
Joined: Tue Apr 11, 2006 2:47 am

Post by JFox »

OK, now I have a question. I used the demuxer and it worked great. i got two files an avi and an mp3. I used VirtualDubMod and was able to put them together. The problem was I got a 44gig avi file. Luckily I had enough room on my harddrive. I then used this file to make an SP MP4. I am guess what I forgot to do was set a compression in VirtualDubMod before I saved the combined (or is it muxed) avi.

My question is what compression scheme is recommended and what settings to reduce the file size but maintain decent quality?

Thanks.
jonny
Posts: 351
Joined: Thu Sep 22, 2005 5:46 pm
Contact:

Post by jonny »

@Khannie:
actually the modules needed are included:

Carp-Clan-5.3.tar.gz
Bit-Vector-6.4.tar.gz

installing each module is easy:

perl Makefile.PL
make
make test
make install

(maybe you already know this :)


about the avi problem, seems an ffmpeg bug.
on windows, using a cvs compile (9/9/2005) all seems ok.
i've done some tests like this:

ffmpeg -i vid.avi -vcodec xvid out.avi

and the generated avi seems fine.
(what command line and ffmpeg version are you using?)


you could try to run:

perl pmp_muxer.pl -v video.avi -a audio.mp3 -o out.pmp -d 9

and send me the log file, so i can have more infos.


@JFox:
Video -> Direct stream copy
This will leave the video stream intact.
My question is what compression scheme is recommended and what settings to reduce the file size but maintain decent quality?
This question goes out of the scope of this thread
(do your homework, there are tons of resources on the web :)
JFox
Posts: 4
Joined: Tue Apr 11, 2006 2:47 am

Post by JFox »

Thanks for the response, but I don't think this is out of the scope of this thread. The question was in directed towards the demuxer and your recommendation since you would be the one to know what type of file the avi and mp3 was outputted from the demuxer. All other web resources I found work the other way; removing audio.

Anyway, thanks for the answer and the demuxer, I'll give it a try.
Eingang
Posts: 59
Joined: Wed Jan 04, 2006 7:33 am

Post by Eingang »

LOL thanks for the demuxer, Jonny...
will test this later.... nice nice ....

how good you see the chances of seeing a plugin to support media players like VLC, Winamp or WMP your PMP files somewhen?
jonny
Posts: 351
Joined: Thu Sep 22, 2005 5:46 pm
Contact:

Post by jonny »

how good you see the chances of seeing a plugin to support media players like VLC, Winamp or WMP your PMP files somewhen?
maybe, when i'll have no more things to do on the psp side
(writing a directshow filter could be a funny thing to learn, but it's probably more easy to directly port the entire player)
Khannie
Posts: 27
Joined: Tue Apr 25, 2006 9:12 pm
Location: Dublin, Ireland

Post by Khannie »

jonny wrote: (maybe you already know this :)
Nope. ;) I didn't see that they were included. Probably should have looked harder. :)
jonny wrote: (what command line and ffmpeg version are you using?)
I'm working off memory here (I'll post the actual command line tomorrow).

ffmpeg -i inputfile.avi -an -vcodec mpeg4 -vtab xvid -b 850 outputfile.avi

(not sure about the vtab part...I got it from the ffmpeg faq. using -vcodec xvid caused a failure).

I'll also post the ffmpeg version tomorrow. But it's almost certainly whatever version comes with the standard apt repositories in ubuntu 5.1.

It happened with two files. One was off by 1 frame, the other was off by 8 frames. In both cases I wasn't overly bothered, so chose to comment out the perl checks (I assumed it was there to catch larger frame differences).
jonny wrote: you could try to run:

perl pmp_muxer.pl -v video.avi -a audio.mp3 -o out.pmp -d 9

and send me the log file, so i can have more infos.
Will do. If I haven't deleted the affected avi files that is.
Khannie
Posts: 27
Joined: Tue Apr 25, 2006 9:12 pm
Location: Dublin, Ireland

Post by Khannie »

Ok, I'm at my linux box now. The actual command line I used was:

Code: Select all

ffmpeg -i inputfile.avi -an -vcodec mpeg4 -vtag xvid -s 480x272 -b 850 -threads 2 outputfile.avi

Version / config information from the command line is:

Code: Select all

ffmpeg version CVS, build 3276800, Copyright (c) 2000-2004 Fabrice Bellard
  configuration:  --build i486-linux-gnu --enable-gpl --enable-pp --enable-zlib --enable-vorbis --enable-libogg --enable-theora --enable-a52 --enable-dts --enable-dc1394 --enable-libgsm --disable-debug --prefix=/usr
  built on Sep 29 2005 03:25:16, gcc: 4.0.2 20050808 (prerelease) (Ubuntu 4.0.1-4ubuntu8)
So it could well be a bug in ffmpeg. Still....the resulting PMP file plays without any issue so I'm happy.
jonny
Posts: 351
Joined: Thu Sep 22, 2005 5:46 pm
Contact:

Post by jonny »

maybe the problem is trigged by "-threads 2" (?)
(the log could help me to definitely exclude problems in the muxer)
Khannie
Posts: 27
Joined: Tue Apr 25, 2006 9:12 pm
Location: Dublin, Ireland

Post by Khannie »

Sorry man, I misinterpreted and thought you wanted me to rerun ffmpeg. I've emailed you the log from the muxer in a zip. I sent it to the email address listed on your homepage.
jonny
Posts: 351
Joined: Thu Sep 22, 2005 5:46 pm
Contact:

Post by jonny »

Thank you very much!
Yep, it's for sure an ffmpeg bug, the number of frames in the index differs from the number of frames reported in the header (there is no superindex/OpenDML chunks so there is no escape).
Khannie
Posts: 27
Joined: Tue Apr 25, 2006 9:12 pm
Location: Dublin, Ireland

Post by Khannie »

jonny wrote:Thank you very much!
You sir, are most welcome. :)
therock003
Posts: 96
Joined: Fri Sep 23, 2005 11:09 pm

Post by therock003 »

Has support for fw 1.5 stopped altogether?
jonny
Posts: 351
Joined: Thu Sep 22, 2005 5:46 pm
Contact:

Post by jonny »

i don't understand exactly your question :)
i would say: no
(the real question is, why you ask this?)
Post Reply