View unanswered posts    View active topics

All times are UTC - 6 hours





Post new topic Reply to topic  [ 10 posts ] 
Print view Previous topic   Next topic  
Author Message
Search for:
PostPosted: Sat Dec 04, 2004 5:17 am 
Offline
Joined: Wed Dec 10, 2003 8:31 pm
Posts: 1996
Location: /dev/null
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.

_________________
Retired KM user (R4 - R6.04); friend to LH users.


Last edited by graysky on Sun Dec 05, 2004 7:01 am, edited 1 time in total.


Top
 Profile  
 
 Post subject:
PostPosted: Sat Dec 04, 2004 1:41 pm 
Offline
Site Admin
Joined: Fri Sep 19, 2003 6:37 pm
Posts: 2659
Location: Whittier, Ca
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.


Top
 Profile  
 
 Post subject:
PostPosted: Sun Dec 05, 2004 7:03 am 
Offline
Joined: Wed Dec 10, 2003 8:31 pm
Posts: 1996
Location: /dev/null
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).

_________________
Retired KM user (R4 - R6.04); friend to LH users.


Top
 Profile  
 
 Post subject:
PostPosted: Wed Jan 26, 2005 1:30 am 
Offline
Joined: Sat Sep 18, 2004 9:07 pm
Posts: 94
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.


Top
 Profile  
 
 Post subject:
PostPosted: Wed Jan 26, 2005 1:38 am 
Offline
Joined: Fri Sep 19, 2003 7:05 pm
Posts: 5088
Location: Fontana, Ca
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.

_________________
cesman

When the source is open, the possibilities are endless!


Top
 Profile  
 
 Post subject:
PostPosted: Wed Jan 26, 2005 2:28 am 
Offline
Joined: Sat Sep 18, 2004 9:07 pm
Posts: 94
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


Top
 Profile  
 
 Post subject:
PostPosted: Wed Jan 26, 2005 5:17 am 
Offline
Joined: Mon May 10, 2004 8:08 pm
Posts: 1891
Location: Adelaide, Australia
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.


Top
 Profile  
 
 Post subject:
PostPosted: Wed Jan 26, 2005 5:23 am 
Offline
Joined: Sat Sep 18, 2004 9:07 pm
Posts: 94
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 ..


Top
 Profile  
 
 Post subject:
PostPosted: Wed Jan 26, 2005 10:05 am 
Offline
Joined: Mon Oct 06, 2003 10:38 am
Posts: 4978
Location: Nashville, TN
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.

_________________
Have a question search the forum and have a look at the KnoppMythWiki.

Xsecrets


Top
 Profile  
 
 Post subject:
PostPosted: Wed Jan 26, 2005 1:27 pm 
Offline
Joined: Fri Sep 19, 2003 7:05 pm
Posts: 5088
Location: Fontana, Ca
MythTV is in no way, shape or form depend on MPlayer or any codec MPlayer uses.

_________________
cesman

When the source is open, the possibilities are endless!


Top
 Profile  
 

Display posts from previous:  Sort by  
Post new topic Reply to topic  [ 10 posts ] 


All times are UTC - 6 hours




Who is online

Users browsing this forum: No registered users and 10 guests


You cannot post new topics in this forum
You cannot reply to topics in this forum
You cannot edit your posts in this forum
You cannot delete your posts in this forum
You cannot post attachments in this forum

Jump to:  
cron
Powered by phpBB® Forum Software © phpBB Group

Theme Created By ceyhansuyu