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 ... 7, 8, 9 ... 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
Itaintrite



Joined: 15 Jul 2005
Posts: 54

PostPosted: Sat Jan 07, 2006 3:51 pm    Post subject: Reply with quote

artik wrote:
Itaintrite wrote:
@artik: do I use PAL for all videos? Even the NTSC ones?


in fact all my tests where better in pal.
In the video world : NTSC = Never The Same Color

hehe ;)

Great. Thanks for the tip.
Back to top
View user's profile Send private message
AZImmortal



Joined: 05 Jan 2006
Posts: 14

PostPosted: Sat Jan 07, 2006 4:54 pm    Post subject: Reply with quote

jonny wrote:
maybe i like more bookmark instead of always resume (still thinking about this)
go to time-frame will probably never be here :) (i'll probably add a fast seek with the analog controller + of course some sort of time indicator and timeline)
custom thumbnails ... better to fly over this request :P :)

I think a good button config would be:
left/right = same as now (rw/ff)
up = pause/play
down = stop
left/right triggers = jump backward/forward

and the face buttons can toggle different things like showing time elapsed/remaining, enable/disable resume, bookmark, etc, or whatever you decide to implement.

therock003 wrote:
Jonny what can be done with the order the files appear?Can't they be sorted by the user or at least appear in alphabetical order?

I was wondering the same thing about the file order.

jonny: Is folder support possibly on the "to do" list? And would it also be possible to show the volume level?
Back to top
View user's profile Send private message
26bboy



Joined: 06 Jan 2006
Posts: 6

PostPosted: Sat Jan 07, 2006 7:38 pm    Post subject: Reply with quote

If anyone wants to get crazy skipping video (like the spiderman trailer johnny posted earlier but far worse) to see what pmp mod can handle encode your xvid videos with quarter pixel ticked.

I get choppy video and audio at just 300kbps! So dont enable this, i found this out while seeing what different xvid settings i can use.

What i think would be great would be to see this implemented in psp-oss or something similar so we have an operating system which uses this as its video player.
Back to top
View user's profile Send private message
jonny



Joined: 22 Sep 2005
Posts: 351

PostPosted: Sat Jan 07, 2006 9:58 pm    Post subject: Reply with quote

the code to do this is quite simple:

Code:

char *static_init()
   {
   scePowerSetClockFrequency(333, 333, 166);
   scePowerLock(0);


   sceCtrlSetSamplingCycle(0);
   sceCtrlSetSamplingMode(PSP_CTRL_MODE_ANALOG);


   av_register_all();


   if (me_struct_init() == 0)
      {
      return("static_init: me_struct_init failed");
      }


   if (me_idct_p_malloc() == 0)
      {
      return("static_init: me_idct_p_malloc failed");
      }


   return(0);
   }


int main(int unused0, char *unused1[])
   {
   pspDebugScreenInit();

   if (static_init() == 0)
      {
      char *result = pmp_play("yourfile.pmp");
      if (result != 0)
         {
         // show the error
         }
      }


   sceKernelExitGame();
   return(0);
   }



plus there is a need to reduce max buffer allocation in "pmp_decode.h", depending on how base memory eat the caller
Back to top
View user's profile Send private message Visit poster's website
malloc



Joined: 28 Apr 2005
Posts: 23

PostPosted: Sat Jan 07, 2006 10:29 pm    Post subject: Reply with quote

I've updated the small mod I posted earlier. ** edited ***

