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 ... 48, 49, 50 ... 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: Wed Jun 21, 2006 7:27 am    Post subject: Reply with quote

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



Joined: 21 Jun 2006
Posts: 1

PostPosted: Wed Jun 21, 2006 8:32 am    Post subject: Reply with quote

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



Joined: 15 Jan 2006
Posts: 11

PostPosted: Wed Jun 21, 2006 8:34 pm    Post subject: Reply with quote

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



Joined: 22 Sep 2005
Posts: 351

PostPosted: Wed Jun 21, 2006 10:00 pm    Post subject: Reply with quote

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



Joined: 16 Jun 2006
Posts: 26

PostPosted: Wed Jun 21, 2006 11:31 pm    Post subject: Reply with quote

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/viewtopic.php?t=207
Back to top
View user's profile Send private message
psp



Joined: 01 Jun 2006
Posts: 43

PostPosted: Thu Jun 22, 2006 1:01 am    Post subject: Reply with quote

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



Joined: 22 Jun 2006
Posts: 2

PostPosted: Thu Jun 22, 2006 8:34 am    Post subject: Over 25 Movies encoded in PMP V1.0 Reply with quote

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



Joined: 04 Jan 2006
Posts: 59

PostPosted: Thu Jun 22, 2006 8:37 am    Post subject: Reply with quote

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



Joined: 25 Mar 2005
Posts: 135

PostPosted: Thu Jun 22, 2006 8:46 am    Post subject: Reply with quote

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



Joined: 23 Jan 2006
Posts: 7

PostPosted: Thu Jun 22, 2006 9:11 am    Post subject: Reply with quote

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



Joined: 25 Mar 2005
Posts: 135

PostPosted: Thu Jun 22, 2006 9:41 am    Post subject: Reply with quote

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



Joined: 11 Jul 2005
Posts: 4

PostPosted: Thu Jun 22, 2006 12:29 pm    Post subject: Reply with quote

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



Joined: 01 Jun 2006
Posts: 43

PostPosted: Thu Jun 22, 2006 1:59 pm    Post subject: Reply with quote

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



Joined: 15 Jan 2006
Posts: 11

PostPosted: Thu Jun 22, 2006 4:21 pm    Post subject: Reply with quote

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



Joined: 29 Jun 2004
Posts: 33

PostPosted: Thu Jun 22, 2006 5:20 pm    Post subject: small HOWTO: AVC pmp on Linux Reply with quote

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



Joined: 22 Sep 2005
Posts: 351

PostPosted: Thu Jun 22, 2006 7:29 pm    Post subject: Reply with quote

Quote:

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

Quote:

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)

Quote:

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

Quote:

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

yes

Quote:

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)

Quote:

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



Joined: 03 Jan 2006
Posts: 3

PostPosted: Thu Jun 22, 2006 11:10 pm    Post subject: Reply with quote

I want convert AVC videos with virtualdub. Is it possible to install the codec like xvid/divx?
Back to top
View user's profile Send private message
csuper



Joined: 03 Jan 2006
Posts: 103

PostPosted: Fri Jun 23, 2006 3:30 am    Post subject: Reply with quote

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



Joined: 18 Jan 2006
Posts: 1

PostPosted: Fri Jun 23, 2006 6:54 am    Post subject: Reply with quote

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



Joined: 18 Dec 2005
Posts: 23

PostPosted: Fri Jun 23, 2006 11:38 am    Post subject: Reply with quote

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



Joined: 13 Jun 2006
Posts: 35

PostPosted: Fri Jun 23, 2006 4:14 pm    Post subject: Reply with quote

still no modded mencoder for x264 working with pmp avc? cooleyes?
Back to top
View user's profile Send private message
cooleyes



Joined: 18 May 2006
Posts: 125

PostPosted: Fri Jun 23, 2006 11:20 pm    Post subject: Reply with quote

@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/mencoder-x264patched.rar.html
Back to top
View user's profile Send private message
psp



Joined: 01 Jun 2006
Posts: 43

PostPosted: Sat Jun 24, 2006 1:44 am    Post subject: Reply with quote

@cooleyes

wow!!
thanks
Back to top
View user's profile Send private message
DocMAX



Joined: 13 Jun 2006
Posts: 35

PostPosted: Sat Jun 24, 2006 3:58 am    Post subject: Reply with quote

@cooleyes

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

(by the way, where can i get the mencoder sources?)
Back to top
View user's profile Send private message
jonny



Joined: 22 Sep 2005
Posts: 351

PostPosted: Sat Jun 24, 2006 4:50 am    Post subject: Reply with quote

perfect work as usual cooleyes :)

Quote:

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_avc/rar/pmp_muxer_avc_1_01.rar
http://jonny.leffe.dnsalias.com/pmp_mod_avc/rar/pmp_muxer_avc_1_01_source.rar
Back to top
View user's profile Send private message Visit poster's website
Shonen



Joined: 16 Jun 2006
Posts: 26

PostPosted: Sat Jun 24, 2006 5:29 am    Post subject: Reply with quote

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



Joined: 18 May 2006
Posts: 125

PostPosted: Sat Jun 24, 2006 10:58 am    Post subject: Reply with quote

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



Joined: 19 Jan 2006
Posts: 64

PostPosted: Sat Jun 24, 2006 3:32 pm    Post subject: Reply with quote

cooleyes
Could you compile mencoder with cpu optimization (build for AMD, P4 and P3)?
Thanks beforehand.
Back to top
View user's profile Send private message
cooleyes



Joined: 18 May 2006
Posts: 125

PostPosted: Sat Jun 24, 2006 5:25 pm    Post subject: Reply with quote

OK
I build them.

for P3:
http://rapidshare.de/files/23955930/mencoder-x264patched-p3.rar.html

for P4:
http://rapidshare.de/files/23956385/mencoder-x264patched-p4.rar.html

for K7:
http://rapidshare.de/files/23956710/mencoder-x264patched-k7.rar.html
Back to top
View user's profile Send private message
jonny



Joined: 22 Sep 2005
Posts: 351

PostPosted: Sat Jun 24, 2006 5:49 pm    Post subject: Reply with quote

@cooleyes & uNn99:

mencoder can be also compiled with runtime cpu detection, do you think there is a big speed difference compared to specific builds?
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 ... 48, 49, 50 ... 60, 61, 62  Next
Page 49 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