Beginning Programming

Discuss issues related to PS3 Media Server development (only for programmers)

Beginning Programming

Postby timeitniear » Wed Jul 11, 2012 6:10 pm

Hi....

I would like have a deeper understanding of the code behind this application and possibility be able to contribute. How does one get started? I have a basic understanding of programming from my HW background. Is there a place to read and understand the various encoding and decoding methods used? I have a what I consider a small first project in mind that I would like to start my experience. I would like to be able to call Filp4Mac when the stream is .wmv, asx or any other extension that is usually handled by Windows Media Player.

Any recommendations or suggestions welcomed

Regards

Tim
MacBook Pro
2.2 Ghz Intel Core i7
4GB Ram
OSX 10.8.1
timeitniear
 
Posts: 17
Joined: Thu Feb 23, 2012 9:22 pm

Re: Beginning Programming

Postby happy.neko » Wed Jul 11, 2012 7:21 pm

For development you need solid knowledge of core java. Oracle's tutorials are actually very good: http://docs.oracle.com/javase/tutorial/

Everything else depends on what you want to achieve. PS3MS's code definitely not for the faint of heart. Mostly undocumented, sometimes very messy etc. I'm still little scared to touch MencoderVideo.java, for example. And definitely nowhere near 100% understanding how it works.

Creating plugins on the other hands looks relatively easy and straightforward. You just implement several interfaces and populate resource tree anyway you want.
happy.neko
Project Member
 
Posts: 478
Joined: Fri Sep 23, 2011 5:38 pm

Re: Beginning Programming

Postby SubJunk » Thu Jul 12, 2012 4:41 am

Or be like me and just poke around until you get to know it; I had never touched Java until PMS. It can be fun just playing around with it!
Open up the source code and change some things around, compile and test, see what your changes did, then your knowledge grows from there

happy.neko wrote:I'm still little scared to touch MencoderVideo.java, for example.
The memory buffer stuff is the real scary part :p
SubJunk
 
Posts: 1210
Joined: Fri Mar 27, 2009 5:25 am

Re: Beginning Programming

Postby ExSport » Thu Jul 12, 2012 8:12 am

But there is someone who experiment with it(buffering) and is trying to fix some bugs there:-)
https://github.com/ps3mediaserver/ps3me ... er/pull/56
Anyway I wanted to say that I have no knowledge of Java, only general programming skills(IT Admin, not the programmer) and I was able to hack some code to do things better or add some new features 8-)
Reading the code and changing the "output" is much easier than creating something from scratch so feel free to start with reading the code and start experimenting ;)
ExSport
 
Posts: 2168
Joined: Mon Jan 19, 2009 5:40 pm

Re: Beginning Programming

Postby timeitniear » Fri Jul 13, 2012 1:29 am

Thanks for the pointers. I don't feel so bad after seeing where you guys came from! Hopefully you'll see more than questions from me in the future!

regards

Tim
MacBook Pro
2.2 Ghz Intel Core i7
4GB Ram
OSX 10.8.1
timeitniear
 
Posts: 17
Joined: Thu Feb 23, 2012 9:22 pm


Return to Developers

Who is online

Users browsing this forum: No registered users and 3 guests