| View previous topic :: View next topic |
| Author |
Message |
Khannie
Joined: 25 Apr 2006 Posts: 27 Location: Dublin, Ireland
|
Posted: Mon Jul 10, 2006 11:55 pm Post subject: |
|
|
| 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 |
|
 |
karnare
Joined: 16 Feb 2006 Posts: 17
|
Posted: Thu Jul 13, 2006 4:10 pm Post subject: |
|
|
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 |
|
 |
jonny
Joined: 22 Sep 2005 Posts: 351
|
Posted: Thu Jul 13, 2006 5:37 pm Post subject: |
|
|
this is not true when you seek with ff/rw
iirc removing/optimizing sceIoLseek32 doesn't change the performance |
|
| Back to top |
|
 |
karnare
Joined: 16 Feb 2006 Posts: 17
|
Posted: Thu Jul 13, 2006 6:55 pm Post subject: |
|
|
| 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 |
|
 |
jonny
Joined: 22 Sep 2005 Posts: 351
|
Posted: Thu Jul 13, 2006 7:23 pm Post subject: |
|
|
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 |
|
 |
csuper
Joined: 03 Jan 2006 Posts: 103
|
Posted: Mon Jul 17, 2006 8:21 pm Post subject: |
|
|
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 |
|
 |
therock003
Joined: 23 Sep 2005 Posts: 96
|
Posted: Mon Jul 17, 2006 8:38 pm Post subject: |
|
|
| 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 |
|
 |
jonny
Joined: 22 Sep 2005 Posts: 351
|
Posted: Wed Jul 19, 2006 3:21 am Post subject: |
|
|
@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 |
|
 |
psp
Joined: 01 Jun 2006 Posts: 43
|
Posted: Wed Jul 19, 2006 5:21 am Post subject: |
|
|
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 |
|
 |
jonny
Joined: 22 Sep 2005 Posts: 351
|
Posted: Wed Jul 19, 2006 5:26 pm Post subject: |
|
|
| 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 |
|
 |
scyrax
Joined: 07 Feb 2006 Posts: 18
|
Posted: Wed Jul 19, 2006 9:58 pm Post subject: |
|
|
@jonny
Any progress on how to make 720x480 AVC working? |
|
| Back to top |
|
 |
Khannie
Joined: 25 Apr 2006 Posts: 27 Location: Dublin, Ireland
|
Posted: Thu Jul 20, 2006 1:20 am Post subject: |
|
|
| 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 |
|
 |
jonny
Joined: 22 Sep 2005 Posts: 351
|
Posted: Thu Jul 20, 2006 1:49 am Post subject: |
|
|
@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 |
|
 |
jackandjohn
Joined: 26 Jan 2006 Posts: 13
|
Posted: Thu Jul 20, 2006 2:50 am Post subject: |
|
|
| 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 |
|
 |
csuper
Joined: 03 Jan 2006 Posts: 103
|
Posted: Thu Jul 20, 2006 3:09 am Post subject: |
|
|
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 |
|
 |
moonlight
Joined: 26 Oct 2005 Posts: 567
|
Posted: Thu Jul 20, 2006 9:45 am Post subject: |
|
|
| 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 |
|
 |
therock003
Joined: 23 Sep 2005 Posts: 96
|
Posted: Thu Jul 20, 2006 7:51 pm Post subject: |
|
|
| 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 |
|
 |
jonny
Joined: 22 Sep 2005 Posts: 351
|
Posted: Fri Jul 21, 2006 3:36 am Post subject: |
|
|
@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 |
|
 |
softgun
Joined: 13 Jan 2006 Posts: 3
|
Posted: Sat Jul 22, 2006 3:33 am Post subject: question regarding AVItoPMP |
|
|
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 |
|
 |
Sudds
Joined: 09 Jul 2006 Posts: 15 Location: Ireland
|
|
| Back to top |
|
 |
Alcahest
Joined: 25 Mar 2005 Posts: 135
|
Posted: Sat Jul 22, 2006 4:16 am Post subject: |
|
|
AVItoPMP does support AVC!
Grab the latest release ;)
Later,
Alcahest |
|
| Back to top |
|
 |
Sudds
Joined: 09 Jul 2006 Posts: 15 Location: Ireland
|
Posted: Sat Jul 22, 2006 4:35 am Post subject: |
|
|
| Great! Thanks for the eye opener Alcahest. |
|
| Back to top |
|
 |
jackandjohn
Joined: 26 Jan 2006 Posts: 13
|
|
| Back to top |
|
 |
jonny
Joined: 22 Sep 2005 Posts: 351
|
Posted: Sat Jul 22, 2006 5:27 pm Post subject: |
|
|
@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 |
|
 |
jackandjohn
Joined: 26 Jan 2006 Posts: 13
|
Posted: Sun Jul 23, 2006 12:11 am Post subject: |
|
|
| 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 |
|
 |
jockyw2001
Joined: 29 Sep 2005 Posts: 339
|
Posted: Sun Jul 23, 2006 12:23 am Post subject: |
|
|
| use PMP VLC |
|
| Back to top |
|
 |
jackandjohn
Joined: 26 Jan 2006 Posts: 13
|
Posted: Sun Jul 23, 2006 1:15 am Post subject: |
|
|
| jockyw2001 wrote: | | use PMP VLC |
For?
(It's a streaming app; PMPMOD is for video off the memory stick) |
|
| Back to top |
|
 |
moontan77
Joined: 20 Jun 2006 Posts: 13
|
Posted: Sun Jul 23, 2006 1:17 am Post subject: |
|
|
| 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 |
|
 |
jockyw2001
Joined: 29 Sep 2005 Posts: 339
|
Posted: Sun Jul 23, 2006 1:30 am Post subject: |
|
|
| 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 |
|
 |
jackandjohn
Joined: 26 Jan 2006 Posts: 13
|
Posted: Sun Jul 23, 2006 4:43 am Post subject: |
|
|
| 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 |
|
 |
|