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 ... 53, 54, 55 ... 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
Khannie



Joined: 25 Apr 2006
Posts: 27
Location: Dublin, Ireland

PostPosted: Mon Jul 10, 2006 11:55 pm    Post subject: Reply with quote

jonny wrote:
@Khannie:

x264 support only uncompressed avi (both on windows/linux)
on windows we use avisynth to frameserve, there is a minitut some pages ago
(in case you have missed there is also the possibility to compile mencoder with the modified x264 support - so no need to pipe or frameserve)


Didn't know that about the windows x264, though I did try using avs files with wine, I had no joy there. You can't compile in any avi support for x264 on linux as it requires windows.h. :)

I haven't tried the mencoder build because it's a pain in the bum on linux to add codec support so I just use the default apt repository version. I'm actually really happy with the way things are though. :) I was just looking for a way to optimise my encodes.

Congrats on the world cup victory btw.

@eingang: The best way to do this would be to append the avi files together before encoding to pmp.
Back to top
View user's profile Send private message
karnare



Joined: 16 Feb 2006
Posts: 17

PostPosted: Thu Jul 13, 2006 4:10 pm    Post subject: Reply with quote

to jonny:
It seems that after calling sceIoReadAsync(), the file pointer points the right place where the next packet starts. But why calling sceIoLseek32() to move to the same offset before reading the packet?
Back to top
View user's profile Send private message Send e-mail MSN Messenger
jonny



Joined: 22 Sep 2005
Posts: 351

PostPosted: Thu Jul 13, 2006 5:37 pm    Post subject: Reply with quote

this is not true when you seek with ff/rw
iirc removing/optimizing sceIoLseek32 doesn't change the performance
Back to top
View user's profile Send private message Visit poster's website
karnare



Joined: 16 Feb 2006
Posts: 17

PostPosted: Thu Jul 13, 2006 6:55 pm    Post subject: Reply with quote

jonny wrote:
this is not true when you seek with ff/rw
iirc removing/optimizing sceIoLseek32 doesn't change the performance

I see, thanks a lot!
And I wonder that why choosing sceIoReadAsync instead of sceIoRead.
Can I use sceIoRead only to get the data buf? Thanks.
Back to top
View user's profile Send private message Send e-mail MSN Messenger
jonny



Joined: 22 Sep 2005
Posts: 351

PostPosted: Thu Jul 13, 2006 7:23 pm    Post subject: Reply with quote

the reading of the next packets block is done in parallel with the decoding of the current packets block
in this way reading routines have the cost of 0 (with a memstick there could be a boost of 2-4 fps on high bitrate portions, using an hd, for example the datel hd, the speed boost is around 12-15 fps)

you can substitute sceIoReadAsync with sceIoRead (you should also change wait_asynchronous_buffer with a function that simply return 0)
you'll get a speed penality that change based on the memstick used (if you search in this thread there was a public test/benchmark some months ago)
Back to top
View user's profile Send private message Visit poster's website
csuper



Joined: 03 Jan 2006
Posts: 103

PostPosted: Mon Jul 17, 2006 8:21 pm    Post subject: Reply with quote

Hye Jonny,

I've seen lately, pop-up some news, about custom firmware...
I'm wandering if you think possible to add natively pmp mod to a custom firmware... ? (PMP file accessible directly in the VIDEO tab of the XMB would be so nice, no ? ;)

Also do you think it's possible, to unlock the resolution limitation for the xmb (example 480x272 for MPEG ASP profile in FW 1.5 or 480*272 for MPEG AVC in FW 2.+)... ?

CIAO.

csuper.
Back to top
View user's profile Send private message
therock003



Joined: 23 Sep 2005
Posts: 96

PostPosted: Mon Jul 17, 2006 8:38 pm    Post subject: Reply with quote

Would a resolution of 480x352 run smoothly on the new version?Cause i need that resolution for 4:3 videos.IS it better displayed than a distorted 480x272 or a cropped file?
Back to top
View user's profile Send private message
jonny



Joined: 22 Sep 2005
Posts: 351

PostPosted: Wed Jul 19, 2006 3:21 am    Post subject: Reply with quote

@csuper:

interesting question but ... i don't have an answer :)


@therock003:

is there any reason to not use 360x272?
also remember that no matter what the resolution is, you can force 4:3 aspect ratio with the player (and using the zoom, you can reduce black bars at the cost of some cropping)



PMP Mod v2.02 is out.

