hey, this is in response to a few of you who wanted to to know how to setup mlbviewer on cygwin under windows 7...
this post may change some as I add steps or fix mistakes...
the point of all this? mlbviewer runs actually very nicely on the windows platform with the mplayer and rtmpdump ports available to you! SOME of us need to run windows for work or school, and may not be able to easily set up a dual boot for your favorite linux...
Step 1: Download the required tools (don't install yet, just download all this stuff)
(I simply downloaded his already-compiled version at the bottom of this page... you can build yourself if you want, or try the build that comes with smplayer: http://smplayer.sourceforge.net/
Microsoft C++ 2008 redistributable package: (ONLY NEEDED IF YOU DON'T COMPILE RTMPDUMP FROM SOURCE)
openssl win32: http://www.slproweb.com/products/Win32OpenSSL.html
rtmpdump WINDOWS VERSION:
(select python egg for python2.5)
OK, with this stuff downloaded, we're ready to begin...
1. First, lets install cygwin. click the setup.exe, choose "install from internet" give it a root directory (I use c:/cygwin), a local package directory (i put mine in My Documents) and select a mirror that is close to you, (they're all quite fast).
Select the following packages to go along with your install. You can do a search for them in the search bar. These packages will install other dependencies. Some of these may get installed by other packages, but you should make sure you have ALL of these:
Then, click next and let it install everything. Put a shortcut on your desktop. You now have cygwin installed, and have a mostly adequate unix system on your windows... Open cygwin once and make sure that it works
The next step is to exctract the mplayer files from the zip you downloaded (or the exe you built yourself) into your cygwin folder. In c:/cygwin, click "bin" and COPY all the mplayer files from that ZIP into there, including the codecs folder. in your cygwin shell, type "mplayer.exe" and you should see the mplayer help displayed in your prompt (just like linux). test a video file if you like:
ALTERNATIVELY, smplayer will give you a perfect working copy of mplayer.exe, so you can download that (either the full installer or the portable version) and copy the mplayer.exe from that install to your c:/cygwin/bin/ folder.
next, extract all the rtmpdump files into the "bin" folder as well. you will also need two dll files for rtmpdump to run correctly in your cygwin/lib folder (I put them in cygwin/bin as well). Install Microsoft C++ 2008 redistributable package, which is required to install openssl win32. when you install openssl win32, select a folder on your c drive, not the windows system install folder. when it's done, grab these 2 dll files from the openssl bin folder and copy them to the lib and bin folders
after that, rtmpdump should be ready to use!
ALTERNATIVELY, you can install openssl and openssl-dev from cygwin, then download the rtmpdump source and type 'make posix' to have rtmpdump working.
Copy the setuptools egg files to your home/yourname folder. Now, lets fire up cygwin, run the necessary commands, and then mlbviewer should be up and running. run this command to install setuptools:
now that setuptools works, install the requirements for mlbviewer:
then, do the subversion checkout of the latest mlbviewer!
svn co https://mlbviewer.svn.sourceforge.net/svnroot/mlbviewer
navigate to the mlbviewer folder and do the first run:
this should create a config file in your home/username/.mlb folder. go to this folder, put in your username/password, and change the video_player and audio_player lines to this:
video_player=mplayer.exe -vo direct3d -cache 2048 -really-quiet
audio_player=audio_player=mplayer -cache 64 -really-quiet
back in cygwin, run again:
select a game (live or archived) and you should be up and running!
a few notes:::
typing rxvt (and hitting enter) will bring up a nicer looking shell more like a linux shell (nicer font, white background)