Great. Thanks for the tip.artik wrote:in fact all my tests where better in pal.Itaintrite wrote:@artik: do I use PAL for all videos? Even the NTSC ones?
In the video world : NTSC = Never The Same Color
hehe ;)
PMP Mod v2.02 & PMP Mod AVC v1.02
- Itaintrite
- Posts: 54
- Joined: Fri Jul 15, 2005 12:32 pm
-
- Posts: 14
- Joined: Thu Jan 05, 2006 4:16 am
I think a good button config would be: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 :)
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.
I was wondering the same thing about the file order.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?
jonny: Is folder support possibly on the "to do" list? And would it also be possible to show the volume level?
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.
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.
the code to do this is quite simple:
plus there is a need to reduce max buffer allocation in "pmp_decode.h", depending on how base memory eat the caller
Code: Select all
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
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]
- 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.
Wow I'm liking this mod alot. Thanks malloc for the update this thing is just getting better and better.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 ;)
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.
muxer fails with:
-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
Code: Select all
Processing video ...
dwTotalFrames: 5400
dwWidth: 480
dwHeight: 272
dwScale: 400000
dwRate: 10000000
movi: 32528
Status: [invalid dwTotalFrames]
Code: Select all
Processing video ...
475 / 501
dwTotalFrames: 501
dwWidth: 480
dwHeight: 272
dwScale: 400000
dwRate: 10000000
movi: 32528
Status: [invalid dwTotalFrames]
(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
Last edited by Dnim on Sun Jan 08, 2006 4:25 am, edited 4 times in total.
LVX
I did a Sin City encode which I would say matches the Spiderman one.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?
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!!
@Dnim:
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)
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)
when the number of frames in the header doesn't match the frames found in the file.when does "invalid dwTotalFrames" get triggered?
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)
i've told this at the time of the demo, i was pushing 1800-2000 kbps with no problemsCause 1900 is some serious bitrate!
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)
@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?:
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
audiojumping
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.
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.
- Itaintrite
- Posts: 54
- Joined: Fri Jul 15, 2005 12:32 pm
-
- Posts: 4
- Joined: Thu Jan 05, 2006 2:02 pm
@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
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
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!! :)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.
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.
Let me know if u want the clip its 2mb, and recreates a glitch in Mallocs mod everytime (mod1) havnt tried 2yet.
(+.[____]·:·)
-
- Posts: 11
- Joined: Fri Jan 06, 2006 3:55 am
- Location: Portland, Oregon -- USA
- Contact:
Muxer update
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.
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
-
- Posts: 8
- Joined: Sun Jan 08, 2006 9:15 am
PSPMPVerter.0.2
is has now been updated to 0.9I 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
Last edited by BaLdMoNkEy on Fri Jan 13, 2006 9:42 am, edited 1 time in total.
-
- Posts: 84
- Joined: Thu Jan 05, 2006 8:52 am
Hi Mallocmalloc 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]
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.
- Itaintrite
- Posts: 54
- Joined: Fri Jul 15, 2005 12:32 pm
@ 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.
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.
PMP Simple Converter 0.01 for memcoder
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/ ... tnetfx.exe
Develop by miemt11
Download here
http://s12.yousendit.com/d.aspx?id=1KTW ... XCBSLFCBKZ
or
here
http://rapidshare.de/files/10633295/PMP ... 1.rar.html
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/ ... tnetfx.exe
Develop by miemt11
Download here
http://s12.yousendit.com/d.aspx?id=1KTW ... XCBSLFCBKZ
or
here
http://rapidshare.de/files/10633295/PMP ... 1.rar.html
@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
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