PMP Mod v2.02 & PMP Mod AVC v1.02

Discuss the development of new homebrew software, tools and libraries.

Moderators: cheriff, TyRaNiD

Post Reply
xbox360
Posts: 12
Joined: Sat Sep 03, 2005 12:22 am

Post by xbox360 »

good work :)
26bboy
Posts: 6
Joined: Fri Jan 06, 2006 2:58 pm

Post by 26bboy »

I noticed with the AVC muxer it doesnt like it if there is a space in the output file name e.g.

pmp_muxer_avc -v out.264 -a fg1.mp3 -o family guy.pmp

but

pmp_muxer_avc -v out.264 -a fg1.mp3 -o familyguy.pmp

works perfectly. I know the xvid version didnt have this problem, may be something to look @.

Otherwise working fine Jonny again great job everyone whos had a hand in this
jonny
Posts: 351
Joined: Thu Sep 22, 2005 5:46 pm
Contact:

Post by jonny »

pmp_muxer_avc -v "out.264" -a "fg1.mp3" -o "family guy.pmp"

(this is the way you should pass command line options that may contain spaces, it's not related to my muxer in particular)
DocMAX
Posts: 35
Joined: Tue Jun 13, 2006 10:04 am

Post by DocMAX »

how can i convert an xvid movie .avi file into a .264 file? when i try to convert with x264.exe it says unsupported input format (xvid)
User avatar
Itaintrite
Posts: 54
Joined: Fri Jul 15, 2005 12:32 pm

Post by Itaintrite »

DocMAX wrote:how can i convert an xvid movie .avi file into a .264 file? when i try to convert with x264.exe it says unsupported input format (xvid)
Easiest way would be to use XViD4PSP to convert.
therock003
Posts: 96
Joined: Fri Sep 23, 2005 11:09 pm

Post by therock003 »

Itaintrite wrote:
DocMAX wrote:how can i convert an xvid movie .avi file into a .264 file? when i try to convert with x264.exe it says unsupported input format (xvid)
Easiest way would be to use XViD4PSP to convert.
So far it's buggy and it doesn't output files,so we're on the wait for something to be released.
jojo_tj
Posts: 4
Joined: Wed Apr 12, 2006 1:54 am

Post by jojo_tj »

first, my english is poor. I hope u can understand what i want to say.

I tryed to make a PMPAVC from DVD, useing a dvdrip software and choice the H264 coder. Here is the setup:
http://www.cngba.com/attachments/month_ ... FTxyIv.png

then I use mencoder to split this avi to pure vedio and pure audio, save as .264 and .mp3.

at last, I use pmp_muxer_avc_tk.exe to muxer and it succeed, but when i played it in PSP, it shows"avc_get: sceMpegAvcDecode failed".

can u help me?
psp
Posts: 43
Joined: Thu Jun 01, 2006 3:15 am

Post by psp »

jojo_tj wrote:first, my english is poor. I hope u can understand what i want to say.

I tryed to make a PMPAVC from DVD, useing a dvdrip software and choice the H264 coder. Here is the setup:
http://www.cngba.com/attachments/month_ ... FTxyIv.png

then I use mencoder to split this avi to pure vedio and pure audio, save as .264 and .mp3.

at last, I use pmp_muxer_avc_tk.exe to muxer and it succeed, but when i played it in PSP, it shows"avc_get: sceMpegAvcDecode failed".

can u help me?
it's a modifyid H264. you cant use another encoder.
jonny
Posts: 351
Joined: Thu Sep 22, 2005 5:46 pm
Contact:

Post by jonny »

I tryed to make a PMPAVC from DVD, useing a dvdrip software and choice the H264 coder. Here is the setup:
http://www.cngba.com/attachments/month_ ... FTxyIv.png
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)
xbox360
Posts: 12
Joined: Sat Sep 03, 2005 12:22 am

Post by xbox360 »

hi ,jonny,what highest bitrate through sony official psp avc decoder api can touch?:)
i have tested the 6000kps ,it works perfectly:D
DocMAX
Posts: 35
Joined: Tue Jun 13, 2006 10:04 am

Post by DocMAX »

could you please tell me how do i create an .264 file??? x264.exe doesnt accept my xvid/divx avi files....
cooleyes
Posts: 123
Joined: Thu May 18, 2006 3:30 pm

Post by cooleyes »

