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

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

Moderators: cheriff, TyRaNiD

Post Reply
Sudds
Posts: 15
Joined: Sun Jul 09, 2006 4:40 am
Location: Ireland
Contact:

Post by Sudds »

I have a problem with PMPMOD, i downloaded the spiderman trailer and got an error saying PMP LIB OPEN: INVALID FILE VERSION.
Anyone got any ideas as to why this has happened, i looked at the common problem thread at Jonnys homepage but it hasnt been listed...
User avatar
Raphael
Posts: 646
Joined: Tue Jan 17, 2006 4:54 pm
Location: Germany
Contact:

Post by Raphael »

You either used PMP Mod AVC or the spiderman trailer was encoded with 1.xx version and not updated by jonny.
In the first case, use the normal PMP Mod version (non-AVC), in the latter use the 1.xx->2.xx remuxer to remux the trailer and then play with PMP Mod 2.02.
<Don't push the river, it flows.>
http://wordpress.fx-world.org - my devblog
http://wiki.fx-world.org - VFPU documentation wiki

Alexander Berl
sachinwalia75
Posts: 4
Joined: Fri Aug 11, 2006 5:10 am

Post by sachinwalia75 »

Hi Raphael,

are you working on skinning engine for PMPMOD (AVC and non AVC)? I'd like to help. (in coding; I am not a good ui designer).
Sudds
Posts: 15
Joined: Sun Jul 09, 2006 4:40 am
Location: Ireland
Contact:

Post by Sudds »

Raphael wrote:You either used PMP Mod AVC or the spiderman trailer was encoded with 1.xx version and not updated by jonny.
In the first case, use the normal PMP Mod version (non-AVC), in the latter use the 1.xx->2.xx remuxer to remux the trailer and then play with PMP Mod 2.02.
Thanks mate, i,ll be remuxing the trailer.
Which is best PMPMOD or PMPMOD AVC?
I have been using PMPMOD AVC for awhile now just gonna have a change.

Now this may sound stupid, but the drag an drop is not working, i just dragged the file over the remuxer and nothing happened apart from swapping places.
User avatar
Raphael
Posts: 646
Joined: Tue Jan 17, 2006 4:54 pm
Location: Germany
Contact:

Post by Raphael »

Sudds wrote: Thanks mate, i,ll be remuxing the trailer.
Which is best PMPMOD or PMPMOD AVC?
I have been using PMPMOD AVC for awhile now just gonna have a change.

Now this may sound stupid, but the drag an drop is not working, i just dragged the file over the remuxer and nothing happened apart from swapping places.
PMP Mod offers higher quality videos/smaller files and allows longer playtime (because of reduced battery-consumption), but requires a complete reencode of the video files. Normal PMP Mod can handle DivX/XVid videos without reencode, but suffers from shorter battery lifetime due to overclocking. The decision is on you.

sachinwalia75 wrote: Hi Raphael,

are you working on skinning engine for PMPMOD (AVC and non AVC)? I'd like to help. (in coding; I am not a good ui designer).
ATM I'm very short on time for coding, therefore progress is coming slowly. I'm still laying out the skinning file scheme (XML format) and working on the core framework. As soon as those two things are done, I will update the SVN repository on sourceforge and provide a skinning documentation, so others can work on the code and commit their changes. The link to the sourceforge page is on my homepage: http://wordpress.fx-world.org
<Don't push the river, it flows.>
http://wordpress.fx-world.org - my devblog
http://wiki.fx-world.org - VFPU documentation wiki

Alexander Berl
Sudds
Posts: 15
Joined: Sun Jul 09, 2006 4:40 am
Location: Ireland
Contact:

Post by Sudds »

Think i,ll just stick with PMPMODAVC, but avr come across a problem with it now , just finished an encode and played it on my PSP and the sound is poppin and stuttering, ave never had this problem before, any ideas guys?
csuper
Posts: 103
Joined: Tue Jan 03, 2006 6:19 pm

PMPMOD working with 2.71-SE ???

Post by csuper »

Hye,

Has someone succeed to run with the "just yet release" Firmware 2.71-SE PMPMOD or PMPMODavc ....?

I'm interested by their tests...

csuper.
Sudds
Posts: 15
Joined: Sun Jul 09, 2006 4:40 am
Location: Ireland
Contact:

Post by Sudds »

I can confirm that PMPMODAVC does work on Dark Alexs custom firmware! ;) Sweet...So long 1.50
csuper
Posts: 103
Joined: Tue Jan 03, 2006 6:19 pm