- Left and Right trigger can be used to adjust the luminosity during playback (it's usefull to add a bit of luminosity to remove the bad ghosting effect of the LCD screen in dark scenes)
- if START is pressed during play, it goes to the start of the video.
- if the .PMP.POS file is selected in the file selector, it launches the .PMP directly


App :
http://rapidshare.de/files/10585949/pmpmod.zip.html

Src :
http://rapidshare.de/files/10586040/pmpmod_src.zip.html

Jonny, I'll have some time to do some PSP dev, if you have a todo list and want me to do some of the things to help you, PM me ;)[/b]


Last edited by malloc on Sun Jan 08, 2006 1:44 am; edited 1 time in total
Back to top
View user's profile Send private message
artik



Joined: 01 Dec 2005
Posts: 37

PostPosted: Sun Jan 08, 2006 12:18 am    Post subject: Reply with quote

malloc wrote:
Jonny, I'll have some time to do some PSP dev, if you have a todo list and want me to do some of the things to help you, PM me ;)


Woaw, one of the first help in the psp scene i saw. what about using CVS ? can create account if you need.


Nice malloc
Back to top
View user's profile Send private message
daume



Joined: 05 Jan 2006
Posts: 6

PostPosted: Sun Jan 08, 2006 12:30 am    Post subject: Reply with quote

great job malloc !
thanks for useful options

cya
_________________
++ all
Back to top
View user's profile Send private message
imutau



Joined: 15 Dec 2005
Posts: 15

PostPosted: Sun Jan 08, 2006 12:32 am    Post subject: Reply with quote

malloc wrote:
I've updated the small mod I posted earlier.

- if START is pressed during play, it goes to the start of the video.
- if the .PMP.POS file is selected in the file selector, it launches the .PMP directly

App :
http://rapidshare.de/files/10574097/pmpmod.zip.html

Src :
http://rapidshare.de/files/10574114/pmpmod_src.zip.html

Jonny, I'll have some time to do some PSP dev, if you have a todo list and want me to do some of the things to help you, PM me ;)


Wow I'm liking this mod alot. Thanks malloc for the update this thing is just getting better and better.

I think the analog stick would be better as a FF/REW tool and maybe use the Left and right buttons or the shoulder buttons as a position skip like say every 1 min or 3 min or 5 min skip or 2x/4x/8x FF/REW just a suggestion.

As always great stuff. Thanks to all again.
Back to top
View user's profile Send private message
Dnim



Joined: 06 Jan 2006
Posts: 12

PostPosted: Sun Jan 08, 2006 2:10 am    Post subject: Reply with quote

muxer fails with:
Code:

Processing video ...
dwTotalFrames: 5400
dwWidth:       480
dwHeight:      272
dwScale:       400000
dwRate:        10000000
movi:          32528

Status: [invalid dwTotalFrames]


Code:

Processing video ...
475 / 501
dwTotalFrames: 501
dwWidth:       480
dwHeight:      272
dwScale:       400000
dwRate:        10000000
movi:          32528

Status: [invalid dwTotalFrames]


-when does "invalid dwTotalFrames" get triggered?
(i shall look into the source when I get more time)

---------------------------
codec Xvid
Q4 (type h.263), start frame0, begin with key frame, SP, unchecked(AQ,IE,QP,GMC,B-VOPs), VHQ-off, Use chroma motion, no turbo, FrameDrop=0, I-frame interval 300, Trellis quantization
commercial encoder (have not had problems with it until now)
tested with "non-compatible indexing" DS compatible (AVI2 only) and with VFW compatible indexing (avi1/2 compatible)

of course with 3GP_converter it had no problem
_________________
LVX


Last edited by Dnim on Sun Jan 08, 2006 4:25 am; edited 4 times in total
Back to top
View user's profile Send private message
k0nan



Joined: 03 Jan 2006
Posts: 36

PostPosted: Sun Jan 08, 2006 2:57 am    Post subject: Reply with quote

Jonny, awesome player! So far out of my encodes and all the others I've downloaded from this thread, Spiderman 2 still looks the most amazing. What was the exact encoder, codec, and settings you used?
Back to top
View user's profile Send private message
zshadow



Joined: 26 Dec 2005
Posts: 42

PostPosted: Sun Jan 08, 2006 3:15 am    Post subject: Reply with quote

therock003 wrote:
artik where can i find the profile you're tslking about?

zshadow

do they play fine?Cause 1900 is some serious bitrate!


Yep, it plays perfect.
Back to top
View user's profile Send private message
Sorted



Joined: 06 Jan 2006
Posts: 33

PostPosted: Sun Jan 08, 2006 4:14 am    Post subject: Reply with quote

Quote:
Jonny, awesome player! So far out of my encodes and all the others I've downloaded from this thread, Spiderman 2 still looks the most amazing. What was the exact encoder, codec, and settings you used?


I did a Sin City encode which I would say matches the Spiderman one.

It depends on your Source for quality i would think.

Mind you i would like to know his exact settings :)

