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

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

Moderators: cheriff, TyRaNiD

Post Reply
pietrotc
Posts: 3
Joined: Tue May 30, 2006 7:45 pm

Post by pietrotc »

I use Megui with patched x264.exe , when i use pmp_muxer_avc this is the error :
Status: [dwTotalFrames == 0]
Anyone can help me?







PS.: please sorry my bad english
jonny
Posts: 351
Joined: Thu Sep 22, 2005 5:46 pm
Contact:

Post by jonny »

--level 3 --pictiming --aud

those are strictly required for compatibility

in your case, you have probably missed --aud (i use access unit delimiters to parse the stream)

you should post the full parameters set if you encounter problems
(some parameters may generate incompatible stream, i'm interested in this type of feedback)
yawoo
Posts: 5
Joined: Sat Jan 14, 2006 4:16 am

Post by yawoo »

jonny wrote:--level 3 --pictiming --aud

those are strictly required for compatibility
type of feedback)
I have tried to encode by mencoder, but there is no corresponding parameters of --pictiming and --aud in mencoder. Is there any workaround solution?
cooleyes
Posts: 123
Joined: Thu May 18, 2006 3:30 pm

Post by cooleyes »

good job, jonny

there are a new version pmpsplitter release , it support pmp-x264

http://rapidshare.de/files/22835765/Pmp ... 7.rar.html
psp
Posts: 43
Joined: Thu Jun 01, 2006 3:15 am

Post by psp »

amazing work!!
thanks
scyrax
Posts: 18
Joined: Tue Feb 07, 2006 11:25 am

Post by scyrax »

jonny,is it possible to decode 4:2:2 AVC format???
then we were away from the chroma problem.
User avatar
magiK
Posts: 21
Joined: Sun Apr 09, 2006 6:18 pm

Post by magiK »

yawoo wrote:I have tried to encode by mencoder, but there is no corresponding parameters of --pictiming and --aud in mencoder. Is there any workaround solution?
No. Please use the modified x264 encoder from jonny's site.
scyrax wrote:is it possible to decode 4:2:2 AVC format???
then we were away from the chroma problem.
The integrated decoder supports only the Main profile up to level 3 afaik. The fidelity range extensions are part of the High profile so my answer would be no. Also, the frext would probably require a lot more processing power.
yawoo
Posts: 5
Joined: Sat Jan 14, 2006 4:16 am

Post by yawoo »

magiK wrote:
yawoo wrote:I have tried to encode by mencoder, but there is no corresponding parameters of --pictiming and --aud in mencoder. Is there any workaround solution?
No. Please use the modified x264 encoder from jonny's site.
Hope that future version of PMP AVC would accept more implementation of x264 encoders.
jonny
Posts: 351
Joined: Thu Sep 22, 2005 5:46 pm
Contact:

Post by jonny »

@cooleyes: nice, thank you!
Hope that future version of PMP AVC would accept more implementation of x264 encoders.
mencoder should be patched with the additions (the --pictiming modification is needed by the psp internal decoder, there is no way to avoid this)
so, if someone want to take this job ... :)
psp
Posts: 43
Joined: Thu Jun 01, 2006 3:15 am

Post by psp »

can you integrate the new avc mod with the regular version 2.01?

thanks for your excellent job!!
jonny
Posts: 351
Joined: Thu Sep 22, 2005 5:46 pm
Contact:

Post by jonny »

