| View previous topic :: View next topic |
| Author |
Message |
Ranwanui
Joined: 15 Oct 2005 Posts: 7
|
Posted: Wed Nov 02, 2005 1:23 pm Post subject: |
|
|
use asm version:
480:272---OK
-3: 272 ----Only Audio;
use c version:(replace csc_asm() with csc_c() in me_csc.c)
480:272 ---OK
-3:272 -----OK
But the stream control cannot work corrently
(push D pad or L\R trigger); |
|
| Back to top |
|
 |
jonny
Joined: 22 Sep 2005 Posts: 351
|
Posted: Wed Nov 02, 2005 6:32 pm Post subject: |
|
|
what is "-3" ?
EDIT:
there are restrictions on my csc routines:
csc_c -> (width mod 2) = 0 and (height mod 2) = 0
csc_asm -> (width mod 8) = 0 and (height mod 2) = 0
me_csc with csc_c -> (width mod 2) = 0 and (height mod 4) = 0
me_csc with csc_asm -> (width mod 8) = 0 and (height mod 4) = 0
anyway a decent mpeg4 stream should have (width mod 8) = 0 and (height mod 8) = 0
a good stream (width mod 16) = 0 and (height mod 16) = 0 |
|
| Back to top |
|
 |
Ranwanui
Joined: 15 Oct 2005 Posts: 7
|
Posted: Thu Nov 03, 2005 11:35 am Post subject: |
|
|
I see.
"-3" means auto adapt with another parameter.
"-3:272" means auto adjust height to adapt the 272 width in 4:3 |
|
| Back to top |
|
 |
dnnsmanace
Joined: 31 Oct 2005 Posts: 15
|
Posted: Thu Nov 03, 2005 1:42 pm Post subject: |
|
|
Anyone know how they are decoding xvid in PSPAdvance?
www.pspadvance.com |
|
| Back to top |
|
 |
Dibblah
Joined: 03 Nov 2005 Posts: 13
|
|
| Back to top |
|
 |
someone Idiot
Joined: 13 Sep 2005 Posts: 74
|
Posted: Thu Nov 03, 2005 8:12 pm Post subject: |
|
|
| dnnsmanace wrote: | Anyone know how they are decoding xvid in PSPAdvance?
www.pspadvance.com |
Well, in a crappy way I have to say. ch1.avi (the xvid in the freeware preview) is a lowres 10fps crappy vid, with external audio (ch1.mp3).
Replace ch1.avi with a xvid you've made and you will find that PSP Media Player its already way faster than PSPAdvance in xvid playback (at least for this preview release of PSPAdvance).
PSPAdvance is one week away from release.....and this slow performance make me think.......... |
|
| Back to top |
|
 |
Dibblah
Joined: 03 Nov 2005 Posts: 13
|
Posted: Thu Nov 03, 2005 9:42 pm Post subject: |
|
|
| To be clear, they *cannot* use the XviD codec in a commercial application, without providing source. So what they're doing is breaking the license agreement for the XviD codec. |
|
| Back to top |
|
 |
jonny
Joined: 22 Sep 2005 Posts: 351
|
Posted: Thu Nov 03, 2005 9:56 pm Post subject: |
|
|
| They are ignoring GPL and they are ignoring Lua license too!!! |
|
| Back to top |
|
 |
andresilich
Joined: 09 Aug 2005 Posts: 13 Location: massachusetts
|
Posted: Thu Nov 03, 2005 10:03 pm Post subject: |
|
|
that software is also licensed with sony, so this should be a fun turn events if they actually ignore all this licenses agreements.
have you seen the thing, ADS in the PSP, they went there. |
|
| Back to top |
|
 |
Shapyi
Joined: 25 Apr 2005 Posts: 95
|
Posted: Fri Nov 04, 2005 9:15 am Post subject: |
|
|
PSPAdvance seems to be DJSP (which he wrote), the open source psix demo, Lua and XviD compiled into one program. It seems to freeze a lot when I use it, I won't be buying it. Don't be surprised if you guys see this FFMPEG port in it.
Back on topic. How come I get all these exceptions when I play a clip in PSP Media Player after I already played one? Is there a way to fix this in code? Maybe reset a buffer or reset some variables. |
|
| Back to top |
|
 |