This whole thing gets better everyday, encodes are quite easy once you get the hang of it and the NEW PMP mod whereby you can start where u left off is great as well

TOP WORK COMPUTER BOFFIN PEEPS INVOLVED!!
Back to top
View user's profile Send private message
jonny



Joined: 22 Sep 2005
Posts: 351

PostPosted: Sun Jan 08, 2006 5:59 am    Post subject: Reply with quote

@Dnim:

Quote:

when does "invalid dwTotalFrames" get triggered?


when the number of frames in the header doesn't match the frames found in the file.
could be a not fully valid file.
try to check it with virtualdub (video -> ~scan for errors menu)
this could also happen with large files (maybe 1-2 GB files - still not managed to get a serious test since the majority have a 1GB mem stick right now)

Quote:

Cause 1900 is some serious bitrate!

i've told this at the time of the demo, i was pushing 1800-2000 kbps with no problems
in some recent tests i was getting stuttering only with scenes with a much higher bitrate



sp2 is encoded using this simple avisynth script:

directshowsource("Spider-Man 2 - Trailer.avi")
lanczosresize(480,272)


the original avi is 608x336 and is not perfect (little blocking present in the pmp, was also present in the source)
the avi gets decoded via ffdshow, with no postprocessing (iirc)

all is encoded with vdub, latest xvid, default options (so quant=4) but no bframes


maybe many of you are using clips that gets decoded with divx with film effect enabled (this waste compressibility of the movie)
Back to top
View user's profile Send private message Visit poster's website
Dnim



Joined: 06 Jan 2006
Posts: 12

PostPosted: Sun Jan 08, 2006 7:18 am    Post subject: Reply with quote

@jonny:

scanned with VirtualDub...
0-bad frames
0-frames good but undecodable

otherwise VD reports the same number of frames as the muxer.

the muxer handles the error immediately after start, before processing frames (as far as I can tell)

(the files are quite small, it happens even with a few hundred frames)

could this be the problem?:

_________________
LVX
Back to top
View user's profile Send private message
NyNex



Joined: 08 Jan 2006
Posts: 13

PostPosted: Sun Jan 08, 2006 7:37 am    Post subject: audiojumping Reply with quote

Hi!

I would like to say that your PMP is amazing.

I have been making pmp videos to probe audiojumping because of the fact that i am a 4GB datel hdd owner (spiderman trailer sometimes jump on hdd, not on memory stick).

I have selected Matrix to make these probes. The beginning of the film, when Trinity is talking by telephone with Cypher and there are a lot of green numbers changing on screen, is a good test for PMP. I have noticed audiojumping (even on memory stick) using bitrates from 350Kbps (lower still not probed) and audio from 56kbps. xvid (not GMC,QPEL) and divx codecs. Resolution 480x272. Ripped from original DVD using GKnot.

Thank you for this app.


Last edited by NyNex on Sun Jan 08, 2006 7:55 am; edited 1 time in total
Back to top
View user's profile Send private message
Itaintrite



Joined: 15 Jul 2005
Posts: 54

PostPosted: Sun Jan 08, 2006 7:41 am    Post subject: Reply with quote

Can somebody upload malloc's updated mod to a different host please? I've exceeded rapidshare's limit for today (a measly 35mb) and I can't dl for another day. I'll even host the file on my webhost if somebody sends it to me. THanks.
Back to top
View user's profile Send private message
gcmospeada



Joined: 05 Jan 2006
Posts: 4

PostPosted: Sun Jan 08, 2006 7:42 am    Post subject: Reply with quote

malloc:

is it possible to do a fast foward? or play 16x? or a 2minute jump into the future of the video?
Back to top
View user's profile Send private message
Dnim



Joined: 06 Jan 2006
Posts: 12

