Go Back   The macosxhints Forums > OS X Help Requests > UNIX - Newcomers



Reply
 
Thread Tools Rate Thread Display Modes
Old 08-17-2005, 06:48 PM   #1
plasmacutter
Prospect
 
Join Date: Aug 2005
Posts: 14
Compiling mplayer from source..

I'm pretty sure there are a few gurus here who have managed to compile mplayer on os X.4 and probably keep updated cvs on their systems. I'm interested in keeping updated Mplayer CVS on my system, and am looking for a fairly thorough guide to doing so.

While i'm not shy around a shell, I'm a complete newb to both cvs and the delicacies of compiling a fully functional version of mplayer from source, but if you could bear with me it would be very useful for me.
plasmacutter is offline   Reply With Quote
Old 08-18-2005, 12:31 PM   #2
sao
Moderator
 
Join Date: Jan 2002
Location: Singapore
Posts: 4,233
plasmacutter,

To get mplayer via anonymous cvs, follow the instructions on the following page:

http://www.mplayerhq.hu/homepage/design7/dload.html

Also, from the same page you could download mplayer Mac OS X preview release application, latest is based on dev-cvs - date 24 July.

(I used fink to install from source mplayer version 1.0.0pre6a-10 )

.
sao is offline   Reply With Quote
Old 08-18-2005, 12:59 PM   #3
plasmacutter
Prospect
 
Join Date: Aug 2005
Posts: 14
well.. for some reason the mplayer cvs snapshot is not recognizing it's own libavcodec dir, despite it's apparently documented capability to do so from the mplayer makefile.

The reason I'm trying to compile the CVS is because of the proliferation of H.264 MKV files. vlc crashes on these, and the last snapshot of vlc which could open them had terrible chops in the pans. Mplayer osX has similar chops, and the mplayer mac preview on the downloads page you pointed me to, though the pans are smooth, fails to properly render h.264 clearly, producing macroblocks and noise which remind me of .asx files from the dark ages of fall 2001.

(i'm using a dual 2.7 ghz g5.. it is not underperforming due to a lack of muscle under the hood)

The fink and darwin ports version of mplayer plays the 264 streams flawlessly.. but just to tick me off it can't properly sync the audio >.<

It's truly frustrating.
plasmacutter is offline   Reply With Quote
Old 08-19-2005, 05:18 AM   #4
devlogic
Prospect
 
Join Date: Aug 2005
Posts: 3
Actually (and I've run into this before on my Linux box), if you're using MPlayer CVS, you also need to get the libavcodec source from the FFMpeg project.
To quote the mplayer site,
Quote:
CVS MPlayer is not fully functional without a copy of the libavcodec and libavutil libraries from FFmpeg. Get FFmpeg CVS via

Code:
  cvs -d:pserver:anonymous@mplayerhq.hu:/cvsroot/ffmpeg login
  cvs -z3 -d:pserver:anonymous@mplayerhq.hu:/cvsroot/ffmpeg co -P ffmpeg
When asked for a password, just hit enter. A directory named ffmpeg will be created. Copy the libavcodec and libavutil subdirectories into the main directory just created from the MPlayer checkout.

In order to include libavcodec and libavutil in CVS updates, add the following lines to main/CVS/Entries:

Code:
  D/libavcodec////
  D/libavutil////

They're serious about that word "copy", too; if you don't copy the libavcodec and libavutil directory trees, and instead use symlinks, it won't work. Although if you're not going to compile FFMpeg, moving the directory trees is a valid option as well.
devlogic is offline   Reply With Quote
Old 04-08-2006, 05:46 AM   #5
gmason
Triple-A Player
 
Join Date: Mar 2006
Posts: 75
Sorry, but I AM shy around the shell, etc.

Is there anywhere from which I can DL a compiled version, ready to run? I am now just a user, not a programmer/developer as I was 35 years ago.

Thanks...Gary
gmason is offline   Reply With Quote
Old 04-08-2006, 06:59 AM   #6
hayne
Moderator
 
Join Date: Jan 2002
Location: Montreal
Posts: 29,452
Giyf

Quote:
Originally Posted by gmason
Is there anywhere from which I can DL a compiled version, ready to run?

Look at: http://www.google.com/search?q=mplay...ary+%22os+x%22

Also, more generally, when looking for an application, search www.macupdate.com and www.versiontracker.com
__________________
hayne.net/macosx.html
hayne is online now   Reply With Quote
Old 04-08-2006, 07:09 AM   #7
gmason
Triple-A Player
 
Join Date: Mar 2006
Posts: 75
Thanks ... I am looking.
gmason is offline   Reply With Quote
Reply

Thread Tools
Display Modes Rate This Thread
Rate This Thread:

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is On
HTML code is Off

Forum Jump


All times are GMT -5. The time now is 11:26 AM.


Powered by vBulletin® Version 3.8.4
Copyright ©2000 - 2010, Jelsoft Enterprises Ltd.
Site design © Mac Publishing LLC; individuals retain copyright of their postings
but consent to the possible use of their material in other areas of Mac Publishing LLC.