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)
cygwin:
http://www.cygwin.com/
mplayer:
http://kemovitra.blogspot.com/2010/0...coder-for.html (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)
http://www.microsoft.com/downloads/d...d-074b9f2bc1bf
openssl win32:
http://www.slproweb.com/products/Win32OpenSSL.html
rtmpdump WINDOWS VERSION:
http://rtmpdump.mplayerhq.hu/
Setuptools::
http://pypi.python.org/pypi/setuptools (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:
binutils
gcc-core
gcc-g++
gcc-mingw-core
gcc-mingw-g++
gettext
libgcc1
libstdc++6
mingw-runtime
subversion
zlib-devel
man
texinfo
gawk
python
crypt
libapr1
libaprutil1
libgcc1
libstdc++6
openssl
rxvt
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:
mplayer.exe video.avi
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
in cygwin:
libeay32.dll
ssleay32.dll
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:
sh setuptools-0.6c9-py2.4.egg
now that setuptools works, install the requirements for mlbviewer:
easy_install suds
easy_install pyxml
easy_install simplejson
then, do the subversion checkout of the latest mlbviewer!
svn co
https://mlbviewer.svn.sourceforge.net/svnroot/mlbviewer mlbviewer
navigate to the mlbviewer folder and do the first run:
cd mlbviewer
cd trunk
python mlbviewer.py
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:
python mlbviewer.py
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)