Author |
Message |
Lentilboy
|
Posted: Mon Aug 02, 2004 6:02 pm |
|
Joined: Mon Jul 12, 2004 1:40 pm
Posts: 14
|
I'm well aware of the need to recompile Mplayer if an illegal instruction is encountered, however how exactly is that accomplished i.e. what are the commands to do so? I'm learning linux as I go here so please excuse my ignorance.
v/r
Lentilboy
|
|
Top |
|
 |
cesman
|
Posted: Mon Aug 02, 2004 6:21 pm |
|
Joined: Fri Sep 19, 2003 7:05 pm
Posts: 5088
Location:
Fontana, Ca
|
./configure
make
make install
See the MPlayer docs for more... The MPlayer in R5 has been compiled for runtime CPU detection(Don't ask when it will be ready...).
_________________ cesman
When the source is open, the possibilities are endless!
|
|
Top |
|
 |
Lentilboy
|
Posted: Mon Aug 02, 2004 7:39 pm |
|
Joined: Mon Jul 12, 2004 1:40 pm
Posts: 14
|
Many thanks for your speedy post however I'm unclear as to which directory I need to be in.
I appreciate your patience and guidance.
-Lentilboy
|
|
Top |
|
 |
gr8nash
|
Posted: Mon Aug 02, 2004 8:02 pm |
|
Joined: Thu Apr 01, 2004 10:44 am
Posts: 677
Location:
WA
|
first you download the newest version of mplayer.
1) untar the downloaded version
2) (optional but recomended) goto usr\local\lib\codecs The codecs directory needs to be created
3) on the mplayer website it links to codec pacs. download them and untar them into the usr\local\lib\codecs directory
4) now go into where you untared the Mplayer itself.
5) (from memory) Code: ./configure 6) Code: make 7) Code: make install
all done..
|
|
Top |
|
 |
Dinki
|
Posted: Fri Sep 10, 2004 9:09 am |
|
Joined: Fri Dec 26, 2003 2:25 pm
Posts: 244
|
I seem to be having a problem with 'upgrading' my MPlayer. I've downloaded version MPlayer-1.0pre5 . I downloaded the codecs and put them in /usr/local/lib/codecs . After doing './configure' and 'make' as user 'mythtv', I changed to 'root' and did a 'make install'. I then got this error:
Code: *** Download font at http://www.mplayerhq.hu/homepage/dload.html *** for OSD/Subtitles support and extract to /usr/local/share/mplayer/font/
I went to the download page, and first downloaded one of the font packs and extracted it to /usr/local/share/mplayer/font/ . I did another 'make install' and got the same error. I downloaded the remainder of the font packs and extracted them, but keep getting the same error. Any ideas?
Also, after this, my currently installed version of MPlayer no longer responds to my remote. I'm using irxevent to send the keypresses from my serial port receiver to MPlayer.
Any help is greatly appreciated.
|
|
Top |
|
 |
gr8nash
|
Posted: Fri Sep 10, 2004 7:14 pm |
|
Joined: Thu Apr 01, 2004 10:44 am
Posts: 677
Location:
WA
|
Dinki.. sorry i dont know what to tell you.. i compiled mplayer on a fresh install (with codecs), and it didnt error at all. Something isnt right on your system..  Ill let you know if i run into something like this
|
|
Top |
|
 |
cards
|
Posted: Sat Oct 30, 2004 10:46 pm |
|
Joined: Sun Dec 14, 2003 10:57 pm
Posts: 65
|
I'm having this same problem in the media library, when I select a video, it shows "loading..." for a second or two, then that message disappears and nothing happens. I'm trying to recompile mplayer, but I'm not clear where I'm supposed to untar it to. (I downloaded the newest version already...)
|
|
Top |
|
 |
elgordo123
|
Posted: Sun Oct 31, 2004 10:15 pm |
|
Joined: Thu Feb 12, 2004 2:54 pm
Posts: 392
Location:
Beaumont, CA
|
This is what I do: Download the codec files to /home/mythtv. These are the ones I got, some are dups, but I'd rather copy dups than be missing some....
essential-20040922.tar.bz2
all-20040916.tar.bz2
rp9codecs-20040626.tar.bz2
su then enter in root password.
change to /usr/local/lib and make sure there is a codecs directory.
change back to /home/mythtv
type tar jxvf essential-20040922.tar.bz2
do same for other files.
cd into each of the 3 newly created directories and in each one do:
cp * /usr/local/lib/codecs (answer y if prompted to overwrite).
Now for mplayer:
Download the latest version (MPlayer-1.0pre5.tar.bz2) also put in /home/mythtv
Again, you can su to change into root at this point too.
tar jxvf MPlayer-1.0pre5.tar.bz2 This will create a new dir.
change into that directory.
Now type
./configure --with-reallibdir=/usr/local/lib/codecs
It will run through a long list as it checks your system
make
make install
It will overwrite the stock executable (that is probably why yours stopped working?)
That should do it.
_________________ ASUS A7N266 Micro-ATX Motherboard
Athlon 2200 processor
512K Kingston PC2100 Memory
MicroAtx Case
2 PVR250's w/remote
eVGA e-GeForce mx4000 (64 Ram with Tv/Out (Svideo))
Lite-on DVD cd-rw combo
120 GB Western Digital
|
|
Top |
|
 |
