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 

Time to write my Hard drive based Divx player

 
Post new topic   Reply to topic    forums.ps2dev.org Forum Index -> PS2 Development
View previous topic :: View next topic  

Is it worth my effort, and will people help me to get going
Well worth it, and I will help where I can
28%
 28%  [ 8 ]
Well worth it, and I would help but I dont know how to code
35%
 35%  [ 10 ]
Well worth it, but dont turn to me for help
7%
 7%  [ 2 ]
Not fussed about the app, but will help anyway
10%
 10%  [ 3 ]
Not fussed about the app, and dont ask me for help
0%
 0%  [ 0 ]
Stop waisting your time, its not worth writing one
17%
 17%  [ 5 ]
Total Votes : 28

Author Message
wootty2000



Joined: 30 Dec 2004
Posts: 3

PostPosted: Thu Dec 30, 2004 10:30 pm    Post subject: Time to write my Hard drive based Divx player Reply with quote

After looking round numerious places and failing, I have decided that it is time for me to consider writing my own.

I am new to writing for the PS2s, so dont know what I am doing.
I am going to need help and pointers untill I really get in to the swing of things. I have done 2 1/2 years of Java, 5 years of VB, and about 5 hours of C/C++

What do people think about a PS2 Divx Player that will play from the Hard drive
_________________
New to Programming PS2s, so please cut me some slack :-p
Back to top
View user's profile Send private message
J.F.



Joined: 22 Feb 2004
Posts: 2906

PostPosted: Fri Dec 31, 2004 5:20 am    Post subject: Reply with quote

I think a completely open player program is definitely something worth doing. As a suggested starting point, look at such open player programs for the PC like xine, mplayer, and vlc.
Back to top
View user's profile Send private message AIM Address
pixel



Joined: 30 Jan 2004
Posts: 791

PostPosted: Fri Dec 31, 2004 11:21 am    Post subject: Reply with quote

Just a side note...

Thanks to all the recent additions to ps2sdk's libc, ffmpeg is compilable without needing newlib. That is, you can compile libavcodec (providing you disable the encoders) WITH the PS2 optimized stuff (recently added by some other company who commited back AND enabled their code inside libavcodec), which will provide decoders for alot of various stuff, and quite almost the libavformat (only have to provide some dumb stubs for sscanf and gettimeofday so your final binary links nicely) which will provide a lot of demuxer for alot of file formats (not only avi that is)

Dumb code can already decode frames of a divx streamed file for example.
_________________
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
ooPo
Site Admin


Joined: 17 Jan 2004
Posts: 2032
Location: Canada

PostPosted: Fri Dec 31, 2004 12:23 pm    Post subject: Reply with quote

A company actually gave back to a project? Nice. :)
Back to top
View user's profile Send private message Visit poster's website
pixel



Joined: 30 Jan 2004
Posts: 791

PostPosted: Fri Dec 31, 2004 1:39 pm    Post subject: Reply with quote

Yeah, it's huh... lemme find back

.
.
.

Ah, right: BroadQ which is using ffmpeg inside their product.
_________________
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
Drakonite
Site Admin


Joined: 17 Jan 2004
Posts: 989

PostPosted: Fri Dec 31, 2004 3:10 pm    Post subject: Reply with quote

/me applauds BroadQ

Back on topic a little... as much as a good thing an open media player would be, if you've only known C for a few hours you are going to have a very steep climb to get something running.

I don't mean to discourage you, but just giving a friendly heads up ;)
_________________
Shoot Pixels Not People!
Makeshift Development
Back to top
View user's profile Send private message Visit poster's website
wootty2000



Joined: 30 Dec 2004
Posts: 3

PostPosted: Fri Dec 31, 2004 8:45 pm    Post subject: Reply with quote

I do know that learning while developing is not going to b easy.
However, I have done Java, which is very very close to C, so it is not too much of a learning curve.
Once I get my environment set up, and done the "Hello World" and "StarSim" samples, I should be getting on my way.
Its not going to be easy, but I do enjoy being set these sort of tasks (ones that seem impossible to start with)
If there are enough people that will just keep pointing me in the right direction from time to time, I should survive

Keep the poll going as it may make up my mind
_________________
New to Programming PS2s, so please cut me some slack :-p
Back to top
View user's profile Send private message
bbraun



Joined: 01 Jan 2005
Posts: 5

PostPosted: Sat Jan 01, 2005 1:18 am    Post subject: Reply with quote

