LinHES Forums
http://forum.linhes.org/

questions about compiling mplayer 1.0pre5 and xvid 1.0.2
http://forum.linhes.org/viewtopic.php?f=11&t=3004
Page 1 of 1

Author:  graysky [ Sat Dec 04, 2004 5:17 am ]
Post subject:  questions about compiling mplayer 1.0pre5 and xvid 1.0.2

I'd like to upgrade mplayer on my machine to the latest/greatest build. I'd also like to upgrade xvid to the latest version as well. I've been reading the docs and faq and both have really slowed me down on this idea since there seems to be so much about doing so that's over my head :) I want to be sure I wont kill mplayer functionality in mythtv.

I downloaded both, MPlayer-1.0pre5.tar.bz2 and essential-20041107.tar.bz2 and have done the decompress command on each:

Code:
$ tar -xjf  <name>


If I'm understanding the docs correctly, I need to do the following:

Code:
(starting from /home/mythtv)
$ cd essential-20041107
$ cp * /usr/local/lib/codecs/
$ cd ..
$ cd MPlayer-1.0pre5
$ ./configure
$ make
$ su
# make install


I have some questions about this:

1. Is what I'm planning to do going to work?
2a. What options at the ./configure stage do you guys recommend for standard play back under mythtv?
2b. What options did cesman use when he compiled the "out of the box" version on R4V5?
3. What is the best way to update xvid to 1.0.2 as is not present in the codec package. According to the docs, one can only install xvid from cvs?


Code:
 It is currently available only from CVS. Here are download and installation instructions (you need at least autoconf 2.50, automake and libtool):

   1. cvs -z3 -d:pserver:anonymous@cvs.xvid.org:/xvid login

   2. cvs -z3 -d:pserver:anonymous@cvs.xvid.org:/xvid co xvidcore

   3. cd xvidcore/build/generic

   4. ./bootstrap.sh

   5. ./configure

      You may have to add some options (examine the output of ./configure --help).

   6. make && make install
   7. If you specified --enable-divxcompat, copy ../../src/divx4.h to /usr/local/include/.

   8. Recompile MPlayer with --with-xvidlibdir=/path/to/libxvidcore.a --with-xvidincdir=/path/to/xvid.h


So if that's true, what would happen if I download the official 1.0.2 release of xvid from the xvid project?

Thanks for any help.

Author:  cecil [ Sat Dec 04, 2004 1:41 pm ]
Post subject: 

Don't have time to go into great details at the moment...
You'll want to install xvid before mplayer. The only thing I did was patch MPlayer to play MythTV's nuv and disable any questionable options.I don't remember doing a make clean before make install. In most cases make clean will undo make.... But I have not read the MPlayer docs in some time.

Author:  graysky [ Sun Dec 05, 2004 7:03 am ]
Post subject: 

Thanks for the info. I did the following:

installed xvid 1.0.2
copied the codecs to the dir in my first post
installed mplayer 1.0pre5 according to my first post

Everything works great now: xvid avi files are smooth as silk (I didn't say that was the whole reason I was looking into upgrading xvid and mplayer in the first place).

Author:  sammo2828 [ Wed Jan 26, 2005 1:30 am ]
Post subject: 

Fresh install of R4V5, /usr/local/lib/codecs/ directory does not exist. Does mplayer get compiled with those codecs, or does it load them dynamically?

I noticed the codecs contain .dll and .ax files for Windows. Would it be possible to use Intervideo WinDVD video decoder for mpeg2? It looks so nice on Windows compared to what I usually see in Linux.

Author:  cesman [ Wed Jan 26, 2005 1:38 am ]
Post subject: 

Under NO circumstances do I want anyone to discuss those codecs on this forum (PERIOD). All you need you learn about compiling MPlayer can be found by reading the MPlayer docs.

Author:  sammo2828 [ Wed Jan 26, 2005 2:28 am ]
Post subject: 

Okay.. sorry

Can I ask if installing those "essentials" codecs from the mplayer site affect watching tv in knoppmyth? How do I find out what codec version I am using when watching TV? Or is the codec hard-coded into mythtv?

Thanks

Author:  Greg Frost [ Wed Jan 26, 2005 5:17 am ]
Post subject: 

I believe mythtv uses its own codecs that are built in and only supports RTJPEG, MPEG2 and MPEG4. I was reading the release notes or recent changes section on the mythtv site and it mentioned a re-sync with ffmpeg. What I think this means is that the mythtv source includes a version of the codecs it uses in the source tree and that since these codecs are undergoing continuous development the myth developers need to occasionally grab the latest version of the codecs and update the myth source tree.

That is the answer for all of the stuff that is available as live-tv and in the recordings menus in myth, but the mythvideo stuff uses mplayer and the mplayer codecs by default. As such it can support a much wider range of codecs.

Author:  sammo2828 [ Wed Jan 26, 2005 5:23 am ]
Post subject: 

Thanks Greg, that makes sense now.

Well, I've just downloaded the latest cvs of mythtv and am compiling it. Not sure if the updated codecs will make a difference, but I'm currently experiencing lots of audio and video glitches ..

I should probably start a new topic when I find out ..

Author:  Xsecrets [ Wed Jan 26, 2005 10:05 am ]
Post subject: 

be prepared for problems compiling cvs. solutions are posted on the forum, but it is not easy to do on the current version of knoppmyth.

Author:  cesman [ Wed Jan 26, 2005 1:27 pm ]
Post subject: 

MythTV is in no way, shape or form depend on MPlayer or any codec MPlayer uses.

Page 1 of 1 All times are UTC - 6 hours
Powered by phpBB® Forum Software © phpBB Group
http://www.phpbb.com/