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 

PMP Mod v2.02 & PMP Mod AVC v1.02
Goto page Previous  1, 2, 3 ... 42, 43, 44 ... 60, 61, 62  Next
 
Post new topic   Reply to topic    forums.ps2dev.org Forum Index -> PSP Development
View previous topic :: View next topic  
Author Message
jonny



Joined: 22 Sep 2005
Posts: 351

PostPosted: Sat May 13, 2006 5:30 pm    Post subject: Reply with quote

thanks, looking at the log, the avi seems partially broken

Quote:

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 ;)
Back to top
View user's profile Send private message Visit poster's website
augustheart



Joined: 13 May 2006
Posts: 7

PostPosted: Sat May 13, 2006 7:24 pm    Post subject: Reply with quote

jonny,it can support mpeg1?as we know,many vcd size is very suit for psp^_^
Back to top
View user's profile Send private message
jonny



Joined: 22 Sep 2005
Posts: 351

PostPosted: Sat May 13, 2006 7:56 pm    Post subject: Reply with quote

not easy (i'll probably never adventure on this, mainly 'cos i personally don't need this feature)
Back to top
View user's profile Send private message Visit poster's website
kkh



Joined: 16 May 2006
Posts: 2

PostPosted: Tue May 16, 2006 1:29 am    Post subject: Reply with quote

Warhammer Online E3 trailer, encoded as PMP 2.0

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

Encoded using mplayer.
Back to top
View user's profile Send private message
Sorted



Joined: 06 Jan 2006
Posts: 33

PostPosted: Tue May 16, 2006 8:34 am    Post subject: Reply with quote

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
Back to top
View user's profile Send private message
jonny



Joined: 22 Sep 2005
Posts: 351

PostPosted: Tue May 16, 2006 5:33 pm    Post subject: Reply with quote

i guess you should read the changelog and decide yourself :p
Back to top
View user's profile Send private message Visit poster's website
kkh



Joined: 16 May 2006
Posts: 2

PostPosted: Tue May 16, 2006 9:47 pm    Post subject: Reply with quote

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
Back to top
View user's profile Send private message
sebwells



Joined: 18 May 2006
Posts: 1

PostPosted: Thu May 18, 2006 6:00 am    Post subject: Reply with quote

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
Back to top
View user's profile Send private message
jonny



Joined: 22 Sep 2005
Posts: 351

PostPosted: Thu May 18, 2006 8:48 am    Post subject: Reply with quote

how old is your sdk?
(i'm using one grabbed on 26/4/2006 and there are no problems)
Back to top
View user's profile Send private message Visit poster's website
cooleyes



Joined: 18 May 2006
Posts: 125

PostPosted: Thu May 18, 2006 3:41 pm    Post subject: Reply with quote

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/PmpSplitter.rar.html
src(1.0.0.4)
http://rapidshare.de/files/20737405/pmpsplittersrc.rar.html


cooleyes (eyes.cooleyes@gmail.com)
Back to top
View user's profile Send private message
Mondy



Joined: 05 Jan 2006
Posts: 9

PostPosted: Thu May 18, 2006 7:12 pm    Post subject: Reply with quote

Very nice work cooleyes so far the few things i have tried on it work great in media player classic.
Back to top
View user's profile Send private message
jonny



Joined: 22 Sep 2005
Posts: 351

PostPosted: Thu May 18, 2006 8:39 pm    Post subject: Reply with quote

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!
Back to top
View user's profile Send private message Visit poster's website
kaveman



Joined: 15 Jan 2006
Posts: 30

PostPosted: Thu May 18, 2006 8:48 pm    Post subject: Reply with quote

nice work guys
Back to top
View user's profile Send private message
Eingang



Joined: 04 Jan 2006
Posts: 59

PostPosted: Thu May 18, 2006 11:01 pm    Post subject: Reply with quote

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...
Back to top
View user's profile Send private message
katak



Joined: 18 May 2006
Posts: 5

PostPosted: Fri May 19, 2006 6:31 am    Post subject: Reply with quote

I got a problem for video/audio, it's desynchronized, I used Xvid4PSP to create my pmp video....
Back to top
View user's profile Send private message
cooleyes



Joined: 18 May 2006
Posts: 125

PostPosted: Fri May 19, 2006 12:19 pm    Post subject: Reply with quote

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/PmpSplitter-1.0.0.5.rar.html
http://rapidshare.de/files/20814497/pmpsplittersrc-1.0.0.5.rar.html
Back to top
View user's profile Send private message
jonny



Joined: 22 Sep 2005
Posts: 351

PostPosted: Fri May 19, 2006 6:51 pm    Post subject: Reply with quote

@cooleyes: perfect :)


Quote:

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):
Quote:

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)
Back to top
View user's profile Send private message Visit poster's website
Neo3One3



