2004-08-24, 02:44
updated
please pm me any modifications you seam fit.
now why compile mplayer.dll you ask.
isn´t it in cvs already?
yes it is.
but sometimes we may forget to update the included mplayer.dll so there actually is a newer one then in cvs...
first of you need to get mingw:
i find that this is a good place. start the install and choose the full. (~45mb in total to download)
then you download minsys, again, this is a good place todo so.
start by installing mingw. a root dir is the best place, c:\mingw for instanc
then install minsys and complete the questions you get after install in the command window.
now get this file and unzip. (use winzip or winrar to open it)
move the bin , lib and libexec dirs to the mingw install folder and overwrite the old bin and lib folders there.
now you need the mplayer source, and it is as easy to get via cvs as the xbmc source.
i suggest tortoisecvs as your cvs client.
install and reboot when asked..
in c: (for example) make a folder called mplayer (all lowercase)
right click next to it and you will have some new additions. choose checkout and enter the info below.
use this as cvsroot:
:pserver:[email protected]:/cvsroot/xbmc
use this as your module:
mplayer
when you got the source down you fire up minsys.
write in the path to your mplayer folder
example:
now type:
./configurexbmc
or
./configurexbmc --disable-libavformat
a whole lot should start happening.
when it is done write:
make
again, it will start compiling so sit back while it does this. (ignore any errors it may give you)
when done with the make write this:
makedll
this makes the mplayer.dll as you might have guessed.
there, all done and you should now have a cvs version of the mplayer.dll
to quit just type exit and hit enter
when you later update and want to make a new compile, start winsys and do the ./configurexbmc (or as i wrote at the top ./configurexbmc --disable-libavformat) then make and finaly makedll
why do ./configurexbmc /.configurexbmc --disable-libavformat again you ask?
well, calls to the mplayer.dll might have changed and thus you make sure you always have a correct dll.
please pm me any modifications you seam fit.
now why compile mplayer.dll you ask.
isn´t it in cvs already?
yes it is.
but sometimes we may forget to update the included mplayer.dll so there actually is a newer one then in cvs...
first of you need to get mingw:
i find that this is a good place. start the install and choose the full. (~45mb in total to download)
then you download minsys, again, this is a good place todo so.
start by installing mingw. a root dir is the best place, c:\mingw for instanc
then install minsys and complete the questions you get after install in the command window.
now get this file and unzip. (use winzip or winrar to open it)
move the bin , lib and libexec dirs to the mingw install folder and overwrite the old bin and lib folders there.
now you need the mplayer source, and it is as easy to get via cvs as the xbmc source.
i suggest tortoisecvs as your cvs client.
install and reboot when asked..
in c: (for example) make a folder called mplayer (all lowercase)
right click next to it and you will have some new additions. choose checkout and enter the info below.
use this as cvsroot:
:pserver:[email protected]:/cvsroot/xbmc
use this as your module:
mplayer
when you got the source down you fire up minsys.
write in the path to your mplayer folder
example:
Quote:cd c:
cd mplayer
now type:
./configurexbmc
or
./configurexbmc --disable-libavformat
Quote:elupus:using the --disable-avformat tag disables as it says libavformat. it means that the dll now relies on only demuxers present in mplayer directly. i don't know exactly what demuxers might not exist there, but there might be some.
the use of that tag will lower mem usage with about .8mb, so it could be a lifesaver for those of you who are running hd rezes, but as i said it limits some of the dll's functionallity when it comes to obscure formats.
ps. gcc3.4.4 is the only 3.4.x series working. forget about any older.
a whole lot should start happening.
when it is done write:
make
again, it will start compiling so sit back while it does this. (ignore any errors it may give you)
when done with the make write this:
makedll
this makes the mplayer.dll as you might have guessed.
there, all done and you should now have a cvs version of the mplayer.dll
to quit just type exit and hit enter
when you later update and want to make a new compile, start winsys and do the ./configurexbmc (or as i wrote at the top ./configurexbmc --disable-libavformat) then make and finaly makedll
why do ./configurexbmc /.configurexbmc --disable-libavformat again you ask?
well, calls to the mplayer.dll might have changed and thus you make sure you always have a correct dll.