PostPosted: Sun Jan 08, 2006 8:22 am    Post subject: Reply with quote

@malloc/jonny:

the POS needs resetting after the video finishes :)

and maybe it will be a good idea to start the video from last position only if you choose .POS file, and from the very start if you choose the .PMP (so you can have a choice to start from the beginning)
and file-list update on exit video (by "end" or choice) is a good idea...

cheers
_________________
LVX
Back to top
View user's profile Send private message
MalumEnSe



Joined: 20 May 2005
Posts: 5

PostPosted: Sun Jan 08, 2006 8:39 am    Post subject: Reply with quote

Itaintrite wrote:
Can somebody upload malloc's updated mod to a different host please? I've exceeded rapidshare's limit for today (a measly 35mb) and I can't dl for another day. I'll even host the file on my webhost if somebody sends it to me. THanks.


Ask and ye shall receive - we've mirrored the file on PSPUpdates. Great work Malloc, and Jonny as well - I love where this program is going!! :)
Back to top
View user's profile Send private message
GiBBz



Joined: 17 Nov 2005
Posts: 19

PostPosted: Sun Jan 08, 2006 8:48 am    Post subject: Reply with quote

I don't mean to be the bearer of bad news, but i have a clip that crashes every time in mallocs version same frame everytime. yet it plays fine on Jonny's, i would upload the video but it has a X rating, it is pornographic.

Let me know if u want the clip its 2mb, and recreates a glitch in Mallocs mod everytime (mod1) havnt tried 2yet.
_________________
(+.[____]·:·)
Back to top
View user's profile Send private message
BlackPaladin



Joined: 06 Jan 2006
Posts: 11
Location: Portland, Oregon -- USA

PostPosted: Sun Jan 08, 2006 9:04 am    Post subject: Muxer update Reply with quote

I kept running into the same errors in my video all the time and was getting tired of uploading the whole thing to the PSP only to find it wouldn't play. I've built a version of the pmp_muxer.pm which will catch many of the errors detected in the player on the PSP. That way you find out before you copy the file over (I'm on USB 1.1....). Particularly I kept running into "first frame is not a keyframe". This version will also catch sizing problems, etc. Most of the things looked for in the player. No audio checking right now.

http://www.matthias.org/pspdev/pmp/pmp_muxer.pm

I am using the perl script directly. I don't know what jonny did to build the perl script into an .exe file (and I don't have a Windows box) so if you want to use this, run the perl script directly. Or maybe jonny wants to make an .exe from it.
_________________
Unix Junkie
Back to top
View user's profile Send private message Visit poster's website
BaLdMoNkEy



Joined: 08 Jan 2006
Posts: 8

PostPosted: Sun Jan 08, 2006 9:20 am    Post subject: PSPMPVerter.0.2 Reply with quote

Quote:
I have made a simple gui compatible with "mencoder" and "pmp muxer" to make conversion into pmp files about 100x easier for those who dont know how :p
is has now been updated to 0.9

Last edited by BaLdMoNkEy on Fri Jan 13, 2006 9:42 am; edited 1 time in total
Back to top
View user's profile Send private message
yazooo



Joined: 07 Jan 2006
Posts: 5

PostPosted: Sun Jan 08, 2006 10:06 am    Post subject: Reply with quote

good effort, trying that now, ta...just after i've been tinkering with the bat files lol
Back to top
View user's profile Send private message
yazooo



Joined: 07 Jan 2006
Posts: 5

PostPosted: Sun Jan 08, 2006 10:11 am    Post subject: Reply with quote

works well, couple of things...you're using the divx codec, an option for xvid would be nice. option for 1 pass only would be nice. output folder location would also be good. queuing would be a godsend!
Back to top
View user's profile Send private message
xxxstarmanxxx



Joined: 05 Jan 2006
Posts: 84

PostPosted: Sun Jan 08, 2006 10:31 am    Post subject: Reply with quote

malloc wrote:
I've updated the small mod I posted earlier. ** edited ***