jonny wrote:
I tryed to make a PMPAVC from DVD, useing a dvdrip software and choice the H264 coder. Here is the setup:
http://www.cngba.com/attachments/month_ ... FTxyIv.png
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)
@jonny:

there are a patched release I have made
http://rapidshare.de/files/23009607/x26 ... d.rar.html

and a muxer come from your 2.0 muxer, but I have made video_format = 1
http://rapidshare.de/files/23009689/pmp ... i.rar.html
DocMAX
Posts: 35
Joined: Tue Jun 13, 2006 10:04 am

Post by DocMAX »

could you please tell me how do i create an .264 file??? x264.exe doesnt accept my xvid/divx avi files....

and is it possible to create those .264 files with mainconcept encoder???
DocMAX
Posts: 35
Joined: Tue Jun 13, 2006 10:04 am

Post by DocMAX »

@cooleyes

doesnt work. i encoded a video with the patched x264vfw and muxed it. doest start the video. remains black screen
cooleyes
Posts: 123
Joined: Thu May 18, 2006 3:30 pm

Post by cooleyes »

DocMAX wrote:@cooleyes

doesnt work. i encoded a video with the patched x264vfw and muxed it. doest start the video. remains black screen
look this image
http://www.cngba.com/attachments/month_ ... FTxyIv.png

the params in red box must be set
jonny
Posts: 351
Joined: Thu Sep 22, 2005 5:46 pm
Contact:

Post by jonny »

@jojo_tj:

or you can grab the binary that cooleyes kindly provided :)
Alcahest
Posts: 135
Joined: Fri Mar 25, 2005 2:08 am

Post by Alcahest »

New icon & launchbg from Pochi for PMP AVC!
Image

Image
(transparent tab)

Other launchbgs (semi-transparent & solid) on his site!
http://www.riotsgraph.jp/pochistyle/
Truly a master of his art.
Later,

Alcahest
therock003
Posts: 96
Joined: Fri Sep 23, 2005 11:09 pm

Post by therock003 »

Comparing this modified version of avc and the avc played on fw 2.0+ are there any significant differences on performance?

Which one would you honestly say is better?
Alcahest
Posts: 135
Joined: Fri Mar 25, 2005 2:08 am

Post by Alcahest »

Here is a little AVC encode that i did.
I now understand why AVC is amazing; so incredibly smooth!
Check for yourself. video: 1500Kbps / Audio 192Kbps.
I think the result is AMAZING!
http://videoff7.free.fr/FF13-E3_AVC.pmp
I kow have learned how to use Avisynth too ;)

2 tips for avisynth, when you want to use a source MPG2, get Nic's MPEGDecoder and load it this way :

LoadPlugin("c:\program files\avisynth 2.5\plugins\MPEGDecoder.dll")
MPEGSource("test.vob")

It gives much faster result than Directshowsource.

Also, you can use Avisynth to crop:
Crop(0,58,0,-58)
This must be on the line directly after the source, before "lanczosresize(480, 272)"
In this exemple, it will remove 58 pixel from the top and bottom of the picture.

Well that's it for now. Check my AVC PMP and let me know what you think!
Later,

Alcahest
pegasus
Posts: 61
Joined: Tue Jan 17, 2006 2:38 pm

hello

Post by pegasus »

i think you should lower the bitrate a little because avc is noticeable only in lower bitrates + small file size
jojo_tj
Posts: 4
Joined: Wed Apr 12, 2006 1:54 am

Post by jojo_tj »

jonny wrote:
I tryed to make a PMPAVC from DVD, useing a dvdrip software and choice the H264 coder. Here is the setup:
http://www.cngba.com/attachments/month_ ... FTxyIv.png
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)
I do use the x264 vfw interface with magiK's patch when i tried.
26bboy
Posts: 6
Joined: Fri Jan 06, 2006 2:58 pm

Post by 26bboy »

jonny wrote:pmp_muxer_avc -v "out.264" -a "fg1.mp3" -o "family guy.pmp"

