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 »

i'll release an official version with the audio fixes + the requested loop option
after this there are some stuffs to do on the muxer/encoding side
dytcs
Posts: 1
Joined: Wed Jun 21, 2006 8:21 am

Post by dytcs »

Hi Jonny, thanks for your great work done so far, the PMP 2.01 is a evolution, while the PMP AVC is a rebirth to my PSP.

One more thing I'm asking for is.... Could you please kindly add a "play all" capability to play all files in the PSP/Video folder? (if this does not induce a lot of work to do)I'm asking for this is becasue I have a lot of MVs and I'm tooooo lazy to select the next file after 5 minutes.....
excalibur
Posts: 11
Joined: Sun Jan 15, 2006 8:36 pm

Post by excalibur »

hi jonny and magik, very good job...
do you think it s possible to patch an avc stream produce by another program than x264 ( for exemple nero.. ) for make it compatible with pmpmod avc..
thank for your reponse.;..
jonny
Posts: 351
Joined: Thu Sep 22, 2005 5:46 pm
Contact:

Post by jonny »

the new avc version is up on my site:

http://jonny.leffe.dnsalias.com


@dytcs:
atm i'm not interested in adding this option

@excalibur:
there are many variables involved (i'm not going to check so i can't give an exact answer)
Shonen
Posts: 26
Joined: Fri Jun 16, 2006 8:52 pm

Post by Shonen »

Very, very fast work indeed :D Currently running that FFXIII trailer in endless loop. Did you use the line you suggested on page 36?

On the encoding side, I've requested the maker of Mediacoder, a very promising GUI mostly built around mencoder that previously supported PMP Mod, to do PMP Mod AVC encodes. He said he was going to support this. Perhaps you could contact him to help him out with it? Of course, a new build of PSPEnc would also be great.

http://mediacoder.sourceforge.net/
http://mediacoder.sourceforge.net/forum/
http://mediacoder.sourceforge.net/forum ... .php?t=207
psp
Posts: 43
Joined: Thu Jun 01, 2006 3:15 am

Post by psp »

Mediacoder very promising indeed. little buggy,rapid updates.
Is there a simple decoder gui(like Mediacoder,xvid4psp,avi2pmp and so) that suppurt the new pmp avc?
i mean someting that work (not xvid4psp).
DieselGuy
Posts: 2
Joined: Thu Jun 22, 2006 8:00 am

Over 25 Movies encoded in PMP V1.0

Post by DieselGuy »

I have a big problem guys...when PMP first came out I enconded 25 movies from Divx/Xvid source to .pmp(v1) format...the new V2 PMP Mod player does not play my old v1. pmp files...And PMP Mod AVC doesn't play any of my v1-files either..my dilema:

1. Do I encode my Divx/Xvicd Movies to AVC(will there be a difference in quaitly? or file size?) or do I encode my DVDs to the new X264 format?

2. How do I make my V1 .pmp encoded movies work on MPM Mod AVC?

3. Do I need two players in my Psp one for AVC files and one for "old" 2.xx pmp files

Thank you!
Eingang
Posts: 59
Joined: Wed Jan 04, 2006 7:33 am

Post by Eingang »

many of us encoded tons of movies in pmp2 and now reencoding to avc would be a pain.... many wait for a comfortable gui supporting this avc codec.... vdub support would be nice ....
Alcahest
Posts: 135
Joined: Fri Mar 25, 2005 2:08 am

Post by Alcahest »

Hi Shonen, here is the FFXIII trailer with more sat (1.4 was OK).
I raised the volume a little and audio is now vbr.
Sorry for the delay ^^;
http://videoff7.free.fr/FF13-E3_AVC_Sat.pmp
Later,

Alcahest

Edit: And another great encode! (i think)
http://videoff7.free.fr/FFVII_demo_AVC.pmp
Xcarecrow
Posts: 7
Joined: Mon Jan 23, 2006 1:38 pm

Post by Xcarecrow »

Alcahest wrote:Hi Shonen, here is the FFXIII trailer with more sat (1.4 was OK).
I raised the volume a little and audio is now vbr.
Sorry for the delay ^^;
http://videoff7.free.fr/FF13-E3_AVC_Sat.pmp
Later,

Alcahest

Edit: And another great encode! (i think)
http://videoff7.free.fr/FFVII_demo_AVC.pmp
Please, can you post the exact settings of ff13 encoding? it's awesome. or can you post the .avs or .bat that you used?

thanx!!!!
Alcahest
Posts: 135
Joined: Fri Mar 25, 2005 2:08 am

Post by Alcahest »

Sure, for FFXIII i used

Directshowsource("e3.wmv")
killaudio
lanczosresize(480, 272)
Tweak(sat=1.4)
converttoyv12()

with x264 --bitrate 1500 -A all --level 3 --pictiming --aud --no-psnr --thread-input --progress --output test.264 test.avs

the audio part was done with EAC + Lame alt--vbr-new
Later,

Alcahest
hroo772
Posts: 4
Joined: Mon Jul 11, 2005 3:59 am

Post by hroo772 »