romhacker
Joined: 07 Feb 2005 Posts: 6
|
Posted: Fri Nov 11, 2005 8:26 am Post subject: |
|
|
| I found it played MPEG quite well for the first 20 secs or so, then it crashed. Keep up the good work. |
|
| Back to top |
|
 |
digihoe
Joined: 14 May 2005 Posts: 108
|
Posted: Fri Nov 11, 2005 8:53 am Post subject: |
|
|
Yes, I have also found that it will slow down playback after a few seconds, anyone know what the problem is?
Best regards! |
|
| Back to top |
|
 |
romhacker
Joined: 07 Feb 2005 Posts: 6
|
Posted: Fri Nov 11, 2005 9:39 am Post subject: |
|
|
| Pressing Triangle helps a lot (sets the CPU Speed to 333). |
|
| Back to top |
|
 |
dnnsmanace
Joined: 31 Oct 2005 Posts: 15
|
Posted: Mon Nov 14, 2005 2:50 pm Post subject: |
|
|
| Seems its very close to playable... XviD that is. Im using avg 600 bitrate 2 pass. When motion gets high (higher bitrate) it goes crazy and stutters and such, but it seems to catch up when things quiet down. Otherwise the quality is amazing. Is anyone still working on this? A video I was playing (its about 20min) crashed after the first minute or so, first audio cut out then video stopped and it froze. Seems like its very close to being watchable in terms of optimization. Anyway, my 2 cents. Hope to see progress soon and you devs are amazing. |
|
| Back to top |
|
 |
jonny
Joined: 22 Sep 2005 Posts: 351
|
Posted: Mon Nov 14, 2005 7:34 pm Post subject: |
|
|
I've got some idct optimizations working, video *only* runs at 28-30fps here on my psp :) (with the usual mpeg4 sp clip @ 480x272).
The bad side is that i've completely broken bframes (stupid me for testing only sp).
Anyway, still working on this. Full speed/stability will require some time (maybe will never get this :P), keep posting and don't worry if none answer, maybe one day you'll get a surprise ^^ |
|
| Back to top |
|
 |
digihoe
Joined: 14 May 2005 Posts: 108
|
Posted: Mon Nov 14, 2005 8:09 pm Post subject: |
|
|
Nice to see that you been able to make some idct optimizations jonny...
What bitrate are your SP clip? 1500kbs?
Is there any other way to play mp3 without using the CPU that much (wishthinking), or maybe ogg (it should be less CPU intensive, right?) can be used...?
Great to see progress, keep up the great work!
Best regards! |
|
| Back to top |
|
 |