- Speed increase (640x272 MPEG4-SP goes at ~28fps).
- Fixed some audio problems (random pops, mainly audible with headphones).
- Added loop option (x + right trigger to toggle).
- New key mapping.


it's really hot here, don't expect big updates for some time :P
Back to top
View user's profile Send private message Visit poster's website
psp



Joined: 01 Jun 2006
Posts: 43

PostPosted: Wed Jul 19, 2006 5:21 am    Post subject: Reply with quote

i checked the new 2.02 at 592*320 xvid movie
work flawless !!!!

we are getting closer to run untouched movies without any transcoding

can you add a option to chance cpu speed to 222 (or 266) ?
Back to top
View user's profile Send private message
jonny



Joined: 22 Sep 2005
Posts: 351

PostPosted: Wed Jul 19, 2006 5:26 pm    Post subject: Reply with quote

Quote:

can you add a option to chance cpu speed to 222 (or 266) ?

sadly i have some strange behavior if i use a lower clock, i'm still investigating
Back to top
View user's profile Send private message Visit poster's website
scyrax



Joined: 07 Feb 2006
Posts: 18

PostPosted: Wed Jul 19, 2006 9:58 pm    Post subject: Reply with quote

@jonny

Any progress on how to make 720x480 AVC working?
Back to top
View user's profile Send private message
Khannie



Joined: 25 Apr 2006
Posts: 27
Location: Dublin, Ireland

PostPosted: Thu Jul 20, 2006 1:20 am    Post subject: Reply with quote

jonny wrote:
PMP Mod v2.02 is out.


:o

After the AVC release, I didn't expect any further development on the "standard" PMP Mod.

Out of interest: Why is it that you have done further work on it given that the AVC player is technically superior?
The only disadvantage I've seen with it is increased encoding times. For a high quality 480x272, 2 pass encode, the worst case for me is 1.6 times the length of the original video (I have a 3800+ x2 at 2.4GHz) where the 2 pass xvid encode for the PMP Mod 2.x took about 0.8 times the length of the original video.

Encoding times aren't a big issue for me anyway. I usually kick them off from work or last thing at night, so they're running while I'm away from the computer.
Back to top
View user's profile Send private message
jonny



Joined: 22 Sep 2005
Posts: 351

PostPosted: Thu Jul 20, 2006 1:49 am    Post subject: Reply with quote

@scyrax:

research in this direction is actually stopped (magiK probably doesn't have enough motivations, and i'm sharing the same feeling about this)

@Khannie:

actually i find the standard version more interesting/challenging
the prospective of playing mpeg4asp video without the need of reencoding is quite attractive (and this is the new target for the std pmpmod version)
Back to top
View user's profile Send private message Visit poster's website
jackandjohn



Joined: 26 Jan 2006
Posts: 13

PostPosted: Thu Jul 20, 2006 2:50 am    Post subject: Reply with quote

jonny wrote:

actually i find the standard version more interesting/challenging
the prospective of playing mpeg4asp video without the need of reencoding is quite attractive (and this is the new target for the std pmpmod version)


Does this mean that there's a chance we could have ipod-compatable mp4 (read; diggnation, frederator, etc) files running without re-encode (ie: just muxing)??

I can /just/ barely get them running with PSPlayer MT, but it "hiccups" every 10 seconds or so which makes them functionally unwatchable
Back to top
View user's profile Send private message
csuper



Joined: 03 Jan 2006
Posts: 103

PostPosted: Thu Jul 20, 2006 3:09 am    Post subject: Reply with quote

Full Metal alchemist (yeah !)
Gumnn (re-Yeah !)
What's next ??? ;)
Cowboy Bebop ?

Anyway, I'm loosing myself...

I'm testing right now 2.02 :
-----
NARUTO 640*480 episode --- stream copy + VBR 112 kb ---
=>Strong Crackle & Tuttering during the generic but some part of the episode is OK (just a bit of crakle behind) !?
Amazing work between 2.01 and 2.02 and btw time of encoding < 2minutes :), Keep up the good work jonny.
-----
I've tested with a CBR 112kb audio - no change.

B R A V O !
Back to top
View user's profile Send private message
moonlight



Joined: 26 Oct 2005
Posts: 567

PostPosted: Thu Jul 20, 2006 9:45 am    Post subject: Reply with quote

Khannie wrote:
jonny wrote:
PMP Mod v2.02 is out.


:o

After the AVC release, I didn't expect any further development on the "standard" PMP Mod.

