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 

PSP Media Center and decoder library ports
Goto page 1, 2  Next
 
Post new topic   Reply to topic    forums.ps2dev.org Forum Index -> PSP Development
View previous topic :: View next topic  
Author Message
Warren



Joined: 24 Jan 2004
Posts: 173
Location: San Diego, CA

PostPosted: Thu Jun 23, 2005 4:29 pm    Post subject: PSP Media Center and decoder library ports Reply with quote

Hey guys, lately adresd and I have been busy rocking out some sound stuff and decided to package it all into a Media Center package.

I sat down yesterday and ported libmad and Tremor for MP3 and OGG playback and adresd has been working on .MOD support for a few days now.

Right now the play fully supports:
    44khz MP3s
    partial OGG support (jitters)
    Protracker .mod support (no other mod formats yet)

Features under development:
    XviD video playback (generic library ported, will need much optimisation)
    OGG playback refinement
    .ahx tracker format

Features we want to implement in the future:
    H.264 video support (hopefully using Sony's libraries from flash)
    AAC audio support

You can download a v0.5 preview from http://kelley.ca/psp/PSPMediaCenter-v0_5.rar

Feedback and feature suggestions are welcome but note that we are working on full res XviD support so don't bother suggesting it.
Back to top
View user's profile Send private message
mrbrown



Joined: 17 Jan 2004
Posts: 1536

PostPosted: Thu Jun 23, 2005 4:44 pm    Post subject: Reply with quote

That's the best name you could come up with? C'mon don't pay any homage to the illegitimate Xbox "scene" :P.
Back to top
View user's profile Send private message
F9zDark



Joined: 02 Apr 2005
Posts: 127

PostPosted: Thu Jun 23, 2005 4:54 pm    Post subject: Reply with quote

Looks good, now I just gotta move an mp3 over to the parent directory so it can play a song.

Suggestions:

-Support for all MPEG, AVI, QT and if possible RM formats.(maybe Windows Media formats as well, if possible)
-Support for WAV format.
-File system browsing(take a look at the SNES emu for an example of that)

For the distant future, maybe a GUI interface?
Back to top
View user's profile Send private message AIM Address
Warren



Joined: 24 Jan 2004
Posts: 173
Location: San Diego, CA

PostPosted: Thu Jun 23, 2005 4:54 pm    Post subject: Reply with quote

mrbrown wrote:
That's the best name you could come up with? C'mon don't pay any homage to the illegitimate Xbox "scene" :P.

Ssshhh, we're riding their coattails to fame and loose women! ;)
Back to top
View user's profile Send private message
Èl Nächó



Joined: 03 Apr 2005
Posts: 27

PostPosted: Thu Jun 23, 2005 4:57 pm    Post subject: Reply with quote

You know the PSP plays mp3s natively right? :p

nah, just kidding. Looks good so far. Keep up the good work.
Back to top
View user's profile Send private message
F9zDark



Joined: 02 Apr 2005
Posts: 127

PostPosted: Thu Jun 23, 2005 5:02 pm    Post subject: Reply with quote

Got an error, but still plays the song:

"recoverable frame level error (lost synchronization)"

have no idea what that means, but it still plays the songs.
Back to top
View user's profile Send private message AIM Address
Warren



Joined: 24 Jan 2004
Posts: 173
Location: San Diego, CA

PostPosted: Thu Jun 23, 2005 5:06 pm    Post subject: Reply with quote

F9zDark wrote:
Looks good, now I just gotta move an mp3 over to the parent directory so it can play a song.

Suggestions:

-Support for all MPEG, AVI, QT and if possible RM formats.(maybe Windows Media formats as well, if possible)
-Support for WAV format.
-File system browsing(take a look at the SNES emu for an example of that)

For the distant future, maybe a GUI interface?

MPEG is easily doable but is it worth the bloat? Will anyone actually use it?

AVI is tricky, the AVI container will most likely be supported but there are a jillion codecs that can live inside it.

If anyone wants to come up with a logo or better screens for the MS feel free to do so and post in this thread.

QT same deal as AVI, the most popular codec is sorenson 3 which is not opensource. You have to remember mplayer only supports a lot of formats because it can load the codec .dlls - this also only works on x86 systems which the PSP is not.

RM might be a possibility but not very high on my todo list atm. If we ever get networking going it might be nice to have for streaming video.

WMV is next to impossible and will likely never be done. Plus why would you? XviD and H.264 are much better.

I've been thinking of including a generic MJPG codec for AVI & QT so people can view camera movies. Would people find this useful?

As for GUI and filebrowser, they are being worked on. The text mode look of the current version was just for testing so we could concentrate on getting things working and not on a pretty GUI.
Back to top
View user's profile Send private message
Warren



Joined: 24 Jan 2004
Posts: 173
Location: San Diego, CA

PostPosted: Thu Jun 23, 2005 5:08 pm    Post subject: Reply with quote

F9zDark wrote:
Got an error, but still plays the song:

"recoverable frame level error (lost synchronization)"

have no idea what that means, but it still plays the songs.


It's because of the ID3 tag. I have libID3 ready to do in, just took time to package things up and didn't do it yet.
Back to top
View user's profile Send private message
F9zDark



Joined: 02 Apr 2005
Posts: 127

PostPosted: Thu Jun 23, 2005 5:32 pm    Post subject: Reply with quote

My suggestion with MPEG was to allow users who didn't really want to spend the time converting to mpeg4 format just to watch a few minutes of video on the PSP.

It would be more of a creature comfort, but may be invaluable. I know I'd use it. Can't speak for anyone else though.
Back to top
View user's profile Send private message AIM Address
shifty



Joined: 16 Jun 2005
Posts: 32
Location: MIT

PostPosted: Thu Jun 23, 2005 6:27 pm    Post subject: mp3 playback library release Reply with quote

hiya Warren, can you inform how much modification the
tremor library was?

I'd love to have a two-stream mp3 dj'ing application for PSP,
so if you would post your tremor port source, it would rule...

unless it was trivial, then i'll just do it myself. i dig the way you
released the % file! I dig it becuase i have a mac and don't have
to boot my pc to run kxploit....tho i'd luv to see an osx kxploit...
Back to top
View user's profile Send private message Visit poster's website
inomine



Joined: 05 May 2005
Posts: 53

PostPosted: Thu Jun 23, 2005 7:06 pm    Post subject: Reply with quote

Warren wrote:

MPEG is easily doable but is it worth the bloat? Will anyone actually use it?


Yes, the porn monkeys will ;)