Post by csuper »

Hye Jonny,

Have you some news about you, to tell us lately ??

Csuper.
jonny
Posts: 351
Joined: Thu Sep 22, 2005 5:46 pm
Contact:

Post by jonny »

sorry, i'm quite busy in this period, i'm not able to work on the project :(
MrR
Posts: 5
Joined: Thu Feb 09, 2006 10:01 pm

Post by MrR »

is it possible to make it one eboot file with sei tool for example? It will not run when I try it.
Sudds
Posts: 15
Joined: Sun Jul 09, 2006 4:40 am
Location: Ireland
Contact:

Post by Sudds »

I know PMPMODAVC runs as a V1.00 eboot, but am not sure about PMPMOD.
If you are running 2.71 SE-A make sure you place that single eboot that you converted into the GAME150 folder.
DocMAX
Posts: 35
Joined: Tue Jun 13, 2006 10:04 am

Post by DocMAX »

is it possible to turn off the *.pos file creation?
User avatar
Raphael
Posts: 646
Joined: Tue Jan 17, 2006 4:54 pm
Location: Germany
Contact:

Post by Raphael »

pos files are only specific to my latest 1.02M version. If you don't want them, you either need to use jonnys official 1.02 or my previous 1.02b version.
<Don't push the river, it flows.>
http://wordpress.fx-world.org - my devblog
http://wiki.fx-world.org - VFPU documentation wiki

Alexander Berl
Casshern76
Posts: 1
Joined: Tue Oct 24, 2006 11:22 pm

Post by Casshern76 »

hello !! i'm very happy for your amazing result about your converts so , now plzzzz could we have a good tutorial , or explain for us step by step how you did to convert movie in extremely best quality ? thanks men !!
kamui
Posts: 5
Joined: Wed Oct 25, 2006 11:49 pm
Contact:

a little request...

Post by kamui »

Hello,
i'm using PMP mod (not avc) and i like it very much, thank you for your work ^^
i encode my video in 512x384 (for the 4:3) in xvid, and the playing is perferct ! the feature that i like the most is that your soft can read video bigger than 480x272 (unlike the official mp4 of sony), so, i can encode all my video in 512x288 or 512x384, and i can view them on my pc in a bigger resolution, or in my psp.
the only probleme that i have is the pmp contener, its not a problem for my pc, but i have a dvd/divx platine, and it dont reconize it, even if it can play the same xvid video in .avi
my request is, if you can add support of .avi contener in futur versions, i dont think that's a big probleme cause the encodage is the same (xvid+mp3), so its just the contener the probleme (i think :p ), of course it will be just an additionnal option, the pmp files will still be supported...
an other request, is that you add support for subtitles files in .srt or the likes.
thanks for reading ;) i hope that this wasnt asked by someone else, i just cant read all the 50 pages of previous posts ;)
(sorry for my english also >_< )
bye ^^
User avatar
Raphael
Posts: 646
Joined: Tue Jan 17, 2006 4:54 pm
Location: Germany
Contact:

Post by Raphael »

The AVI discussion has already been answered several times. The answer was no, and if you need more information to the why you are free to use the search function.
AVI playback is currently only possible through PSPlayerMT. As another option, 0x89 which is currently in development, will support AVI playback too (www.0x89.org).
Regarding subtitles, try out my modified PMP Mod version which supports MicroDVD and SubRip format subtitles already, as well as a few other things. You can get the latest version from my homepage - http://wordpress.fx-world.org
<Don't push the river, it flows.>
http://wordpress.fx-world.org - my devblog
http://wiki.fx-world.org - VFPU documentation wiki

Alexander Berl
kamui
Posts: 5
Joined: Wed Oct 25, 2006 11:49 pm
Contact:

Post by kamui »

ok, thats too bad, thanks for your link for the subtitles...
specter
Posts: 5
Joined: Tue Oct 31, 2006 11:09 pm

Post by specter »

hi raphael, I have tried using AVI2PMP converter to convert my files to AVC format. It seems that the conversion for AVC takes far longer than the non-AVC version am i right ? The output seems better for AVC tough but the time consuming conversion puts me back tot pmpmod202 i guess. Would be waiting for your pmpmod202M version hopefully!

Cheers!
Valkyr
Posts: 1
Joined: Mon Nov 13, 2006 12:23 am

pmp_muxer

