Source code
The code is made available under GPL, using a Subversion repository at sourceforge.net. Hopefully, this will inspire others to help in the development and kick in features and bug-fixes. Just grab the code and send me patches. Please send me email with questions - I will be happy to help.
Code
The latest code can be downloaded using the following Subversion repository
https://mythtvplayer.svn.sourceforge.net/svnroot/mythtvplayer/trunk
I use tortoiseSVN which is an excelent SVN client for windows. The repository can also be browsed using ViewVC.
Compiling
I use the wxDev-C++ IDE. There is project files in the repository for this IDE. You can also use Visual Studio, but I have never tried. If you get it working, please send me the project files.
Here is a zip-bundle with all the compiled libraries you need. This will get you easy started.
Quickstart
Thanks to Justin for mailing me this.
- Install TortoiseSVN
- Get the source using SVN
- Download and install wxDev-C++
- Download and unzip the libraries. Copy them to the libs folder in the source tree.
- Download FFMPEG from ttp://ffmpeg.arrozcru.org/builds/shared/ffmpeg-r16537-gpl… and unpack it into libs folder in the source tree
- Download SDL 1.2.x "development libraries" from http://www.libsdl.org/download-1.2.php and unpack it into libs folder in the source tree
- Copy *.dll files from your installed version of the player to the "release" folder in the source tree
- Copy *.dll files from FFMPEG and SDL to the "release" folder in the source
tree - Open project libspark\Spark.dev . Compile it (Ctrl+F9)
- Open project dev-cpp\MythTV Player.dev. Compile it (Ctrl+F9)
- You now have a compiled version
Libraries
The player could not have been created without the following amazing libraries. A big applause goes to the developers of these.
Ffmpeg is used for demuxing, audio and video decoding.
FLTK2 (Fast Light ToolKit2) is used for the Graphical User Interface.
SDL (Simple Direct Layer) is used for image and audio handling.
TinyXml is used for the XML config file.
gettext is used for multilanguage support.
The latest trunk version now supports the latest ffmpeg libraries (08/2009).
Documentation
No real documentation on the code exist, except the comments in the actual code. I will happily write a brief introduction to the internal workings of the player if needed, but I will not spend time writing documentation which nobody reads. Therefore, I will do it on-demand/event-based so send me a mail if you find the code interesting and want some documentation.
Linux and OSX
Currently "MythTv Player" only exist for Windows, but as it is created using libraries that are independent of the operating system it should be possible with minor changes. It requires that somebody want to kick in a few changes here and there and create some makefiles to get it up running. You wanna help? Mail me.
Previous page: MythTv Protocol
Next page: Frequently Asked Question