Joined: 22 May 2006
Posts: 1

PostPosted: Mon May 22, 2006 12:53 pm    Post subject: Reply with quote

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:
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 ( Apr 12 2005 ) by John33 (www.inf.ufpr.br/~rja00).
Using Shibatch.dll v0.24 by Naoki Shibata & DSPguru (shibatch.sourceforge.net).
Using lame_enc.dll v1.32 (21/3/2005), Engine 3.97 <http://www.mp3dev.org/>.

Logging start : 05/21/06 , 22:58:43.

BeSweet.exe -core( -input D:\Videos\Movies\OceansTwelve.avi -output D:\Videos\Movies\OceansTwelve.mp3 -logfile D:\Videos\Movies\OceansTwelve.log ) -azid( -s stereo -c normal -L -3db ) -ota( -hybridgain ) -ssrc( --rate 44100 ) -lame( -b 128 )

[00:00:00:000] +------- BeSweet -----                         
[00:00:00:000] |  Input : D:\Videos\Movies\OceansTwelve.avi
[00:00:00:000] |  Output: D:\Videos\Movies\OceansTwelve.mp3
[00:00:00:000] |  Floating-Point Process: Yes
[00:00:00:000] |  PostGain normalize to : 0.97
[00:00:00:000] |  A/V Delay found : 0msec
[00:00:00:000] +------ Shibatch -----
[00:00:00:000] |  Source Sample-Rate: 11.0KHz
[00:00:00:000] |  Dest.  Sample-Rate: 44.1KHz
[00:00:00:000] |  Attenuation       : 0.0db
[00:00:00:000] +-------- LAME -------
[00:00:00:000] |  Bitrate method  : CBR         
[00:00:00:000] |  MP3 bitrate     : 128
[00:00:00:000] |  Channels Mode   : Joint Stereo
[00:00:00:000] |  Error Protection: No
[00:00:00:000] +---------------------

Any help would be appreciated.
Back to top
View user's profile Send private message AIM Address
Alcahest



Joined: 25 Mar 2005
Posts: 135

PostPosted: Mon May 22, 2006 1:15 pm    Post subject: Reply with quote

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
Back to top
View user's profile Send private message
jonny



Joined: 22 Sep 2005
Posts: 351

PostPosted: Mon May 22, 2006 5:38 pm    Post subject: Reply with quote

@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
Back to top
View user's profile Send private message Visit poster's website
jonny



Joined: 22 Sep 2005
Posts: 351

PostPosted: Mon May 22, 2006 7:22 pm    Post subject: Reply with quote

@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 :)
Back to top
View user's profile Send private message Visit poster's website
rzxiao



Joined: 05 Feb 2006
Posts: 13

PostPosted: Wed May 24, 2006 11:55 pm    Post subject: Reply with quote

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
Back to top
View user's profile Send private message
arex



Joined: 18 Dec 2005
Posts: 23

PostPosted: Thu May 25, 2006 3:13 am    Post subject: Reply with quote

720x512

en...it sounds so good, i cant wait for it~~
Back to top
View user's profile Send private message
Itaintrite



Joined: 15 Jul 2005
Posts: 54

PostPosted: Thu May 25, 2006 3:52 am    Post subject: Reply with quote

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?
Back to top
View user's profile Send private message
jonny



Joined: 22 Sep 2005
Posts: 351

PostPosted: Thu May 25, 2006 3:52 am    Post subject: Reply with quote

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)
Back to top
View user's profile Send private message Visit poster's website
arex



Joined: 18 Dec 2005
Posts: 23

PostPosted: Thu May 25, 2006 9:28 am    Post subject: Reply with quote

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
Back to top
View user's profile Send private message
cooleyes



Joined: 18 May 2006
Posts: 125

PostPosted: Thu May 25, 2006 11:27 am    Post subject: Reply with quote

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
Back to top
View user's profile Send private message
jonny



Joined: 22 Sep 2005
Posts: 351

PostPosted: Thu May 25, 2006 9:36 pm    Post subject: Reply with quote

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
Back to top
View user's profile Send private message Visit poster's website
Itaintrite



Joined: 15 Jul 2005
Posts: 54

PostPosted: Thu May 25, 2006 11:09 pm    Post subject: Reply with quote

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 :)
Back to top
View user's profile Send private message
jonny



Joined: 22 Sep 2005
Posts: 351

PostPosted: Fri May 26, 2006 5:23 pm    Post subject: Reply with quote

there is still the 44100hz audio conversion step :(
Back to top
View user's profile Send private message Visit poster's website
Display posts from previous:   
Post new topic   Reply to topic    forums.ps2dev.org Forum Index -> PSP Development All times are GMT + 10 Hours
Goto page Previous  1, 2, 3 ... 42, 43, 44 ... 60, 61, 62  Next
Page 43 of 62

 
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