Hey jonny, ive got a small question about the current version. I know that you have modified the x264 exe to add in the addition information for it to be played on the psp. My question is that, is the modification easy enough to be done to new versions of the x264 encoder, so we can use newer optimizations of the encoder or things like that whenever they come out?
psp
Posts: 43
Joined: Thu Jun 01, 2006 3:15 am

Post by psp »

jonny wrote:you need to recompile x264 vfw interface with magiK's patch and the little vfw patch (standard x264 will not work)
(or wait until i make an official release)
@hroo772
better than that. if i got it right i think that in the next ver. we can
play with a standard x264. then we can use any encoder :-).
excalibur
Posts: 11
Joined: Sun Jan 15, 2006 8:36 pm

Post by excalibur »

hi,
@ jonny :
you have introduce the pmp contianer for pb of sutturing and desync but with the new speed of pmpmod avc perhaps a avi version support is possible..?
@ psp ,magik,jonny :
you have patch x264 avc stream for it can be play by the hardware.. yesterday i have ask the question to jonny if the stream can be patch after it was created ( for use nero , or other avc encoder). in fact my reflexion is that the hardware play normal avc in down resolution with the internaly player ,so it s possible it can be play 480x272 normal avc?
i sure it s very hard to make it but you have already make more hard...
very very good job
and thank for your time....
606u
Posts: 33
Joined: Tue Jun 29, 2004 3:06 am
Contact:

small HOWTO: AVC pmp on Linux

Post by 606u »

As this topic went too long, maybe there is a similar HOWTO in the previous pages...

Step 0: setting-up (once, only):
- install perl, Bit-Vector and Carp-Clan packages;
- unrar pmp_muxer_avc_1_00_source.rar;
- .tar.gz files can be safely deleted;
- convert DOS line-endings to Unix-ones; I've used zip 1.zip *; unzip -a 1.zip; rm 1.zip;
- put the following as a first line in both perl scripts:

Code: Select all

#!/usr/bin/perl -I/path/to/pmp_muxer_avc/dir
- make perl scripts executable (chmod +x *.pl);
- unpack jonny's x264_source.rar, build and install (requires yasm);
- install mplayer/encoder if necessary;

Step 1: encoding video to H264:

Code: Select all

# mkfifo pipe.y4m
# mplayer -benchmark -nosound -quiet -really-quiet \
    -vo yuv4mpeg:file=pipe.y4m -vf scale=480:272 file.avi &
# x264 --crf 25 -A all --level 3 --pictiming --aud --no-psnr \
    --thread-input --output file.264 pipe.y4m
(Optional) Step 2: encoding audio to 44,1KHz MP3 (command-line borrowed from avi2pmp):

Code: Select all

mencoder -quiet -really-quiet file.avi -srate 44100 -oac mp3lame \
    -lameopts vol=0:mode=0:cbr:br=112 -ovc copy -of rawaudio -o file.mp3
Step 4: mux file:

Code: Select all

pmp_muxer_avc -v file.264 -a file.mp3 -o file.pmp \
    -w 480 -h 272 -r 23980 -s 1000
Everything above in a shell-script:

Code: Select all

#!/bin/sh

die ()
{
    echo "$1"
    exit 1
}

[ -f "$2.264" ] && die "$2.264: file exists"
[ -f "$2.mp3" ] && die "$2.mp3: file exists"
[ -f "$2.pmp" ] && die "$2.pmp: file exists"

# set-up here:
WIDTH=480
HEIGHT=272
FPS=23980
H264CRF=24 # up to 51; 18 == XviD' Qf 2

PIPE=/tmp/pipe.y4m

[ -n "$1" -a -n "$2" ] || die "Usage: $0 in.avi out"
rm -f $PIPE
mkfifo $PIPE || exit 1

mplayer -benchmark -nosound -quiet -really-quiet \
    -vo yuv4mpeg:file=$PIPE -vf scale=$WIDTH:$HEIGHT "$1" &
x264 --crf $H264CRF -A all --level 3 --pictiming --aud --no-psnr \
    --thread-input --output "$2.264" $PIPE

mencoder -quiet -really-quiet "$1" -srate 44100 -oac mp3lame \
    -lameopts vol=0:mode=0:cbr:br=112 -ovc copy -of rawaudio -o "$2.mp3"

pmp_muxer_avc -v "$2.264" -a "$2.mp3" -o "$2.pmp" \
    -w $WIDTH -h $HEIGHT -r $FPS -s 1000
jonny
Posts: 351
Joined: Thu Sep 22, 2005 5:46 pm
Contact:

Post by jonny »