Warren wrote:

AVI is tricky, the AVI container will most likely be supported but there are a jillion codecs that can live inside it.


As long as it supports generic Xvid/DivX with MP3 audio I will be quite happy. Anything beyond that like OGG or AC3 will be icing on the cake.

Anyway, nice work, and sorry for the feature requests. ;)[/quote]
Back to top
View user's profile Send private message
pdc



Joined: 09 Mar 2005
Posts: 107
Location: Rainy Yorkshire, England

PostPosted: Thu Jun 23, 2005 8:07 pm    Post subject: Reply with quote

looking good!
Can't wait for more features and a nice GUI.

There is a small problem listing files. I can't quite figure out for sure what though.
1.mp3 = not listed
aaa.mp3 = not listed
Aaa.mp3 = listed OK

Files with either spaces or capital letters seem to list.

Anyway, good work guys!
Back to top
View user's profile Send private message Visit poster's website
netddos



Joined: 17 Jun 2005
Posts: 9

PostPosted: Thu Jun 23, 2005 9:39 pm    Post subject: Reply with quote

Hopefull it will support asf and wmv files.

Good job so far~ keep it up!

edit: It'd be nice if it supports other languages...[japanese and korean preferably]. :)
Back to top
View user's profile Send private message
Warren



Joined: 24 Jan 2004
Posts: 173
Location: San Diego, CA

PostPosted: Thu Jun 23, 2005 11:39 pm    Post subject: Re: mp3 playback library release Reply with quote

shifty wrote:
hiya Warren, can you inform how much modification the
tremor library was?

I'd love to have a two-stream mp3 dj'ing application for PSP,
so if you would post your tremor port source, it would rule...

unless it was trivial, then i'll just do it myself. i dig the way you
released the % file! I dig it becuase i have a mac and don't have
to boot my pc to run kxploit....tho i'd luv to see an osx kxploit...


Tremor is for OGG, libmad is for MP3, there were a few mods but this is currently in PSPSVN which should be opened to the public sometime next week after the PSPSDK release.
Back to top
View user's profile Send private message
Warren



Joined: 24 Jan 2004
Posts: 173
Location: San Diego, CA

PostPosted: Thu Jun 23, 2005 11:39 pm    Post subject: Reply with quote

pdc wrote:
looking good!
Can't wait for more features and a nice GUI.

There is a small problem listing files. I can't quite figure out for sure what though.
1.mp3 = not listed
aaa.mp3 = not listed
Aaa.mp3 = listed OK