Post by Valkyr »

Hi,

I'm having some trouble using pmp_muxer in linux. I have successfully extracted audio and video files from a movie. I can mux them together with the pmp_muxer.pl script. But when I try to play the file with pmpmod, it outputs the following error:
pmp_file_open: invalid video format
The audio and video files are valid because I can mux them together with pmp_muxer.exe on a windows box.

Does anyone know what could be the cause of this error?

Distribution: Gentoo linux
perl-5.8.8
pmpmod: 2.02
pmp_muxer: 2.01


EDIT:
This happens to me everytime, I struggle with a problem for days, finally decide to look for help on a forum, only to find the solution a few hours later. It seems some muxer files got mixed with another version, completely erasing the muxer directory and re-extracting fixed my issue. I can finally use my python script for simple pmp creation :) . If it gets in better shape I'll share it with you guys
7oby
Posts: 25
Joined: Fri Jun 09, 2006 2:18 am

recent patches of x264

Post by 7oby »

I was wondering whether somebody has patches to the more recent versions of x264 available. The old ones don't match the current code anymore. Just wanted to ask before I try to manually edit the source files.

Wanted to play with the encoder on some multi core machines and see whether more recent version of x264 improves encoding performance.

regards,
7oby
jonny
Posts: 351
Joined: Thu Sep 22, 2005 5:46 pm
Contact:

Post by jonny »