Out of interest: Why is it that you have done further work on it given that the AVC player is technically superior?
The only disadvantage I've seen with it is increased encoding times. For a high quality 480x272, 2 pass encode, the worst case for me is 1.6 times the length of the original video (I have a 3800+ x2 at 2.4GHz) where the 2 pass xvid encode for the PMP Mod 2.x took about 0.8 times the length of the original video.

Encoding times aren't a big issue for me anyway. I usually kick them off from work or last thing at night, so they're running while I'm away from the computer.


Don't forget also that standard MP4 is better for real time encoding in the PC + wifi streaming like the pimpstreamer mod. At least i doubt my PC is enough powerful to handle real time AVC encoding.
Back to top
View user's profile Send private message
therock003



Joined: 23 Sep 2005
Posts: 96

PostPosted: Thu Jul 20, 2006 7:51 pm    Post subject: Reply with quote

jonny wrote:

@therock003:

is there any reason to not use 360x272?
also remember that no matter what the resolution is, you can force 4:3 aspect ratio with the player (and using the zoom, you can reduce black bars at the cost of some cropping)


I hate bars being displayed at the left and right of the screen.Now that higher res is supported,wouldn't it be better to use standard 4:3 resolutions?
Back to top
View user's profile Send private message
jonny



Joined: 22 Sep 2005
Posts: 351

PostPosted: Fri Jul 21, 2006 3:36 am    Post subject: Reply with quote

@jackandjohn:

it depends by what is exactly contained in "ipod-compatable mp4", you should give me detailed specs (i'm lazy to search :P)

@csuper:
Quote:

Full Metal alchemist (yeah !)
Gumnn (re-Yeah !)
What's next ??? ;)
Cowboy Bebop ?

too early to answer this, i don't have idea :)
Quote:

NARUTO 640*480 episode --- stream copy + VBR 112 kb ---
=>Strong Crackle & Tuttering during the generic but some part of the episode is OK (just a bit of crakle behind) !?
Amazing work between 2.01 and 2.02 and btw time of encoding < 2minutes :), Keep up the good work jonny.

actually i'm using a 640x384 clip as speed reference (this goes ~22fps - always without gmc/qpel)

@therock003:
Quote:

I hate bars being displayed at the left and right of the screen.Now that higher res is supported,wouldn't it be better to use standard 4:3 resolutions?

you have do decide if you like deformed picture or not.
1) if you accept a deformed picture, you can simply encode @480x272
2) if you want correct aspect ratio, you should crop top/bottom slices of the original video (to obtain a 16:9 picture) and encode @480x272
encoding @480x352 doesn't change the things too much:
with aspect ratio set to original, 480x352 is automatically resized to something near 360x272
you can always zoom until black bars goes away, obtaining the result described in 2) (with the difference that you have wasted space encoding top and bottom slices that are actually not visible)
Back to top
View user's profile Send private message Visit poster's website
softgun



Joined: 13 Jan 2006
Posts: 3

PostPosted: Sat Jul 22, 2006 3:33 am    Post subject: question regarding AVItoPMP Reply with quote

I'm still sort of new to PMP encoding...I'm using the new AVItoPMP (release a couple days ago), and when I try to encode a lot of AVI's, I keep getting "Status: only stereo/joint stereo is supported!"

And of course there's no PMP file afterwards, so I'm guessing this is some error on my part. On other programs, this message comes up as an error, saying nothing was transcoded.

I'm basically trying to encode a 368 x 272 video to AVC PMP for Jonny's mod.

Thanks in advance guys.
Back to top
View user's profile Send private message
Sudds



Joined: 09 Jul 2006
Posts: 15
Location: Ireland

PostPosted: Sat Jul 22, 2006 3:38 am    Post subject: Reply with quote

AVItoPMP doesnt support AVC at the moment mate, try Xvid4psp http://forum.doom9.org/showthread.php?p=852802#post852802
Scroll down to last post.
Back to top
View user's profile Send private message Visit poster's website
Alcahest



Joined: 25 Mar 2005
Posts: 135

PostPosted: Sat Jul 22, 2006 4:16 am    Post subject: Reply with quote

AVItoPMP does support AVC!
Grab the latest release ;)
Later,

Alcahest
Back to top
View user's profile Send private message
Sudds



Joined: 09 Jul 2006
Posts: 15
Location: Ireland

PostPosted: Sat Jul 22, 2006 4:35 am    Post subject: Reply with quote

Great! Thanks for the eye opener Alcahest.
Back to top
View user's profile Send private message Visit poster's website
jackandjohn