Files with either spaces or capital letters seem to list.

Anyway, good work guys!


Hrm yeah I noticed that last night too, will look into it
Back to top
View user's profile Send private message
Hazuki



Joined: 20 Mar 2005
Posts: 21

PostPosted: Fri Jun 24, 2005 4:02 am    Post subject: Reply with quote

cool, this is awesome news,

my opinion on requested supported formats. i think just xvid and mp3 in .avi container is plenty!

just asked if anyone was working on a media player yesterday! coincidence...i think so!

keep up the work!
Back to top
View user's profile Send private message
Marco_N



Joined: 29 May 2005
Posts: 46

PostPosted: Fri Jun 24, 2005 5:07 am    Post subject: Reply with quote

Warren,

have you contacted the PSP Video 9 community to see if you can use their MP4 codec, and lift it up to full resolution? I'm assuming here that the 76,800 pixel limitation is built-in Sony's own player and won't be an issue with PSP Media Center.
Back to top
View user's profile Send private message
Warren



Joined: 24 Jan 2004
Posts: 173
Location: San Diego, CA

PostPosted: Fri Jun 24, 2005 7:08 am    Post subject: Reply with quote

Marco_N wrote:

have you contacted the PSP Video 9 community to see if you can use their MP4 codec, and lift it up to full resolution? I'm assuming here that the 76,800 pixel limitation is built-in Sony's own player and won't be an issue with PSP Media Center.


It's not 'their' format, it's standard mpeg4 video with AAC audio. XviD will handle the video and I'll have to port an AAC player for the audio.
Back to top
View user's profile Send private message
MarfPSP



Joined: 22 Jan 2005
Posts: 27

PostPosted: Fri Jun 24, 2005 9:58 pm    Post subject: Reply with quote

Cant wait for this one guys, no more converting video before watching!!
Back to top
View user's profile Send private message
jmac



Joined: 30 May 2005
Posts: 1

PostPosted: Sat Jun 25, 2005 1:53 am    Post subject: Reply with quote

superb idea for the media centre man! after watching some of the UMD sample movies, I was mightily disappointed with the "under-res" MP4 video on PSP. XVid at 480x272! I can't wait! :D
Back to top
View user's profile Send private message
F9zDark



Joined: 02 Apr 2005
Posts: 127

PostPosted: Sat Jun 25, 2005 4:39 am    Post subject: Reply with quote

Here is another possible feature I thought of:

-Streaming of content across WiFi
-Support of DVD playback(across WiFi connection)

I think it might be possible, if there were some sort of disc sharing protocols installed to access a DVD-Rom on a computer connected to a WiFi router. This could then playback the DVD video on the PSP.

It kinda sucks having to buy UMDs of every movie I want to watch on the PSP, especially if I already own them on DVD. And for a price of 30 bucks, when I can buy a DVD for 10 bucks less that will play on ANY device I stick it in that has a DVD drive...
Back to top
View user's profile Send private message AIM Address
pixel



Joined: 30 Jan 2004
Posts: 791

PostPosted: Sat Jun 25, 2005 4:54 am    Post subject: Reply with quote

Could you stop the unproductive "that's a cool idea dude! go go go!". Next post like that, and I'll clean up this thread out of that crap.
_________________
pixel: A mischievous magical spirit associated with screen displays. The computer industry has frequently borrowed from mythology. Witness the sprites in computer graphics, the demons in artificial intelligence and the trolls in the marketing department.
Back to top
View user's profile Send private message
F9zDark



Joined: 02 Apr 2005
Posts: 127

PostPosted: Sat Jun 25, 2005 4:59 am    Post subject: Reply with quote

pixel wrote:
Could you stop the unproductive "that's a cool idea dude! go go go!". Next post like that, and I'll clean up this thread out of that crap.


The thread author asked if we could post feedback and suggestions. I don't see why you need to moderate what feedback and suggestions we give to him...
Back to top
View user's profile Send private message AIM Address
CoreCZ



Joined: 24 May 2005
Posts: 8
Location: UMD Drive

PostPosted: Sat Jun 25, 2005 2:42 pm    Post subject: Reply with quote

I think you should still keep ogg playback but scrap mp3 as we can already do that and add support for flac and mpc.

flac - lossles codec
mpc - best lossy codec at mid-high
ogg - good opensourced codec which is good at low bitartes with say aotuv beta 4
Back to top
View user's profile Send private message Send e-mail Visit poster's website
sq377



Joined: 11 Apr 2005
Posts: 87

PostPosted: Sat Jun 25, 2005 5:37 pm    Post subject: Reply with quote