cards
|
Posted: Sat Nov 06, 2004 1:47 pm |
|
Joined: Sun Dec 14, 2003 10:57 pm
Posts: 65
|
I've taken all the steps elgordo123 suggested, but I'm still having the identical problem. However, I did notice when untar'ing the all-20040916.tar.bz2 file, I'd get the following message at the end of extraction:
Code: bzip2: Compressed file ends unexpectedly; perhaps it is corrupted? *Possible* reason follows. bzip2: Inappropriate ioctl for device Input file = (stdin), output file = (stdout)
It is possible that the compressed file(s) have become corrupted. You can use the -tvv option to test integrity of such files.
You can use the `bzip2recover' program to attempt to recover data from undamaged sections of corrupted files.
tar: Unexpected EOF in archive tar: Unexpected EOF in archive tar: Error is not recoverable: exiting now
I figured that meant it was a bad download, so I downloaded the file again, but had the same problem. Then I decided to find the same file elsewhere in case the one being served was corrupt, so I tried that too...same problem. Any other ideas for a solution?
|
|
Top |
|
 |
cards
|
Posted: Sun Nov 07, 2004 11:25 am |
|
Joined: Sun Dec 14, 2003 10:57 pm
Posts: 65
|
I just thought of another question....if there is already a version of mplayer installed, and I'm creating a new directory for the new version, could the problem be that I'm installing the new version in a place mythtv isn't looking? ie; New is installed, but old is still being used?
|
|
Top |
|
 |
ceenvee703
|
Posted: Sun Nov 07, 2004 11:30 am |
|
Joined: Fri Apr 02, 2004 10:08 am
Posts: 1637
Location:
Virginia, USA
|
Quote: New is installed, but old is still being used?
Yes, that's absolutely true. I forget the location of the KnoppMyth-installed one but the compiled version goes someplace else. MythTV is still set up to use the old one, so you have to account for that (I just ended up changing the MythVideo playback preferences to point to the newly-compiled one).
|
|
Top |
|
 |
cards
|
Posted: Sun Nov 07, 2004 5:47 pm |
|
Joined: Sun Dec 14, 2003 10:57 pm
Posts: 65
|
Alright, I went into the MythVideo player settings and changed the command to:
Code: /home/mythtv/MPlayer-1.0pre5/mplayer -fs -zoom -quiet -vo xv %s Unfortunately, it's still doing the exact same thing. I also reset the computer just in case that was needed for the setting to take effect, but still no luck. I just can't understand why it won't work...any other ideas what I haven't thought of? EDIT: I just tried running the new version of mplayer from the command line, and I noticed a couple errors; Code: Reading config file /usr/local/etc/mplayer/mplayer.conf: No such file or directo ry Creating config file: /root/.mplayer/config Reading config file /root/.mplayer/config Reading /root/.mplayer/codecs.conf: Can't open '/root/.mplayer/codecs.conf': No such file or directory Reading /usr/local/etc/mplayer/codecs.conf: Can't open '/usr/local/etc/mplayer/c odecs.conf': No such file or directory Using built-in default codecs.conf.
Could this be my problems? It's unable to find codecs.conf, how do I solve this?
|
|
Top |
|
 |
elgordo123
|
Posted: Sun Nov 07, 2004 7:58 pm |
|
Joined: Thu Feb 12, 2004 2:54 pm
Posts: 392
Location:
Beaumont, CA
|
If I remember right, when you make install on the compiled version it puts everything in the same place (overwrites) the default version.
As for your question, I notived it says /root/.mplayer... Run it as mythtv user, not root and then it may find your configurations.
_________________ ASUS A7N266 Micro-ATX Motherboard
Athlon 2200 processor
512K Kingston PC2100 Memory
MicroAtx Case
2 PVR250's w/remote
eVGA e-GeForce mx4000 (64 Ram with Tv/Out (Svideo))
Lite-on DVD cd-rw combo
120 GB Western Digital
|
|
Top |
|
 |
elgordo123
|
Posted: Sun Nov 07, 2004 7:59 pm |
|
Joined: Thu Feb 12, 2004 2:54 pm
Posts: 392
Location:
Beaumont, CA
|
Also on your bz2 file, it probably is curropted, try downloading it again.
_________________ ASUS A7N266 Micro-ATX Motherboard
Athlon 2200 processor
512K Kingston PC2100 Memory
MicroAtx Case
2 PVR250's w/remote
eVGA e-GeForce mx4000 (64 Ram with Tv/Out (Svideo))
Lite-on DVD cd-rw combo
120 GB Western Digital
|
|
Top |
|
 |
cards
|
Posted: Sun Nov 07, 2004 9:22 pm |
|
Joined: Sun Dec 14, 2003 10:57 pm
Posts: 65
|
elgordo123 wrote: Run it as mythtv user, not root and then it may find your configurations.
I've been doing all of these commands by logging in from my XP box using putty. I've been logging in as root at all times. Do I need to be running these commands actually sitting at the mythtv box? Or, can I just log in through putty as mythtv/mythtv? Also, if I use su to do stuff as root, how do I go back to the mythtv user when I'm finished? Lastly...which commands exactly need to be done as the mythtv user?
(Thanks for all of the help, I know this is getting drug out, but there are so many little things keeping this from working, and having the box work as a video jukebox is really one of the main reasons I built the system in the first place.)
|
|
Top |
|
 |