(this is the way you should pass command line options that may contain spaces, it's not related to my muxer in particular)
lol of course it is, stupid me missed that. Thanks Jonny
Shonen
Posts: 26
Joined: Fri Jun 16, 2006 8:52 pm

Post by Shonen »

Alcahest wrote:Here is a little AVC encode that i did.
I now understand why AVC is amazing; so incredibly smooth!
Check for yourself. video: 1500Kbps / Audio 192Kbps.
I think the result is AMAZING!
http://videoff7.free.fr/FF13-E3_AVC.pmp
Wow, this blew my mind. I have that trailer in standard 368x208 for some time now, but your encode is simply stunning. Perhaps a tad more saturation to bring out the colours (using Tweak in avs, for example). Where did you get that source material? I only know of the Gametrailers.com HD trailer, but that video is littered with flash-photography because it was filmed on location.

I've also tested several classic high-motion scenes (Matrix Lobby shoot-out, Crouching Fighter Hidden Dragon girl fight) and have noticed that raising kbps to 1000 and above does make a difference. For anime, the standard 512 seems sufficient (I tested it on Samurai Champloo).

And PS: again, congrats on the achievement, jonny and magiK. You rule!
jojo_tj
Posts: 4
Joined: Wed Apr 12, 2006 1:54 am

Post by jojo_tj »

Today i tried again.
I ripped a dvd chapter into avi with h264 coder.
Then I split this avi to pure vedio and pure audio, save as .264 and .mp3.
At last, I use pmp_muxer_avc_tk.exe to mux and it succeed. Also can play in my PSP.

But another problem happened, the avi can play well in PC. The lengths of both .264 and .mp3 are 01:48, when they played single, there's no problem.
After I mux them, the PMP has a litter problem. The audio become longer, at first it fit, but when time goes by, the audio can't keep up with the vedio.

This PMP can play in my psp, but the audio can't keep up with the vedio. The .mp3 is as long as the .264, the .mp3 is 44100Hz, it's right.

Who can tell me how it happened.
jonny
Posts: 351
Joined: Thu Sep 22, 2005 5:46 pm
Contact:

Post by jonny »

it seems you have specified wrong scale-rate

try to use the muxer posted by cooleyes, directly with the avi
Alcahest
Posts: 135
Joined: Fri Mar 25, 2005 2:08 am

Post by Alcahest »

Hey Shonen, I got the source on the gamespot.com E3 report. (it was only available for subscribers.).
I agree that the quality is stunning and as you say maybe a little more saturation would be even better.
See you!

Alcahest
csuper
Posts: 103
Joined: Tue Jan 03, 2006 6:19 pm

AAC/MP3 performance questions....

Post by csuper »

Hye Jonny,

I've got som technicals questions related to the audio stream...
You explained perfectly that the PSP have some AVC optimization...
So... is there a same optimization for audio streams... ?
Actually natively the PSP can read AAC & MP3 right ?
If yes, is it hard to implement AAC on your PMP MOD ?

Also, I wanted to know with the great performance of the AVC release (fps speaking) if you unlock the 44,1 Khz limitation of the mp3 stream and instead you got a 48 Khz audio stream (a classic Xvid/Divx mp3 audio stream - without re-encoding), are the performance drops a lot.... ?
If not, do you think to add soon this feature ? ;)

Ciao.

csuper.
Alcahest
Posts: 135
Joined: Fri Mar 25, 2005 2:08 am

Post by Alcahest »

oh indeed, 48khz mp3 direct support would be very handy.
See you,

Alcahest
therock003
Posts: 96
Joined: Fri Sep 23, 2005 11:09 pm

Post by therock003 »

I get an error on that E3 ff video.After it runs for a while i get a SceMpegAVCDecode error.
Shonen
Posts: 26
Joined: Fri Jun 16, 2006 8:52 pm

Post by Shonen »

Hey Alcahest, would you mind recoding your FFXIII video with Tweak(sat=1.4) (or any value you prefer)? Well, thanks for sharing anyways. Stuff like this softens the 600$ PS3 hammerblow, hehe.

Therock003, are you sure you used alcahest's video? Because the SceMpegAVCDecode error occurs when I try to run a transcode of the GameTrailers E3 FFXIII trailer (which seems to have some sort of broken frame in the beginning, it also crashed in the PSP's standard AVC player).
Did the video start and then crash or didn't it start altogether?

Oh, and last night, I did some more encodes. Lord of the Rings - Two Towers (last hour: Battle of Helm's Deep) and the first 5 chapters of Final Fantasy: The Spirits Within. I used 768 kbps and the results are astonishing. I had some trouble with FF:SW, because it was a telecined NTSC disc (real fps was 24). After a lot of fiddling, I simply adjusted the rate-scale in jonny's muxer to 24-1 (instead of the outlined 8000000-333667). Decimate() produced unwanted choppiness.
Post Reply