be aware that using more threads break compatibility with the internal psp decoder (the stream generated can't be decoded because frames are internally divided in slices)
7oby
Posts: 25
Joined: Fri Jun 09, 2006 2:18 am

Post by 7oby »

jonny wrote:be aware that using more threads break compatibility with the internal psp decoder (the stream generated can't be decoded because frames are internally divided in slices)
Thanx a lot! I wasn't aware that using multi threaded encoding actually has an impact to the actual output stream.

I had the impression that single images would be split in order to facilitate multiple threads (-> and doing this to distribute those among multiple cores) and joined/merged at some processing stage again. However this seems to be wrong: I briefly checked some threads in forum.doom9.org.

7oby
P.S: Thanx for PMP Mod (AVC)!
7oby
Posts: 25
Joined: Fri Jun 09, 2006 2:18 am

Post by 7oby »

Raphael wrote:... if you need more information to the why you are free to use the search function.
Let me start with the second part: I think I'm to stupid to use the search function. At least I have not figured out how to search a single thread (this one) and get the answer: <Your search string can be found on page XY out of 56>.
Raphael wrote:The AVI discussion has already been answered several times. The answer was no, and if you need more information to the why you are free to use the search function.
Laking the search function, I might have missed something, but all answers I remember were like: ".avi is to stupid"

This isn't the answer I'd expect and I did search some more. I came across this thread
http://forum.doom9.org/showpost.php?p=5 ... ostcount=1
which gave me a hint of why people hate .avi.

Besides that: Who ever volunteers to summarize the most frequent issues in a FAQ and put this one at the first page of this thread, would do a valuable job!
User avatar
Raphael
Posts: 646
Joined: Tue Jan 17, 2006 4:54 pm
Location: Germany
Contact:

Post by Raphael »

7oby wrote: Let me start with the second part: I think I'm to stupid to use the search function. At least I have not figured out how to search a single thread (this one) and get the answer: <Your search string can be found on page XY out of 56>.
Some of the results:
http://forums.ps2dev.org/viewtopic.php? ... =avi#33309
http://forums.ps2dev.org/viewtopic.php? ... =avi#35135
http://forums.ps2dev.org/viewtopic.php? ... =avi#46837
7oby wrote: Laking the search function, I might have missed something, but all answers I remember were like: ".avi is to stupid"
Well, you could sum the answers up with this, if you were going to be cynical about it, yes. Fact is, avi is the hell to parse and sync correctly and jonny decided he will never touch it again after he introduced the .pmp container. I for myself lately tried working out a libavformat compatible pmpmod version, and I learned the hard way why jonny chose to avoid this.
7oby wrote: This isn't the answer I'd expect and I did search some more. I came across this thread
http://forum.doom9.org/showpost.php?p=5 ... ostcount=1
which gave me a hint of why people hate .avi.
Yeah, that should be a good hint, why people (especially devs) hate it. I myself do now, though I really liked it before when I was only "using" it.
7oby wrote: Besides that: Who ever volunteers to summarize the most frequent issues in a FAQ and put this one at the first page of this thread, would do a valuable job!
Why don't you? ;P
<Don't push the river, it flows.>
http://wordpress.fx-world.org - my devblog
http://wiki.fx-world.org - VFPU documentation wiki

Alexander Berl
jonny
Posts: 351
Joined: Thu Sep 22, 2005 5:46 pm
Contact:

Post by jonny »

from http://web.njit.edu/all_topics/Prog_Lan ... rmats.html
There are two kinds of AVI files:

* Interleaved: Audio and video content is interleaved. This is the standard usage. Recommended and mostly used. Some tools create interleaved AVIs with bad sync. MPlayer detects these as interleaved, and this climaxes in loss of A/V sync, probably at seeking. These files should be played as non-interleaved (with the -ni option).
* Non-interleaved: First comes the whole video stream, then the whole audio stream. It thus needs a lot of seeking, making playing from network or CD-Rom difficult.

MPlayer supports two kinds of timings for AVI files:

* bps-based: It is based on the bitrate/samplerate of the video/audio stream. This method is used by most players, including avifile and Windows Media Player. Files with broken headers, and files created with VBR audio but not with a VBR-compliant encoder will result in A/V desync with this method (mostly at seeking).
* interleaving-based: It does not use the bitrate value of the header, instead it uses the relative position of interleaved audio and video chunks, making badly encoded files with VBR audio playable.

Any audio and video codec is allowed, but note that VBR audio is not well supported by most players. The file format makes it possible to use VBR audio, but most players expect CBR audio, thus they fail with VBR. VBR is uncommon and the Microsoft AVI specs only describe CBR audio. Most AVI encoders/multiplexers create bad files when using VBR audio. There are only two known exceptions: NanDub and MEncoder.
Supporting this mess it's not easy, considering that you need to handle bad interleaved files and badly muxed vbr audio.
pmp it's more simple: providing a video stream and an audio stream, there is 1 and only 1 way to mux
7oby
Posts: 25
Joined: Fri Jun 09, 2006 2:18 am

Re: recent patches of x264

Post by 7oby »

7oby wrote:I was wondering whether somebody has patches to the more recent versions of x264 available.
I patched a very recent version of x264. The speed increase was only 2,5-3,5%.

However the resulting clips crash rather fast on the PSP. Either I oversaw something adapting the [pictiming-]patch to the new code base or there are some changes to the x264, which require to rewrite the pict_timing and buffer patch.

7oby
7oby
Posts: 25
Joined: Fri Jun 09, 2006 2:18 am

Re: recent patches of x264

Post by 7oby »

7oby wrote: I patched a very recent version of x264. The speed increase was only 2,5-3,5%.

However the resulting clips crash rather fast on the PSP. Either I oversaw something adapting the [pictiming-]patch to the new code base or there are some changes to the x264, which require to rewrite the pict_timing and buffer patch.
The recent version of Xvid4PSP Version 4.0.4.4 also contains a more recent version of x264 (Core 54svn-603M). Instead of the Core 47svn-528M one distributed with PMP Mod AVC v1.02

It works so far. More or less unrecognizable.
karnare
Posts: 17
Joined: Thu Feb 16, 2006 11:40 am

Post by karnare »

Quoted from magicK
"Further investigation showed that the stream must also contain buffering_period and pic_timing SEIs." Is that means even playing original mp4 file, we have to make the stream contain the two things?

Thanks!
Last edited by karnare on Wed Dec 06, 2006 8:27 pm, edited 2 times in total.
Khannie
Posts: 27
Joined: Tue Apr 25, 2006 9:12 pm
Location: Dublin, Ireland

Re: recent patches of x264

Post by Khannie »

Just wondering if there's a coherent post / page for linux encoding anywhere?

I'm more than willing to share my experience. My encodes (using the modified x264 + pmp muxer perl scripts) work about 80% of the time, the other 20% are consistently losing sound synch slowly throughout the video.
7oby wrote:Wanted to play with the encoder on some multi core machines and see whether more recent version of x264 improves encoding performance.
Just wanted to add to Jonny's post: As he pointed out to me a few pages ago, you can use 2 threads (3 or more will cause a crash iirc) in the first pass of a 2 pass encode without affecting the final encode. I get a decent speed increase from this (about 20% on first pass). edit: I have a dual core AMD chip (3800+ x2 @ 2.4G).

Thanks again to Jonny and Raph for all your work on this. I use it every day on the train. :)
Post Reply