Iʻve been looking for a good media player for the PS2. The xbmc project for the xbox has made the xbox the single most useful consumer electronic device I have ever had. A similar project for the PS2 would be very useful for the PS2. I have been trying to contact the PS2 Reality folks as it would be far more useful to continue someone elseʻs work than to start from scratch. Since they have abandoned the project, I would have thought they would have been happy to have someone continue their work. However, that does not appear to be the case. So a new, open media player for the PS2 would be incredibly useful and I would contribute my time and resources to the project. If you need a place to host it, Iʻd be happy to provide that as well, although there are many other places, such as sourceforge.
Back to top
View user's profile Send private message
wootty2000



Joined: 30 Dec 2004
Posts: 3

PostPosted: Sat Jan 01, 2005 6:44 am    Post subject: Reply with quote

Hope every one has a happy new year
I will decide if I shall write this software after the new year
Have a good one, and dont drink too much :-p
_________________
New to Programming PS2s, so please cut me some slack :-p
Back to top
View user's profile Send private message
zerocom



Joined: 08 Jun 2004
Posts: 12

PostPosted: Sun Jan 02, 2005 3:06 am    Post subject: Reply with quote

I have a alpha version of a player for my libps2mpeg2 .... it still uses some functions from the s*ny sdk, but i guess someone with knowledge of the ps2sdk and some time will quickly make it work....

It supportes VCD/SVCD or files from cd/dvd in mpeg ps format. Audio support via MAD decoder even for mp3....

Is somebody interested? That maybe a good start.

Bye...
Back to top
View user's profile Send private message MSN Messenger
pixel



Joined: 30 Jan 2004
Posts: 791

PostPosted: Sun Jan 02, 2005 3:25 am    Post subject: Reply with quote

Grunt work?! W00t, gimme! :P
_________________
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
J.F.



Joined: 22 Feb 2004
Posts: 2906

PostPosted: Sun Jan 02, 2005 3:53 am    Post subject: Reply with quote

If you put a link up, people should be able to grab it and give it a look-see. You might want to check with the ps2dev maintainers about getting it in the cvs. That would be the best way to make it available to folks. In the meantime, I'm interested in helping out.
Back to top
View user's profile Send private message AIM Address
zerocom



Joined: 08 Jun 2004
Posts: 12

PostPosted: Sun Jan 02, 2005 8:31 am    Post subject: Reply with quote

Do you think cvs would be a good idea? I could check it in, but without the official s*ny sdk, noone can compile it.
Back to top
View user's profile Send private message MSN Messenger
pixel



Joined: 30 Jan 2004
Posts: 791

PostPosted: Sun Jan 02, 2005 8:58 am    Post subject: Reply with quote

Well, give it to me privately or something. I'll clean it up so it will be okay for releasing.
_________________
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
CrestDem0n



Joined: 07 Jan 2005
Posts: 3

PostPosted: Fri Jan 07, 2005 5:56 am    Post subject: Reply with quote

I've been a longtime user of the PS2Reality Mediaplayer, too bad they keep the source to themselves. Support for the HD would really make it a killerapplication.

By the way, someone else started on a ps2media-project called The Black Project. Check out a video of some beta-version here: http://www.ps2-scene.org/forums/showpost.php?p=206352&postcount=21
Back to top
View user's profile Send private message
J.F.



Joined: 22 Feb 2004
Posts: 2906

PostPosted: Fri Jan 07, 2005 6:57 am    Post subject: Reply with quote

That site requires registration to view. You should probably warn people about that.
Back to top
View user's profile Send private message AIM Address
_tmator_



Joined: 15 Nov 2004
Posts: 19
Location: France

PostPosted: Sat Jan 08, 2005 12:06 am    Post subject: Reply with quote

this movie is just an use of a modified cd of action replay.....
this project is not real.
Back to top
View user's profile Send private message
lmc



Joined: 18 Mar 2004
Posts: 4

PostPosted: Wed Jan 12, 2005 3:37 am    Post subject: Reply with quote

The BroadQ patches to ffmpeg and mad can be found here: http://www.broadq.com/open_source/

There might be some interesting stuff in the patch which is not included in the official ffmpeg release.
Back to top
View user's profile Send private message
pixel



Joined: 30 Jan 2004
Posts: 791

PostPosted: Wed Jan 12, 2005 3:43 am    Post subject: Reply with quote