jonny
Joined: 22 Sep 2005 Posts: 351
|
Posted: Mon Nov 14, 2005 8:26 pm Post subject: |
|
|
the average bitrate on my tests is around 900 (you don't get more with an 1GB memstick and a 2h movie).
I can tell you nothing about the audio, i've still not added it on my benchs (there are differents libs and formats to check) |
|
| Back to top |
|
 |
jonny
Joined: 22 Sep 2005 Posts: 351
|
|
| Back to top |
|
 |
JiniCho
Joined: 14 Sep 2005 Posts: 18
|
Posted: Wed Nov 16, 2005 12:22 pm Post subject: |
|
|
Great work! it seems like it's fast enough to play fullscreen mpeg4 video for PSP.
One problem here, when i play .mpg file i see bunch of small green blocks instead of video. Maybe its because of the codec only prepare me_idct when the video is h263. |
|
| Back to top |
|
 |
dnnsmanace
Joined: 31 Oct 2005 Posts: 15
|
Posted: Wed Nov 16, 2005 1:55 pm Post subject: |
|
|
| When loading an about 100mb avi xvid the app crashes with a "Bus error (data)." This didnt on the previous version on the same file. I can say on small samples, video is a lot smoother and audio is a lot more in sync. Keep up the progress! |
|
| Back to top |
|
 |
JiniCho
Joined: 14 Sep 2005 Posts: 18
|
|
| Back to top |
|
 |
Itaintrite

Joined: 15 Jul 2005 Posts: 54
|
Posted: Wed Nov 16, 2005 5:12 pm Post subject: |
|
|
| Broken links JiniCho |
|
| Back to top |
|
 |
JiniCho
Joined: 14 Sep 2005 Posts: 18
|
Posted: Wed Nov 16, 2005 5:26 pm Post subject: |
|
|
| just right click on the link and choose 'save as' not left click. |
|
| Back to top |
|
 |
Itaintrite

Joined: 15 Jul 2005 Posts: 54
|
Posted: Wed Nov 16, 2005 5:31 pm Post subject: |
|
|
| Nevermind, it was Firefox's fault. I tried it with IE and worked. THanks |
|
| Back to top |
|
 |
JiniCho
Joined: 14 Sep 2005 Posts: 18
|
Posted: Wed Nov 16, 2005 6:21 pm Post subject: |
|
|
I missed something in the source code.
find LANGUAGE_KOREAN and change it to LANGUAGE_ENGLISH in ffplay_resample/ffplay.c
(in the same file)
make init_ttf_font() function like below
int init_ttf_font(char *filename, font_info *font, int ptsize)
{
int result = 0;
if (filename)
{
strcpy(font->filename, filename);
if (TTF_Init() >= 0)
{
font->ptsize = ptsize;
font->renderstyle = TTF_STYLE_NORMAL;
font->rendersolid = 1;
font->font = TTF_OpenFont(filename, font->ptsize);
if (font->font)
{
TTF_SetFontStyle(font->font, font->renderstyle);
result = 1;
}
}
}
return result;
}
and in the player_main(), insert one line like below...
int player_main(SceSize args, void* argp)
{
media_type type;
const char *txt;
// pspDebugScreenInit();
// SetupCallbacks();
// pspDebugInstallErrorHandler(MyExceptionHandler);
if (use_ttf_font)
{
if (!init_ttf_font(DEFAULT_FONTNAME, &my_font, DEFAULT_PTSIZE))
{
if (!init_font())
{
printf("Failed to initialize font!!!");
return 1;
}
use_ttf_font = 0; <== insert this line
ttf_failed = 1;
}
}
you have to do that if you don't use ttf stuff.
Sorry for the trouble...
Because of my blog's upload limit I can't post fixed source code. |
|
| Back to top |
|
 |
moonlight
Joined: 26 Oct 2005 Posts: 567
|
Posted: Wed Nov 16, 2005 6:55 pm Post subject: |
|
|
the jonny version plays my full resoltion avi file good, with the audio synchronized and this time, with no glitches.
the jinicho version has more problems with the synchronization, but it plays mp4 (320x240 i've tried) with sound very well (and synchronized).
oh, i hope that johny integrates the mp4 audio in his next version :) Both of you are doing a great work to let us have what $ony don't want, see full resolutions videos in the psp. |
|
| Back to top |
|
 |
jonny
Joined: 22 Sep 2005 Posts: 351
|
|
| Back to top |
|
 |
dnnsmanace
Joined: 31 Oct 2005 Posts: 15
|
Posted: Thu Nov 17, 2005 8:06 am Post subject: |
|
|
| Could someone compile JiniCho's version with the fix please? Thanks. |
|
| Back to top |
|
 |
digihoe
Joined: 14 May 2005 Posts: 108
|
Posted: Thu Nov 17, 2005 8:44 am Post subject: |
|
|
| dnnsmanace wrote: | | Could someone compile JiniCho's version with the fix please? Thanks. |
Maybe when jonny fixes the me_idct for other codecs than h263 it can be complied...?
Also very good work guys, keep it up! |
|
| Back to top |
|
 |
jonny
Joined: 22 Sep 2005 Posts: 351
|
|
| Back to top |
|
 |
|