Joined: 26 Jan 2006
Posts: 13

PostPosted: Sat Jul 22, 2006 5:38 am    Post subject: Reply with quote

jonny wrote:
@jackandjohn:

it depends by what is exactly contained in "ipod-compatable mp4", you should give me detailed specs (i'm lazy to search :P)


I guess I can give you that luxury ;P


From http://www.dv.com/features/features_item.jhtml?category=Archive&articleId=183701552:

-320 x 240 video window,
-a video data rate of up to 768 Kbps,
-playback at 30 frames per second,
-a baseline profile up to level 1.3
-an AAC-LC audio track with a data rate up to 160 Kbps, 48 KHz stereo.
-H.264 MPEG4 video



As an example of content that stutters:
http://downloads.revision3.com/torrents/diggnation/0054/diggnation--0054--2006-07-13--small.m4v.torrent

Second (smaller) example:
http://www.podtrac.com/pts/redirect.m4v?http://media.libsyn.com/media/gearlive/BleedingEdgeByte023.m4v


My assumption is that it's the combo of H.264 and AAC that really kills the psp - if we could even get away with only having to transcode the audio and put it in a PMP container in order for it to be smooth; I would be happy :)
Back to top
View user's profile Send private message
jonny



Joined: 22 Sep 2005
Posts: 351

PostPosted: Sat Jul 22, 2006 5:27 pm    Post subject: Reply with quote

@softgun:

the message mean that you are passing a mono mp3 to the muxer

@jackandjohn:
Quote:

-H.264 MPEG4 video

sadly not.
the h264 software decoding (in libavcodec) is still unoptimized for psp, you'll obtain the same poor performance.
on the other side, hardware assisted h264 decoding (as in pmpmod avc) require some constraints that make the ipod streams incompatible
Back to top
View user's profile Send private message Visit poster's website
jackandjohn



Joined: 26 Jan 2006
Posts: 13

PostPosted: Sun Jul 23, 2006 12:11 am    Post subject: Reply with quote

jonny wrote:

@jackandjohn:
Quote:

-H.264 MPEG4 video

sadly not.
the h264 software decoding (in libavcodec) is still unoptimized for psp, you'll obtain the same poor performance.
on the other side, hardware assisted h264 decoding (as in pmpmod avc) require some constraints that make the ipod streams incompatible


Aww :(
I don't suppose there's a way to shortcut, and apply those constraints without having to re-encode? (A long-shot, I know, but I use democracy tv, and subscribe to a fair number of video podcasts)
Back to top
View user's profile Send private message
jockyw2001



Joined: 29 Sep 2005
Posts: 339

PostPosted: Sun Jul 23, 2006 12:23 am    Post subject: Reply with quote

use PMP VLC
Back to top
View user's profile Send private message
jackandjohn



Joined: 26 Jan 2006
Posts: 13

PostPosted: Sun Jul 23, 2006 1:15 am    Post subject: Reply with quote

jockyw2001 wrote:
use PMP VLC


For?
(It's a streaming app; PMPMOD is for video off the memory stick)
Back to top
View user's profile Send private message
moontan77



Joined: 20 Jun 2006
Posts: 13

PostPosted: Sun Jul 23, 2006 1:17 am    Post subject: Reply with quote

jonny wrote:
@scyrax:

the prospective of playing mpeg4asp video without the need of reencoding is quite attractive (and this is the new target for the std pmpmod version)


Do you mean standard size xvids that a lot of ppl would have on modded xbox's etc or do you have no wish to do this at all?
Back to top
View user's profile Send private message
jockyw2001



Joined: 29 Sep 2005
Posts: 339

PostPosted: Sun Jul 23, 2006 1:30 am    Post subject: Reply with quote

jackandjohn wrote:
jockyw2001 wrote:
use PMP VLC


For?
(It's a streaming app; PMPMOD is for video off the memory stick)

you can also play avi files, eg. h264 avc+aac, from memstick with it
Back to top
View user's profile Send private message
jackandjohn



Joined: 26 Jan 2006
Posts: 13

PostPosted: Sun Jul 23, 2006 4:43 am    Post subject: Reply with quote

jockyw2001 wrote:

you can also play avi files, eg. h264 avc+aac, from memstick with it


Oh! I assumed it was just a client end for the vlc output from a pc, not an actual port of vlc.. I'll test it right away; thanks
Back to top
View user's profile Send private message
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 ... 53, 54, 55 ... 60, 61, 62  Next
Page 54 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