Time to write my Hard drive based Divx player
-
- Posts: 3
- Joined: Thu Dec 30, 2004 10:35 am
Time to write my Hard drive based Divx player
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
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
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.
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.
Yeah, it's huh... lemme find back
.
.
.
Ah, right: BroadQ which is using ffmpeg inside their product.
.
.
.
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.
/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 ;)
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
Makeshift Development
-
- Posts: 3
- Joined: Thu Dec 30, 2004 10:35 am
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
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
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.
-
- Posts: 3
- Joined: Thu Dec 30, 2004 10:35 am
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...
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...
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.
-
- Posts: 3
- Joined: Fri Jan 07, 2005 5:47 am
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/showpos ... stcount=21
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/showpos ... stcount=21
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.
There might be some interesting stuff in the patch which is not included in the official ffmpeg release.
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.
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).
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).
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.
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.
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.
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.
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
Makeshift Development
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.
====================================================
* 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.
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
Makeshift Development
-
- Posts: 9
- Joined: Sat Nov 13, 2004 11:25 am