- Left and Right trigger can be used to adjust the luminosity during playback (it's usefull to add a bit of luminosity to remove the bad ghosting effect of the LCD screen in dark scenes)
- if START is pressed during play, it goes to the start of the video.
- if the .PMP.POS file is selected in the file selector, it launches the .PMP directly


App :
http://rapidshare.de/files/10585949/pmpmod.zip.html

Src :
http://rapidshare.de/files/10586040/pmpmod_src.zip.html

Jonny, I'll have some time to do some PSP dev, if you have a todo list and want me to do some of the things to help you, PM me ;)[/b]


Hi Malloc

Can I just say thankyou mate for the amplification code on your mod - Its saved me loads of time -

Looking forward to your next round of tweaks!

All the best

J.
Back to top
View user's profile Send private message
Itaintrite



Joined: 15 Jul 2005
Posts: 54

PostPosted: Sun Jan 08, 2006 1:18 pm    Post subject: Reply with quote

Thanks BaldMonkey for the easy-to-use converter.
Back to top
View user's profile Send private message
csuper



Joined: 03 Jan 2006
Posts: 103

PostPosted: Sun Jan 08, 2006 7:16 pm    Post subject: Reply with quote

@ BaLdMoNkEy...

Thanx for a GUI : very interesting... :)

May I ask you more feature ?
If you got time, can you add to a v3 :
+ the possibility to choose xvid or divx...
Example of command line for xvid :
... -ovc xvid -xvidencopts pass=1:vhq=0:me_quality=6:chroma_opt ...
and
... -ovc xvid -xvidencopts pass=2:vhq=0:bitrate=768:me_quality=6:chroma_opt ...

+ the possibility to add a subtitle to the video stream (hardsub) :
... -sub "VIDEONAME.SRT" -subpos 100 -subcp cp950 -subfont-text-scale 3
ps : subfont-text-scale is the size of the text...

Anyway thanx.

csuper.
Back to top
View user's profile Send private message
miemt11



Joined: 20 Nov 2005
Posts: 89

PostPosted: Sun Jan 08, 2006 7:36 pm    Post subject: PMP Simple Converter 0.01 for memcoder Reply with quote

PMP Simple Converter 0.01 for memcoder

What it do?

1: Convert any video (rmvb, avi mpg, wmv) to PSP PMP format

2: Support size is 320x240, 360x272 and 480x272 resolution

3: All PMP output video are harddup enable

4: Encode Process Priority


Component Requirement:

1: Get all the memcoder component from here
http://www.mplayerhq.hu/homepage/design7/dload.html
or here http://oss.netfarm.it/mplayer-win32.php than and intall all any directory you like. e.g. C:\Memcoder
2: Put pmp_muxer.exe to the intall directory e.g. C:\Memcoder

3: Now extract my PMP Simple to the intall directory e.g. C:\Memcoder

4: .Net Framework Runtime 2.00 from here
http://download.microsoft.com/download/5/6/7/567758a3-759e-473e-bf8f-52154438565a/dotnetfx.exe




Develop by miemt11


Download here

http://s12.yousendit.com/d.aspx?id=1KTWKOVUQ8ILM2ZYXCBSLFCBKZ

or

here

http://rapidshare.de/files/10633295/PMP_simple_0.01.rar.html
Back to top
View user's profile Send private message
weltall



Joined: 20 Feb 2004
Posts: 310

PostPosted: Sun Jan 08, 2006 8:03 pm    Post subject: Reply with quote

this won't work for me. :( .net framework 2.0 make catalyst go crazy so i have only 1.1
Back to top
View user's profile Send private message Visit poster's website
jonny



Joined: 22 Sep 2005
Posts: 351

PostPosted: Sun Jan 08, 2006 11:02 pm    Post subject: Reply with quote

@NyNex:

probably the hd have a slower reading rate, causing serious bottleneck.
async read could solve this, but require big changes in the actual code (+ i can't check if it really works)
maybe changing the size of the reading buffer could help, when i have time i could send you a benchmark app, in order to check optimal parameters
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 ... 7, 8, 9 ... 60, 61, 62  Next
Page 8 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