Compiling MPlayer on the Zaurus

From OESF

(Difference between revisions)
Jump to: navigation, search
Current revision (10:52, 16 February 2008) (edit) (undo)
 

(5 intermediate revisions not shown.)

Line 10:

Line 10:

Step 1:
Step 1:
-
unbzip2it - on another computer (Zaurus doesn't have bzip2 by default) and gzip it. or grab this:[http://kirk.math.twsu.edu/family/james/MPlayer-0.90pre5.tar.gz] -Please download this only if you have a zaurus and no access to another computer.
+
 
-
(This is correctable now, see !ZaurusZone's feed.[http://www.zauruszone.com/feed])
+
unbzip2it - on another computer (Zaurus doesn't have bzip2 by default) and gzip it. or grab this:
 +
 
 +
http://kirk.math.twsu.edu/family/james/MPlayer-0.90pre5.tar.gz -Please download this only if you have a zaurus and no access to another computer.
 +
 
 +
(This is correctable now, see '''ZaurusZone's feed''' http://www.zauruszone.com/feed) (broken link)
 +
 
Step 2:
Step 2:
 +
transfer it to zaurus, doesn't matter how.
transfer it to zaurus, doesn't matter how.
 +
Step 3:
Step 3:
 +
edit configure script.
edit configure script.
-
delete/comment out everything between "echocheck "pthread"" to "echores "yes (using $_ld_pthread)"" (lines 1571-1595) and add in that space "_ld_pthread='-Llpthread'" (without the double quotes) Step 4:
+
 
 +
delete/comment out everything between "echocheck "pthread"" to "echores "yes (using $_ld_pthread)"" (lines 1571-1595) and add in that space "_ld_pthread='-Llpthread'" (without the double quotes)
 +
 
 +
Step 4:
 +
 
./configure --disable-gcc-checking --disable-mencoder
./configure --disable-gcc-checking --disable-mencoder
 +
(If someone can get --enable-mad and libmad working, please email me)
(If someone can get --enable-mad and libmad working, please email me)
 +
libmad should now work with mplayer. Unfortunately I haven't gotten it working yet, and it will be about 2 weeks before I get my zaurus back, so check back at least by then.
libmad should now work with mplayer. Unfortunately I haven't gotten it working yet, and it will be about 2 weeks before I get my zaurus back, so check back at least by then.
 +
Step 5:
Step 5:
 +
make
make
 +
Step 7:
Step 7:
 +
mkdir ~/.mplayer
mkdir ~/.mplayer
 +
cp ./etc/codecs.conf ~/.mplayer/codecs.conf
cp ./etc/codecs.conf ~/.mplayer/codecs.conf
-
then edit the file and remove the sections to the empty line of "audiocodec mp3" and "audiocodec mad" Step 6:
+
 
 +
then edit the file and remove the sections to the empty line of "audiocodec mp3" and "audiocodec mad"
 +
 
 +
Step 6:
 +
 
./mplayer -quiet -framedrop samplemovie.whatever
./mplayer -quiet -framedrop samplemovie.whatever
 +
it should play the sample movie. you may very well need more options. If it is slow or something add "-vop list=resample,format:fout=44100" If this doesn't work read the docs about sound especially and play around. This information put up in the hope that it helps someone, but I don't make any promises,etc about it working, just what worked for me.
it should play the sample movie. you may very well need more options. If it is slow or something add "-vop list=resample,format:fout=44100" If this doesn't work read the docs about sound especially and play around. This information put up in the hope that it helps someone, but I don't make any promises,etc about it working, just what worked for me.
Additional notes:
Additional notes:
 +
People have reported that SDL can be used, and there is almost no difference in speed of video and improved audio (as in no more messing with -aop list...) Also with sdl, subtitles can be displayed, if fonts are in ~/.mplayer (the std location, see the DOCS.http://www.mplayerhq.hu/DOCS (Credit goes to Adam.B@gmx.de)
People have reported that SDL can be used, and there is almost no difference in speed of video and improved audio (as in no more messing with -aop list...) Also with sdl, subtitles can be displayed, if fonts are in ~/.mplayer (the std location, see the DOCS.http://www.mplayerhq.hu/DOCS (Credit goes to Adam.B@gmx.de)
Lazy people:
Lazy people:
-
binary that may or may not work. (it works on my Z, but I may have some extra configs you don't), try grabbing it and putting mplayer in /usr/local/bin and put codecs.conf in ~/.mplayer/codecs.conf mplayer here [http://kirk.math.twsu.edu/family/james/mplayer] Not an ipk, just the binary for now
+
 
 +
binary that may or may not work. (it works on my Z, but I may have some extra configs you don't), try grabbing it and putting mplayer in /usr/local/bin and put codecs.conf in ~/.mplayer/codecs.conf mplayer here http://kirk.math.twsu.edu/family/james/mplayer Not an ipk, just the binary for now
 +
 
The configure script as modified here: http://kirk.math.twsu.edu/family/james/configure
The configure script as modified here: http://kirk.math.twsu.edu/family/james/configure
 +
The codecs.conf file here: http://kirk.math.twsu.edu/family/james/codecs.conf
The codecs.conf file here: http://kirk.math.twsu.edu/family/james/codecs.conf
 +
[[Category:Development]]

Current revision

Compiling MPlayer on the Zaurus Taken from http://kirk.math.twsu.edu/family/james/mplayer.html


compilation: I reccomend compiling it on Z, but that is not neccesary. Reason: ./configure doesn't detect random things. (using dev_img1.3 from sourceforge zaurus site, mounted at /mnt/dev and setup with compiler_setup.sh see the sourceforge site for more info on that (NEED TO PUT LINK HERE)) This requires some sort of expanded storage either via nfs/network or expansion cards because after compiling the MPlayer direcory was 25.something megs large, and the development image takes up about 16. I assume you know what you are doing generally and have the terminal,etc. installed.

Trip-ups: PATH must be set up with (if adding /mnt/dev/bin to $PATH) /mnt/dev/bin before /usr/bin, because busybox's ar doesn't work for compiling mplayer. example: export PATH=/mnt/dev/bin:$PATH

Step 1:

unbzip2it - on another computer (Zaurus doesn't have bzip2 by default) and gzip it. or grab this:

http://kirk.math.twsu.edu/family/james/MPlayer-0.90pre5.tar.gz -Please download this only if you have a zaurus and no access to another computer.

(This is correctable now, see ZaurusZone's feed http://www.zauruszone.com/feed) (broken link)

Step 2:

transfer it to zaurus, doesn't matter how.

Step 3:

edit configure script.

delete/comment out everything between "echocheck "pthread"" to "echores "yes (using $_ld_pthread)"" (lines 1571-1595) and add in that space "_ld_pthread='-Llpthread'" (without the double quotes)

Step 4:

./configure --disable-gcc-checking --disable-mencoder

(If someone can get --enable-mad and libmad working, please email me)

libmad should now work with mplayer. Unfortunately I haven't gotten it working yet, and it will be about 2 weeks before I get my zaurus back, so check back at least by then.

Step 5:

make

Step 7:

mkdir ~/.mplayer

cp ./etc/codecs.conf ~/.mplayer/codecs.conf

then edit the file and remove the sections to the empty line of "audiocodec mp3" and "audiocodec mad"

Step 6:

./mplayer -quiet -framedrop samplemovie.whatever

it should play the sample movie. you may very well need more options. If it is slow or something add "-vop list=resample,format:fout=44100" If this doesn't work read the docs about sound especially and play around. This information put up in the hope that it helps someone, but I don't make any promises,etc about it working, just what worked for me.

Additional notes:

People have reported that SDL can be used, and there is almost no difference in speed of video and improved audio (as in no more messing with -aop list...) Also with sdl, subtitles can be displayed, if fonts are in ~/.mplayer (the std location, see the DOCS.http://www.mplayerhq.hu/DOCS (Credit goes to Adam.B@gmx.de)


Lazy people:

binary that may or may not work. (it works on my Z, but I may have some extra configs you don't), try grabbing it and putting mplayer in /usr/local/bin and put codecs.conf in ~/.mplayer/codecs.conf mplayer here http://kirk.math.twsu.edu/family/james/mplayer Not an ipk, just the binary for now

The configure script as modified here: http://kirk.math.twsu.edu/family/james/configure

The codecs.conf file here: http://kirk.math.twsu.edu/family/james/codecs.conf

Personal tools