Aah, nice! Thank for the link, I haven't noticed it.
_________________
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
lmc



Joined: 18 Mar 2004
Posts: 4

PostPosted: Wed Jan 12, 2005 4:04 am    Post subject: Reply with quote

Hello pixel

Don't you also need a libm to compile libavcodec? Last time I tried to build libavcodec for my ps2 without using newlib (one year ago) I linked against a libm based on code from http://www.netlib.org/fdlibm/ (pretty much the same libm as in newlib but with some fixes).
Back to top
View user's profile Send private message
pixel



Joined: 30 Jan 2004
Posts: 791

PostPosted: Wed Jan 12, 2005 5:28 am    Post subject: Reply with quote

I am indeed using newlib's libm. There were some talks on the channel about having one libm inside ps2sdk, such as Cephes which seems to be AFL-compatible. I'll have a look at this fdlibm too. Any suggestion ?
_________________
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
J.F.



Joined: 22 Feb 2004
Posts: 2906

PostPosted: Wed Jan 12, 2005 11:44 am    Post subject: Reply with quote

In my experience, programs calling libm are rarely using more than a few routines. Best to compile without libm, get a list of the "missing" functions, then grab the code for just those functions from the BSD libm. Of course, it may turn out to be less work to have a full libm. You never know until you check. If it's just a couple functions, don't bother with libm.
Back to top
View user's profile Send private message AIM Address
lmc



Joined: 18 Mar 2004
Posts: 4

PostPosted: Wed Jan 12, 2005 11:28 pm    Post subject: Reply with quote

Last I checked (one year ago) ffmpeg needed ceil, floor, rint, exp, log, pow, sqrt, cos, cosh, sin, sinh, tan and tanh which is more than a few routines.

IMHO it would be a good idea to add fdlibm, since its libm compatible, well tested (has been included in newlib for ages), not that bloated and AFAICT AFL compatible. Just my two cents.
Back to top
View user's profile Send private message
Drakonite
Site Admin


Joined: 17 Jan 2004
Posts: 989

PostPosted: Thu Jan 13, 2005 1:35 am    Post subject: Reply with quote

fdlibm doesn't seem to have a license at all, which techincally means we are not given any express rights to use it or any of it's code. In that case it would not be AFL compatible.
_________________
Shoot Pixels Not People!
Makeshift Development
Back to top
View user's profile Send private message Visit poster's website
lmc



Joined: 18 Mar 2004
Posts: 4

PostPosted: Thu Jan 13, 2005 1:47 am    Post subject: Reply with quote

Each file has a:

====================================================
* Copyright (C) 1993 by Sun Microsystems, Inc. All rights reserved.
*
* Developed at SunSoft, a Sun Microsystems, Inc. business.
* Permission to use, copy, modify, and distribute this
* software is freely granted, provided that this notice
* is preserved.
* ====================================================

To me this looks AFL compatible, but then again, what do I know, I am not lawyer.
Back to top
View user's profile Send private message
Drakonite
Site Admin


Joined: 17 Jan 2004
Posts: 989

PostPosted: Thu Jan 13, 2005 3:21 am    Post subject: Reply with quote

Ah, didn't open up each source file to check :) Maybe it is then, I'm not the one to ask for sure.
_________________
Shoot Pixels Not People!
Makeshift Development
Back to top
View user's profile Send private message Visit poster's website
CrestDem0n



Joined: 07 Jan 2005
Posts: 3

PostPosted: Tue Feb 15, 2005 1:55 am    Post subject: Reply with quote

How's this coming along? Any progress? :)
Back to top
View user's profile Send private message
hypersonic



Joined: 13 Nov 2004
Posts: 9

PostPosted: Mon Feb 21, 2005 8:44 pm    Post subject: Reply with quote

bbraun wrote:
Since they have abandoned the project, I would have thought they would have been happy to have someone continue their work. However, that does not appear to be the case.


there is too much skeletons in ps2reality's closet (media player) for them to release the source code i think....
Back to top
View user's profile Send private message
phunk



Joined: 17 Feb 2005
Posts: 9

PostPosted: Tue Feb 22, 2005 4:18 am    Post subject: Reply with quote

you should definitely do this. i have wanted something like this for a while now. would it be possible to make it mount samba partitions across the network to play files off those as well? :) i would settle for playing dvdrs containing avi files though...
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 -> PS2 Development All times are GMT + 10 Hours
Page 1 of 1

 
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