Latest OS tools (ffmpeg, mplayer, tsmuxer, ...) discussion

Download and discuss official beta builds here

Re: Latest OS tools (ffmpeg, mplayer, tsmuxer, ...) discussi

Postby stiller » Sun Feb 27, 2011 3:56 pm

I tried this before once and I've tried it again now, but replacing mencoder binary with one from macports results in none of the mencoder files playing at all. This is with the latest Otmanix build. It reports a mencoder return code 139. I can't seem to find the relevant error in the debug log.
I would gladly help with the building of the latest tools for the mac release, but I have no idea what the correct build configuration is.
Mac OS X 10.6.6, PMS 1.21.0
stiller
 
Posts: 6
Joined: Thu Jan 20, 2011 8:57 pm

Re: Latest OS tools (ffmpeg, mplayer, tsmuxer, ...) discussi

Postby stiller » Sun Feb 27, 2011 4:34 pm

To reply to my own statement earlier: the newer mencode does seem to work for certain older avi and my own h.264 mov files, but not for any mkv files.
Mac OS X 10.6.6, PMS 1.21.0
stiller
 
Posts: 6
Joined: Thu Jan 20, 2011 8:57 pm

Re: Latest OS tools (ffmpeg, mplayer, tsmuxer, ...) discussi

Postby chocolateboy » Sun Feb 27, 2011 5:15 pm

chocolateboy
Project Member
 
Posts: 2580
Joined: Wed Sep 16, 2009 10:05 am

Re: Latest OS tools (ffmpeg, mplayer, tsmuxer, ...) discussi

Postby Redlum » Wed Mar 02, 2011 2:57 pm

It's easy to roll your own ffmpeg/mplayer for OS X (use macports if you want it really easy). What's not so easy is to make a statically build version (with statically build dependencies) which is redistributable and works on Tiger (could maybe be dropped now), Leopard and Snow Leopard, which is basically what is required for PMS inclusion. I made the build currently in PMS so it can be done but it's a pain in the ass and I've since lost all the configs I had for it. The build otmanix made for instance will only work on the mac that it was build for (well, once you add configure options at least), because by default everything is built against dynamic libraries and only for the current OS. There is lots of info in the original OS X issue (http://code.google.com/p/ps3mediaserver ... etail?id=6 , especially my comment 105) on what's needed, however the main resource on that page (a wiki on how to build it all) has since gone offline unfortunately.

It's best to use the same dependencies as the sherpya builds (at the bottom of http://oss.netfarm.it/mplayer-win32.php you can find the configure) since those builds are used by PMS on Windows.

For mencoder-mt you can just build like normal but replace the folders libavcodec, libavformat, libavutil with the version from this repository: http://gitorious.org/ffmpeg/ffmpeg-mt
Redlum
Project Member
 
Posts: 371
Joined: Mon Jan 12, 2009 9:13 pm

Re: Latest OS tools (ffmpeg, mplayer, tsmuxer, ...) discussi

Postby chocolateboy » Wed Mar 02, 2011 3:18 pm

Redlum wrote:the main resource on that page (a wiki on how to build it all) has since gone offline unfortunately.


Is this it?

http://tracker.mplayerosx.ch/projects/m ... ayerStatic

It looks like that project can do some (all?) of the MPlayer and FFmpeg heavy lifting. It just needs to add MEncoder:

http://tracker.mplayerosx.ch/issues/313
chocolateboy
Project Member
 
Posts: 2580
Joined: Wed Sep 16, 2009 10:05 am

Re: Latest OS tools (ffmpeg, mplayer, tsmuxer, ...) discussi

Postby Redlum » Thu Mar 03, 2011 1:09 pm

chocolateboy wrote:
Redlum wrote:the main resource on that page (a wiki on how to build it all) has since gone offline unfortunately.


Is this it?

http://tracker.mplayerosx.ch/projects/m ... ayerStatic

Yeah, that's it :) It's missing some stuff, but combined with http://code.google.com/p/ps3mediaserver ... ?id=6#c105 you have all the info you need.

It looks like that project can do some (all?) of the MPlayer and FFmpeg heavy lifting. It just needs to add MEncoder:

http://tracker.mplayerosx.ch/issues/313

I've looked at that before, and they ship mencoder and mencoder-mt but ffmpeg is missing from their distribution unfortunately.
Redlum
Project Member
 
Posts: 371
Joined: Mon Jan 12, 2009 9:13 pm

Re: Latest OS tools (ffmpeg, mplayer, tsmuxer, ...) discussi

Postby stiller » Sun Mar 06, 2011 8:35 am

I appears that mencoder from macports is compiled without subtitles. This resulted in an error (mencoder returned 1), until I disabled subtitles completely. So it appears that a custom, statically compiled version is the way to go.
Mac OS X 10.6.6, PMS 1.21.0
stiller
 
Posts: 6
Joined: Thu Jan 20, 2011 8:57 pm

Re: Latest OS tools (ffmpeg, mplayer, tsmuxer, ...) discussi

Postby MKUltra » Sun Mar 06, 2011 9:35 pm

stiller wrote:I appears that mencoder from macports is compiled without subtitles. This resulted in an error (mencoder returned 1), until I disabled subtitles completely. So it appears that a custom, statically compiled version is the way to go.


Stiller, to compile mplayer/mencoder from macports with subtitles and dts support, etc. you need to activate the variants that enable these features at the time of installation. For example:

sudo port install variants mplayer +dts+mencoder_extras+osd [Hint - osd is subtitle support]
Mac Mini 2.26 GHz Intel Core 2 Duo 4 GB RAM OS 10.7.2/Airport Extreme Basestation (Early 2009) Wireless N/PS3-Fatboy 40GB/1Gibps via Cat 6 LAN connection w/ Airport Extreme/PS3 connected via HDMI to Denon AVR-3808CI
MKUltra
 
Posts: 75
Joined: Sun Aug 30, 2009 10:41 pm

Re: Latest OS tools (ffmpeg, mplayer, tsmuxer, ...) discussi

Postby stiller » Mon Mar 07, 2011 5:07 pm

Thanks for the hint!
Mac OS X 10.6.6, PMS 1.21.0
stiller
 
Posts: 6
Joined: Thu Jan 20, 2011 8:57 pm

Re: Latest OS tools (ffmpeg, mplayer, tsmuxer, ...) discussi

Postby Raptor399 » Thu Mar 10, 2011 8:40 am

Thanks for your work, otmanix!

otmanix wrote:UPDATE:
You can find Yasm assembler here: http://www.tortall.net/projects/yasm/wiki/Download
Latest DMG image there is version 0.7.1 from 2008 :(
It looks like one once again has to to a ./configure && make && make install


Almost. Can you update the original posting with these instructions on how to build yasm?

Code: Select all
svn checkout http://www.tortall.net/svn/yasm/trunk/yasm yasm
cd yasm
./autogen.sh
./configure
make
sudo make install
cd ..


If you do this before configuring mplayer, you can remove the bit about starting configure without yasm. ;)
Raptor399
Project Member
 
Posts: 1916
Joined: Thu Mar 10, 2011 12:06 am

PreviousNext

Return to Beta Builds

Who is online

Users browsing this forum: No registered users and 4 guests