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 »

thanks, looking at the log, the avi seems partially broken
using some other program
you don't want to tell me the name of this program, isn't it? :)


@Alcahest:
wmp10 shoudn't be considered a serious player hehe ;)
augustheart
Posts: 7
Joined: Sat May 13, 2006 7:14 pm

Post by augustheart »

jonny,it can support mpeg1?as we know,many vcd size is very suit for psp^_^
jonny
Posts: 351
Joined: Thu Sep 22, 2005 5:46 pm
Contact:

Post by jonny »

not easy (i'll probably never adventure on this, mainly 'cos i personally don't need this feature)
kkh
Posts: 2
Joined: Tue May 16, 2006 12:15 am

Post by kkh »

Warhammer Online E3 trailer, encoded as PMP 2.0

http://www.operation-buccaneer.com/warhammer.pmp

Encoded using mplayer.
Sorted
Posts: 33
Joined: Fri Jan 06, 2006 4:46 am

Post by Sorted »

i have not been here for a bit, im still very much enjoying using 1.02 version great picture quality no problems at all.

am i missing out by not using version 2.0 is the picture better etc?

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

Post by jonny »

i guess you should read the changelog and decide yourself :p
kkh
Posts: 2
Joined: Tue May 16, 2006 12:15 am

Post by kkh »

Here are some commands to encode to .pmp using mencoder:

Sound, using lame-codec:
mencoder input.vob -srate 44100 -oac mp3lame -lameopts aq=3:mode=0:cbr:br=96:vol=3 -ovc copy -of rawaudio -o output.mp3

Video, using xvid library, two-pass:
mencoder -nosound -vf harddup,crop=0:462:0:57,scale=480:264,expand=480:272 -ovc xvid -xvidencopts pass=1:vhq=4:noqpel:nogmc:max_bframes=0:chroma_me -sws 9 -o /dev/null input.vob
mencoder -nosound -vf harddup,crop=0:462:0:57,scale=480:264,expand=480:272 -ovc xvid -xvidencopts pass=2:vhq=4:noqpel:nogmc:max_bframes=0:bitrate=800:chroma_me -sws 9 -o output.avi input.vob

Video, using lavc library, two-pass:
mencoder -nosound -vf harddup,scale=480:272 -sws 9 -ovc lavc -lavcopts vcodec=mpeg4:threads=2:vbitrate=800:vmax_b_frames=0:mbd=2:trell:v4mv:cmp=3:subcmp=3:mbcmp=3:vpass=1 -o output.avi input.vob
mencoder -nosound -vf harddup,scale=480:272 -sws 9 -ovc lavc -lavcopts vcodec=mpeg4:threads=2:vbitrate=800:vmax_b_frames=0:mbd=2:trell:v4mv:cmp=3:subcmp=3:mbcmp=3:vpass=2 -o output.avi input.vob
sebwells
Posts: 1
Joined: Thu May 18, 2006 5:39 am

Post by sebwells »

EDIT: Just needed to comment out these defs from standard psp sdk then it compiles just fine. Is there any way to check for def and redef if already set?

I have a problem compiling, I get the following error:
In file included from mod/dsputil.h:31,
from mod/me_idct.c:32:
../libavutil/common.h:128: error: conflicting types for 'int_fast8_t'
/usr/local/pspdev/lib/gcc/psp/4.0.2/../../../../psp/include/stdint.h:163: error:
previous declaration of 'int_fast8_t' was here
../libavutil/common.h:131: error : conflicting types for 'unit_fast8_t'
/usr/local/pspdev/lib/gcc/psp/4.0.2/../../../../psp/include/stdint.h:164: error:
previous declaration of 'unit_fast8_t' was here
make[1]: *** [mod/me_idct.o] Error 1

Any ideas?

Cheers,

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

Post by jonny »

how old is your sdk?
(i'm using one grabbed on 26/4/2006 and there are no problems)
cooleyes
Posts: 123
Joined: Thu May 18, 2006 3:30 pm

Post by cooleyes »

Alcahest wrote:works fine with Zoomplayer and in graphedit but crashes WMP10, go figure ;)
Now PMP v2 support sure would be nice!
Later,

Alcahest
I have released PMPSplitter 1.0.0.4, It support PMP v1 & v2

bin(1.0.0.4)
http://rapidshare.de/files/20737500/Pmp ... r.rar.html
src(1.0.0.4)
http://rapidshare.de/files/20737405/pmp ... c.rar.html


cooleyes (eyes.cooleyes@gmail.com)
Mondy
Posts: 9
Joined: Thu Jan 05, 2006 1:43 pm

Post by Mondy »

Very nice work cooleyes so far the few things i have tried on it work great in media player classic.
jonny
Posts: 351
Joined: Thu Sep 22, 2005 5:46 pm
Contact:

Post by jonny »

wonderful! great work cooleyes

i've added 2 simple batch files to install/uninstall the splitter:

http://www.megaupload.com/?d=OWNJJZAU

for those who don't have idea of what a splitter is, simply download it and run install.bat
after this you'll be able to open pmp files with virtually every windows player!

again, great work!
kaveman
Posts: 30
Joined: Sun Jan 15, 2006 10:11 pm

Post by kaveman »

nice work guys
Eingang
Posts: 59
Joined: Wed Jan 04, 2006 7:33 am

Post by Eingang »

yiiiiipppeeeeeeehhhhh

finally pmp found full support.....
Player, Muxer, Demuxer, DirectShow .....
If Pimp-Streamer would support pmps and resizing ...
just a little bit more performance and the pmp package is complete...
katak
Posts: 5
Joined: Thu May 18, 2006 8:33 am

Post by katak »

I got a problem for video/audio, it's desynchronized, I used Xvid4PSP to create my pmp video....
cooleyes
Posts: 123
Joined: Thu May 18, 2006 3:30 pm

Post by cooleyes »

jonny wrote:wonderful! great work cooleyes

i've added 2 simple batch files to install/uninstall the splitter:

http://www.megaupload.com/?d=OWNJJZAU

for those who don't have idea of what a splitter is, simply download it and run install.bat
after this you'll be able to open pmp files with virtually every windows player!

again, great work!

en , I released a new version today, fix the bug which cause WMP crash.
http://rapidshare.de/files/20814414/Pmp ... 5.rar.html
http://rapidshare.de/files/20814497/pmp ... 5.rar.html
jonny
Posts: 351
Joined: Thu Sep 22, 2005 5:46 pm
Contact:

Post by jonny »

@cooleyes: perfect :)