when PMP first came out I enconded 25 movies from Divx/Xvid source to .pmp(v1) format...the new V2 PMP Mod player does not play my old v1. pmp files
the remuxer on my site takes probably 5 mins to convert a movie from v1 to v2
1. Do I encode my Divx/Xvicd Movies to AVC(will there be a difference in quaitly? or file size?) or do I encode my DVDs to the new X264 format?
avc have a better quality/size ratio compared to mpeg4 asp (btw x264 it's an encoder that produce avc streams, not a format)
2. How do I make my V1 .pmp encoded movies work on MPM Mod AVC?
you need to reconvert all if you want to do this
3. Do I need two players in my Psp one for AVC files and one for "old" 2.xx pmp files
yes
I know that you have modified the x264 exe to add in the addition information for it to be played on the psp. My question is that, is the modification easy enough to be done to new versions of the x264 encoder
magiK have done the modifications (i guess it's a bit premature to ask this now)
you have introduce the pmp contianer for pb of sutturing and desync but with the new speed of pmpmod avc perhaps a avi version support is possible..?
i'd like to no more read questions about avi
Eternal-Blue
Posts: 3
Joined: Tue Jan 03, 2006 7:46 pm

Post by Eternal-Blue »

I want convert AVC videos with virtualdub. Is it possible to install the codec like xvid/divx?
csuper
Posts: 103
Joined: Tue Jan 03, 2006 6:19 pm

Post by csuper »

Eternal-Blue wrote:I want convert AVC videos with virtualdub. Is it possible to install the codec like xvid/divx?
No. U need to use the modified x264 binary provided on jonny website, there is no other way at the moment.

csuper.
Link1978
Posts: 1
Joined: Wed Jan 18, 2006 7:17 pm

Post by Link1978 »

I used vdub mod with avisynth, jonnys x264, the patched dll and it worked great. No Problems so far. Just installed the x264 codec and exchanged the exe and dll with jonnys patched version.
arex
Posts: 23
Joined: Sun Dec 18, 2005 10:58 pm

Post by arex »

csuper wrote:
Eternal-Blue wrote:I want convert AVC videos with virtualdub. Is it possible to install the codec like xvid/divx?
No. U need to use the modified x264 binary provided on jonny website, there is no other way at the moment.

csuper.
No,now U can use the x264vfw patched by cooleyes_If, then U can convert AVC videos with virtualdub. you can get it from page. 47
DocMAX
Posts: 35
Joined: Tue Jun 13, 2006 10:04 am

Post by DocMAX »

still no modded mencoder for x264 working with pmp avc? cooleyes?
cooleyes
Posts: 123
Joined: Thu May 18, 2006 3:30 pm

Post by cooleyes »

@jonny:

I have made mencoder work well!
I found mencoder will make a blank frame when duplicate frame,
just those blank frames make it not work.

so we should use this option " -vf harddup"
just like
D:\3GPMP_Converter>mencoder -nosound -ovc x264 -x264encopts bitrate=512 -vf scale=480:272,harddup -o test.avi 1.avi

OK, this is a mencoder bin release , which have patched.
http://rapidshare.de/files/23885627/men ... d.rar.html
psp
Posts: 43
Joined: Thu Jun 01, 2006 3:15 am

Post by psp »

@cooleyes

wow!!
thanks
DocMAX
Posts: 35
Joined: Tue Jun 13, 2006 10:04 am

Post by DocMAX »

@cooleyes

THANK YOU!!! YOU DID IT!!! IT WORKS!!!

(by the way, where can i get the mencoder sources?)
jonny
Posts: 351
Joined: Thu Sep 22, 2005 5:46 pm
Contact:

Post by jonny »

perfect work as usual cooleyes :)
I found mencoder will make a blank frame when duplicate frame
yeah, that was giving me troubles too in the very first pmpmod version


i've updated the muxer on my site, now can take raw stream or avi as input

http://jonny.leffe.dnsalias.com/pmp_mod ... c_1_01.rar
http://jonny.leffe.dnsalias.com/pmp_mod ... source.rar
Shonen
Posts: 26
Joined: Fri Jun 16, 2006 8:52 pm

Post by Shonen »

Testing Mencoder with Mediacoder. Also trying to driectly use pmp_muxer_avc with that program. MEncoder seems slower than x264 for me (about twice).

Alcahast, thanks a bunch for those Final Fantasy trailers ^_^ How can you decode WMV? When I input it via Directshowsource I always get crap. Codec is the libavcodec, perhaps that's the problem. Anyway, videos look fantastic, almost like a PS3 in the palm of my hands.

Also, what would you do to transcode software decoded HD (for instance SVQ3 MOV)? The problem is that the decoding phase is resource-intensive, resulting in choppy framerates at the output.

Edit: When addressing the muxer, the muxer returns "odd number of arguments".
cooleyes
Posts: 123
Joined: Thu May 18, 2006 3:30 pm

Post by cooleyes »

DocMAX wrote:@cooleyes

THANK YOU!!! YOU DID IT!!! IT WORKS!!!

(by the way, where can i get the mencoder sources?)
I get the mplayer source from "www.mplayerhq.hu"
and build it in MINGW32
you can visit the web "http://oss.netfarm.it/mplayer-win32.php"
it help you how to build it;
uNn99
Posts: 64
Joined: Thu Jan 19, 2006 7:27 am

Post by uNn99 »

cooleyes
Could you compile mencoder with cpu optimization (build for AMD, P4 and P3)?
Thanks beforehand.
jonny
Posts: 351
Joined: Thu Sep 22, 2005 5:46 pm
Contact:

Post by jonny »

@cooleyes & uNn99:

mencoder can be also compiled with runtime cpu detection, do you think there is a big speed difference compared to specific builds?
Post Reply