no, the ME code in the standard version conflict with the avc code (plus, i'm more comfortable with 2 versions for many reasons).
pegasus
Posts: 61
Joined: Tue Jan 17, 2006 2:38 pm

hello

Post by pegasus »

nice work!
just a question, is it possible to convert our old videos to avc?
'like demux the audio and video, then convert video and then remux again??
26bboy
Posts: 6
Joined: Fri Jan 06, 2006 2:58 pm

Post by 26bboy »

nice work Jonny and MagiK works great for me, would like the encoding process to be a little simpler though, still excellent work guys!!! Keep the AVC development going!
digihoe
Posts: 108
Joined: Sat May 14, 2005 7:40 pm

Post by digihoe »

jonny wrote:no, the ME code in the standard version conflict with the avc code (plus, i'm more comfortable with 2 versions for many reasons).
What about using Raphael's modification of 2.01, he has made it work without the ME...

Great work BTW!

Best regards!
User avatar
Raphael
Posts: 646
Joined: Tue Jan 17, 2006 4:54 pm
Location: Germany
Contact:

Post by Raphael »

he has made it work without the ME...
Yes I did, but at the cost of much speed, which will again cause a lot of stuttering on higher bitrates. I only did this because it's better to have slow playback on 2.0+ than no playback at all. I'd say the FW 2.0+ version is about the level, that the original 1.00 version was, speedwise.

So if you're willing to trade the speed back we have because of jonnys real amazing work with the me code, against the possibility to play both AVC and normal pmp with just one app, well then, it's no big deal, you just need someone who is willing to merge both versions, but jonny won't do this I am sure. And me neither, at least for now, since I'm more concerned about getting a GUI working again and how to support asian fonts and thousands of other small improvements.

Sorry, but please respect the decisions of developers on how they want things to be or not. After all, it's not that big hassle to have two PMP Mods and switch between them. Be grateful that you even can play AVC videos now on 1.5 :)
digihoe
Posts: 108
Joined: Sat May 14, 2005 7:40 pm

Post by digihoe »

Raphael wrote:
he has made it work without the ME...
Yes I did, but at the cost of much speed, which will again cause a lot of stuttering on higher bitrates. I only did this because it's better to have slow playback on 2.0+ than no playback at all. I'd say the FW 2.0+ version is about the level, that the original 1.00 version was, speedwise.

So if you're willing to trade the speed back we have because of jonnys real amazing work with the me code, against the possibility to play both AVC and normal pmp with just one app, well then, it's no big deal, you just need someone who is willing to merge both versions, but jonny won't do this I am sure. And me neither, at least for now, since I'm more concerned about getting a GUI working again and how to support asian fonts and thousands of other small improvements.

Sorry, but please respect the decisions of developers on how they want things to be or not. After all, it's not that big hassle to have two PMP Mods and switch between them. Be grateful that you even can play AVC videos now on 1.5 :)
I have no problem with two builds, I was mearly pointing out your work...
I'm very greatful for all the work the dev's at this forum has done...

Keep up the great work!
cooleyes
Posts: 123
Joined: Thu May 18, 2006 3:30 pm

Post by cooleyes »

jonny wrote:--level 3 --pictiming --aud

those are strictly required for compatibility

in your case, you have probably missed --aud (i use access unit delimiters to parse the stream)

you should post the full parameters set if you encounter problems
(some parameters may generate incompatible stream, i'm interested in this type of feedback)
hi, jonny
I download the x264 code from your website,
patch it , and build a vfw dll for VDM( force use --level 3 --pictiming --aud)
I use VDM to encode a x264_avi, and muxer it to a pmp
but it did not work.
jonny
Posts: 351
Joined: Thu Sep 22, 2005 5:46 pm
Contact:

Post by jonny »

@pegasus:
yep, you can use the demuxer, convert the video to avc and remux

@cooleyes:
i've still not tested vfw due to lack of time, i'll do it asap

***EDIT***
i assume you have used the normal pmp muxer (2.01), changing video format to 1
(the avc muxer work only with raw streams atm)


@magiK:
i was trying to get bigger resolutions to work, but seems not possible, can you confirm this?
cooleyes
Posts: 123
Joined: Thu May 18, 2006 3:30 pm

Post by cooleyes »

@jonny:

yes, I have patched your pmp muxer (2.01), set video_format = 1

but it does not work
cooleyes
Posts: 123
Joined: Thu May 18, 2006 3:30 pm

Post by cooleyes »

that is a avi encoded by VDM(use patched x264 vfw dll, force use --level 3 --pictiming --aud),
and a pmp muxer from that avi,
but it can not play in psp, :(

http://rapidshare.de/files/22935102/test.mp3.html
http://rapidshare.de/files/22935403/test.avi.html
http://rapidshare.de/files/22935716/test.pmp.html
User avatar
magiK
Posts: 21
Joined: Sun Apr 09, 2006 6:18 pm

Post by magiK »

jonny wrote:@magiK:
i was trying to get bigger resolutions to work, but seems not possible, can you confirm this?
Yes, unfortunately, the 480x272 resolution is hardcoded in the sceMpeg library.
scyrax
Posts: 18
Joined: Tue Feb 07, 2006 11:25 am

Post by scyrax »

what about MPS??which decoding library does it use?
User avatar
magiK
Posts: 21
Joined: Sun Apr 09, 2006 6:18 pm

Post by magiK »

Well, the only resolutions supported by the Mpeg lib appear to be 480x272 and 720x480. Decoding 720x480 content is a little different than 480x272. I'll look into it...
scyrax
Posts: 18
Joined: Tue Feb 07, 2006 11:25 am

Post by scyrax »

According to the offical Authoring Introduction,
the existing Resolution/info available for UMD:

Video Codec H.264/AVC Main Profile Level3

progressive Picture size: 720x480, 352x480, 352x240
interlaced Picture size: 720x480, 352x480
progressive Frame Rate: 23.976Hz, 29.97Hz
interlaced Frame Rate: 29.97Hz

Waiting for ur good news:)
jonny
Posts: 351
Joined: Thu Sep 22, 2005 5:46 pm
Contact:

Post by jonny »

on the lower side, all seems to works correctly
i've tryed (480-16) x (272-16) and works
internally i've tryed also (480-4) x (272-2) and works (right and bottom borders are repeated to fill the macroblock)
so i'm assuming every resolution < 480x272, with witdh and height divisible by 16 works perfectly (if someone find something different, please let me know)
jonny
Posts: 351
Joined: Thu Sep 22, 2005 5:46 pm
Contact:

Post by jonny »

@cooleyes:

a diff + a working vfw config:
http://www.megaupload.com/?d=V5S5OW48

the 8x8 transform trig the high profile (i think that was the problem)
(let me know if you need a binary/installer - atm i don't make an official release since i have not deeply tested it)
cooleyes
Posts: 123
Joined: Thu May 18, 2006 3:30 pm

Post by cooleyes »

jonny wrote:@cooleyes:

a diff + a working vfw config:
http://www.megaupload.com/?d=V5S5OW48

the 8x8 transform trig the high profile (i think that was the problem)
(let me know if you need a binary/installer - atm i don't make an official release since i have not deeply tested it)
@jonny:

I can't download it.
can you send it to me by mail( eyes.cooleyes@gmail.com)
thank you
User avatar
LaMa
Posts: 8
Joined: Mon Oct 31, 2005 3:44 am
Location: Amsterdam

Post by LaMa »

Here's a short AVC encoded trailer, for those interested.

Image

James Bond: Casino Royale (2006)
Original Source.........: 648x344 MOV -> Uncompressed AVI/PCM Wave
Video Compression...: x264, AVC, single-pass
Resolution................: 480x272
Target Bitrate...........: 768kbps
FPS.........................: 23.976
Audio compression...: Lame MP3, 44100 Hz, 128kbps VBR, Stereo
Movie Length...........: 1m19s
Filesize....................: 8.87 MB

Download Mirrors:
Rapidshare
MegaUpload

I guess the filesize/quality-ratio could be better when encoding multi-pass, but this isnt so bad IMO.

(My apologies for moving off-topic)
cooleyes
Posts: 123
Joined: Thu May 18, 2006 3:30 pm

Post by cooleyes »

@jonny:

OK, it can work.
thank you very much
psp
Posts: 43
Joined: Thu Jun 01, 2006 3:15 am

Post by psp »

jonny wrote: 111mhz should be the ideal speed (i've not tested this but should be possible with no problems)
thats mean that in the next version we can run at 111mhz and get superior battery life? if so it will be a nice surprise

just curious, do you plan any new feature for the next built?
Post Reply