I got a problem for video/audio, it's desynchronized, I used Xvid4PSP to create my pmp video....
a little reminder about how a problem should be reported (this stays in the first message of this thread):
Detailed infos are needed in order to replicate the problem.
This means software used (with exact version number) and infos about the video/audio and encoding parameters.
You can also use rapidshare.de to upload clips that show the problem (of course make sure no copyright infringement when doing this).
Use this rule: if making the report takes less then 10 minutes, you are probably going to do a not complete/useful report.
this is because we don't have a magic cap :)
in your case, to identify what happen exactly, the only solution could be uploading somewhere the source used
the problem is probably somewhere in one of the tools used in the conversion chain

about the last step, the pmp muxer, i see no chances of bugs left here (this means that if the input of the muxer, avi+mp3, is correctly in sync, the pmp generated will be in sync)
Neo3One3
Posts: 1
Joined: Mon May 22, 2006 12:50 pm

Post by Neo3One3 »

I apologize if this has already been addressed, but whenever I try to use BeSweet to get the mp3 dumped from an avi (only one in particular) it doesn't work. I really don't know what it is, and is strange because a few other random one's that I've tried have worked. The log I get is:

Code: Select all

BeSweet v1.5b29 by DSPguru.
--------------------------
Using VOBInput.dll v1.3 by DVD2SVCD (http://www.dvd2svcd.org)
Using hip.dll v1.19 by Myers Carpenter <myers@users.sf.net>
Using libVorbis.dll v1.0 &#40; Apr 12 2005 &#41; by John33 &#40;www.inf.ufpr.br/~rja00&#41;.
Using Shibatch.dll v0.24 by Naoki Shibata & DSPguru &#40;shibatch.sourceforge.net&#41;.
Using lame_enc.dll v1.32 &#40;21/3/2005&#41;, Engine 3.97 <http&#58;//www.mp3dev.org/>.

Logging start &#58; 05/21/06 , 22&#58;58&#58;43.

BeSweet.exe -core&#40; -input D&#58;\Videos\Movies\OceansTwelve.avi -output D&#58;\Videos\Movies\OceansTwelve.mp3 -logfile D&#58;\Videos\Movies\OceansTwelve.log &#41; -azid&#40; -s stereo -c normal -L -3db &#41; -ota&#40; -hybridgain &#41; -ssrc&#40; --rate 44100 &#41; -lame&#40; -b 128 &#41; 

&#91;00&#58;00&#58;00&#58;000&#93; +------- BeSweet -----                          
&#91;00&#58;00&#58;00&#58;000&#93; |  Input &#58; D&#58;\Videos\Movies\OceansTwelve.avi
&#91;00&#58;00&#58;00&#58;000&#93; |  Output&#58; D&#58;\Videos\Movies\OceansTwelve.mp3
&#91;00&#58;00&#58;00&#58;000&#93; |  Floating-Point Process&#58; Yes
&#91;00&#58;00&#58;00&#58;000&#93; |  PostGain normalize to &#58; 0.97
&#91;00&#58;00&#58;00&#58;000&#93; |  A/V Delay found &#58; 0msec
&#91;00&#58;00&#58;00&#58;000&#93; +------ Shibatch -----
&#91;00&#58;00&#58;00&#58;000&#93; |  Source Sample-Rate&#58; 11.0KHz
&#91;00&#58;00&#58;00&#58;000&#93; |  Dest.  Sample-Rate&#58; 44.1KHz
&#91;00&#58;00&#58;00&#58;000&#93; |  Attenuation       &#58; 0.0db
&#91;00&#58;00&#58;00&#58;000&#93; +-------- LAME -------
&#91;00&#58;00&#58;00&#58;000&#93; |  Bitrate method  &#58; CBR         
&#91;00&#58;00&#58;00&#58;000&#93; |  MP3 bitrate     &#58; 128
&#91;00&#58;00&#58;00&#58;000&#93; |  Channels Mode   &#58; Joint Stereo
&#91;00&#58;00&#58;00&#58;000&#93; |  Error Protection&#58; No
&#91;00&#58;00&#58;00&#58;000&#93; +---------------------
Any help would be appreciated.
Alcahest
Posts: 135
Joined: Fri Mar 25, 2005 2:08 am

Post by Alcahest »

hey Cooleyes!
Thanks for the new build! It works just fine indeed in WMP now (not that I use it though, but for completeness it's pretty cool ^_^)
See you!

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

Post by jonny »

@Neo3One3:

try to demux the audio track with VirtualDubMod first (sincerely i never used besweet in this way).

anyway remember: general audio/video encoding problems shouldn't be posted here
jonny
Posts: 351
Joined: Thu Sep 22, 2005 5:46 pm
Contact:

Post by jonny »

@cooleyes:

could you release a binary with a resolution limit of 720x512 (i don't have vstudio so i can't compile it myself)?
that will be the limit for the next pmpmod version (having the splitter already working help a bit my current development :)
rzxiao
Posts: 13
Joined: Sun Feb 05, 2006 7:55 pm

Post by rzxiao »

hi,jonny, thank for your great work at first.
And I have a question, from a programmer's perspective.why pmpmod can only run at PSP with 1.5? why can't 2.5 or 2.6

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

Post by arex »

720x512

en...it sounds so good, i cant wait for it~~
User avatar
Itaintrite
Posts: 54
Joined: Fri Jul 15, 2005 12:32 pm

Post by Itaintrite »

How will we benefit from such a high-resolution though? It'll just use up more space and the player will have to downsize the video to fit the screen anyway. No?
jonny
Posts: 351
Joined: Thu Sep 22, 2005 5:46 pm
Contact:

Post by jonny »

rzxiao:
because i use the ME (the second psp cpu).
the ME can be used only in kernel mode, and kernel mode = only fw 1.0-1.5

arex:
obviously a 720x512 clip will stutter a lot :)
but 640x272 clips are near to be playable, the new version is coming out very well ;)