Why would you scrap mp3? Many formats use mp3 underlying video (my entire southpark collection and half my movies). Maybe use the other ones temporarily to get working, but by all means do not scrap it.

Btw... are we using both procs yet? We have the media proc and the main one...
Back to top
View user's profile Send private message AIM Address MSN Messenger
chaos



Joined: 10 Apr 2005
Posts: 135

PostPosted: Sat Jun 25, 2005 6:17 pm    Post subject: Reply with quote

F9zDark wrote:
pixel wrote:
Could you stop the unproductive "that's a cool idea dude! go go go!". Next post like that, and I'll clean up this thread out of that crap.


The thread author asked if we could post feedback and suggestions. I don't see why you need to moderate what feedback and suggestions we give to him...


exactly.
_________________
Chaosmachine Studios: High Quality Homebrew.
Back to top
View user's profile Send private message
Warren



Joined: 24 Jan 2004
Posts: 173
Location: San Diego, CA

PostPosted: Sun Jun 26, 2005 4:16 pm    Post subject: Reply with quote

Please do not make me too posts, request things that already have been request OR debate whether or not MP3 support should be included, this is a media player and aims to play media.

The planned feature list for right now is:
- get ogg working right
- get XviD working (having some trouble with floating point and libc at the moment)
- get AAC audio playing
- get XviD & MP3 and/or OGG playing from an AVI and possibly OGM container
- get XviD & AAC audio playing from .mp4 container

There are no immediate plans to work on anything else until these five things are completed. Other codecs may be implemented at our whim but we are not going to support every obscure format under the sun.

Also, do NOT expect XviD to play full speed out of the box. It will take much optimisation and usage of the VFPU to get it running at an acceptable speed. Since we do not have the ability to compile VFPU code yet it will be a while before this can be done. DO NOT whine about not being able to use the VFPU, it is a very hard thing to get gcc and binutils working correctly with. Anyone doing so will be banned.
Back to top
View user's profile Send private message
Warren



Joined: 24 Jan 2004
Posts: 173
Location: San Diego, CA

PostPosted: Sun Jun 26, 2005 4:18 pm    Post subject: Reply with quote

sq377 wrote:

Btw... are we using both procs yet? We have the media proc and the main one...


We have not yet figured out how to run code on the media engine. Right now people are focusing on more important things like getting a legal SDK out of the door for everyone to use.

After the dust has settled and things are going smoothly I'm sure someone will figure it out. If you want it done faster, pony up and figure it out and let us know how to get things running on it.
Back to top
View user's profile Send private message
Warren



Joined: 24 Jan 2004
Posts: 173
Location: San Diego, CA

PostPosted: Sun Jun 26, 2005 4:23 pm    Post subject: Reply with quote

F9zDark wrote:
Here is another possible feature I thought of:

-Streaming of content across WiFi
-Support of DVD playback(across WiFi connection)


Once the media player is working well (ie after we get VFPU working) streaming content is planned.

DVD playback will likely never exist in PSPMediaCenter as:
- it's much larger than PSP screen and would take a lot of power to decode and resize
- 802.11b networks are not fast enough in practical usage to keep up with DVD bitrates
- I really don't think it's worth incorporating MPEG2 video support
- in case you haven't noticed already not many open source dvd playing software supports DVD menus so you might as well just rip the DVD anyway
- it's easy as hell to use PSPVideo9 or related utilities to transcode your DVD to mpeg4
Back to top
View user's profile Send private message
ooPo
Site Admin


Joined: 17 Jan 2004
Posts: 2032
Location: Canada

PostPosted: Sun Jun 26, 2005 4:43 pm    Post subject: Reply with quote

Warren wrote:
- it's much larger than PSP screen and would take a lot of power to decode and resize

If the psp can decode mpeg4 in realtime, mpeg2 probably isn't a stretch, and as a texture on a sprite it would be nearly free to scale down.

Warren wrote:
- 802.11b networks are not fast enough in practical usage to keep up with DVD bitrates

Well, 802.11b can go to 11Mbps, DVD can go to 10Mbps. Yes, its close... but possible with buffering. I haven't seen many outside of those superbit versions that even come close to the max rate as it would fill the disc too quickly.

Warren wrote:
- I really don't think it's worth incorporating MPEG2 video support

I hear the application of cash and prizes to this 'warren bottleneck' can increase performance greatly. Perhaps you should look into this.
Back to top
View user's profile Send private message Visit poster's website
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 1, 2  Next
Page 1 of 2

 
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