EDIT:
Itaintrite: you miss an important point: muxing the video without the need of reencoding (you can also enjoy more chroma information with an higher resolution)
arex
Posts: 23
Joined: Sun Dec 18, 2005 10:58 pm

Post by arex »

jonny wrote:
but 640x272 clips are near to be playable, the new version is coming out very well ;)


EDIT:
Itaintrite: you miss an important point: muxing the video without the need of reencoding (you can also enjoy more chroma information with an higher resolution)
en...lots of didrips-1cd are encoded by 640x272, by xvid & mp3~~

they can be remuxed to .pmp and play directly..

but.. i still need to reedcod it ,because ...subtitles

jonny, if it can get higher quality if playing a 640x272 video, compare to 480x208
cooleyes
Posts: 123
Joined: Thu May 18, 2006 3:30 pm

Post by cooleyes »

jonny wrote:@cooleyes:

could you release a binary with a resolution limit of 720x512 (i don't have vstudio so i can't compile it myself)?
that will be the limit for the next pmpmod version (having the splitter already working help a bit my current development :)
OK, this binary release is for you
http://rapidshare.de/files/21312863/PmpSplitter.ax.html
it can play a pmp with a resolution limit of 720x512
jonny
Posts: 351
Joined: Thu Sep 22, 2005 5:46 pm
Contact:

Post by jonny »

thank you soooo much cooleyes :)

arex:
a 640x272 have more chroma information, but with 480x208 there is no luma resize involved (probably i still prefer 480x208)
Last edited by jonny on Fri May 26, 2006 6:39 am, edited 1 time in total.
User avatar
Itaintrite
Posts: 54
Joined: Fri Jul 15, 2005 12:32 pm

Post by Itaintrite »

jonny wrote:EDIT:
Itaintrite: you miss an important point: muxing the video without the need of reencoding (you can also enjoy more chroma information with an higher resolution)
You're right. I did forget about that. Though you'd still have to demux the audio first. How about creating a muxer that will do that for you, eh jonny? :D

Anyway, good work :)
jonny
Posts: 351
Joined: Thu Sep 22, 2005 5:46 pm
Contact:

Post by jonny »

there is still the 44100hz audio conversion step :(
Post Reply