Latest Mac OS X beta build

Download and discuss official beta builds here

Re: Latest Mac OS X beta build

Postby Horseylicious » Thu Jun 02, 2011 8:41 am

Raptor399 wrote:That won't be necessary. I think I found the solution for the distorted and skewed audio! 8-)
See the Compiling PS3 Media Server on OSX thread for more info.

Wow! Good work, Raptor399. Thanks for your persistence. Sounds like it might fix sync issues with ISO files and VIDEO_TS folders as well.
Can we expect a build soon? If you update the script I might even be tempted to give compiling it myself a go:-)
Horseylicious
 
Posts: 18
Joined: Sun Mar 27, 2011 1:32 am

Re: Latest Mac OS X beta build

Postby Wolf » Thu Jun 02, 2011 10:07 am

Awesome work Raptor399! Any chance of sharing your build?
Wolf
 
Posts: 35
Joined: Fri Mar 05, 2010 10:06 pm

Re: Latest Mac OS X beta build

Postby Raptor399 » Thu Jun 02, 2011 10:34 am

Wolf wrote:Awesome work Raptor399! Any chance of sharing your build?


No, sorry!
I'm not going to share my build for a couple of reasons:

- I am not sure my fix is the right fix. Yes, it works for the files I tested it with, but I really have no clue at all what the impact is of changing the audio codec from "ac3" to "ac3_fixed" on mencoder. For all I know it might very well break other stuff.
- I am not sure my patches are the right patches. Even if they are correct for OSX, are they correct for Windows and Linux as well?
- I want to push for an official PMS (release candidate) for OSX by the devs. Which is way overdue! ;-)
- <soapbox>In this day and age you should be distrustful of random untrusted people (like me) putting up binaries for download and executing those on your computer. That is why I shared the script with which full builds can be compiled.</soapbox>

Patience! I am pretty sure the devs will pick up on this. :-)
Raptor399
Project Member
 
Posts: 1688
Joined: Thu Mar 10, 2011 12:06 am

Re: Latest Mac OS X beta build

Postby kickstart » Mon Jun 06, 2011 4:53 am

Raptor:

used your script to build 2 days ago, followed the instructions in the other thread, including the ac3_fixed "patch"

DTS and AC3 audio streams work just fine however AAC streams do not. They sound...."choppy"
kickstart
 
Posts: 6
Joined: Mon Jun 06, 2011 4:50 am

Re: Latest Mac OS X beta build

Postby Raptor399 » Mon Jun 06, 2011 7:16 am

kickstart wrote:Raptor:

used your script to build 2 days ago, followed the instructions in the other thread, including the ac3_fixed "patch"

DTS and AC3 audio streams work just fine however AAC streams do not. They sound...."choppy"


Ah, thank you for sharing the results!
Was AAC choppy without the patch as well (just replace "ac3_fixed" with "ac3" everywhere in the code)?
Raptor399
Project Member
 
Posts: 1688
Joined: Thu Mar 10, 2011 12:06 am

Re: Latest Mac OS X beta build

Postby kickstart » Mon Jun 06, 2011 9:51 am

I'll have to rebuild without the patch and i'll let you know

Edit: Yes, AAC audio is still choppy, rather sounds like its been time stretched, even without the patch.

The old 1.20 mac build does not suffer from this.
kickstart
 
Posts: 6
Joined: Mon Jun 06, 2011 4:50 am

Re: Latest Mac OS X beta build

Postby Raptor399 » Tue Jun 07, 2011 8:00 pm

kickstart wrote:I'll have to rebuild without the patch and i'll let you know

Edit: Yes, AAC audio is still choppy, rather sounds like its been time stretched, even without the patch.

The old 1.20 mac build does not suffer from this.


Well, that is partially good news then. It means the "ac3_fixed" change is still a valid one and is (in itself) not the cause of the AAC problems.
Judging by the postings on other boards there are still many problems with current builds of mencoder, also on Windows and Linux.
On those platforms they use 4 separate versions of mencoder ("mencoder", "mencoder_mt", "mencoder-alternative" and "mencoder-alternative_mt") to combat incompatibility problems. We could follow suit on OSX and compile 4 versions as well (instead of 2 now).
I haven't been able to get older versions compiling though, I'll give it another shot.
Raptor399
Project Member
 
Posts: 1688
Joined: Thu Mar 10, 2011 12:06 am

Re: Latest Mac OS X beta build

Postby Raptor399 » Tue Jun 07, 2011 9:15 pm

Bah! :-(

The Windows build is using revision 32674 of MPlayer for "mencoder-alternate", so I tried checking out and building that. Note that this revision of MPlayer automatically checks out a version of FFmpeg as well, as opposed to more recent MPlayer revisions.

At first compiling did not work at all, until I realized that you have to configure, build and install the older version of FFmpeg first because of dependencies on header files. (Running the script builds and installs a newer and incompatible version of the FFmpeg header files in the $TARGET/include directory)

But even with that fixed, I end up with an error:

Code: Select all
libmpcodecs/vd_mpng.c: In function 'pngReadFN':
libmpcodecs/vd_mpng.c:77: error: dereferencing pointer to incomplete type
libmpcodecs/vd_mpng.c: In function 'decode':
libmpcodecs/vd_mpng.c:114: error: dereferencing pointer to incomplete type
libmpcodecs/vd_mpng.c:131: error: dereferencing pointer to incomplete type
make: *** [libmpcodecs/vd_mpng.o] Error 1
make: *** Waiting for unfinished jobs....


Looks like a dead end there. Well, for me at least.
My C is too crappy to understand the error, plus I don't really want to fix anything in the source to obtain a pure build. ;-)

For people that want to replay what I did and experiment a little, here is what I added to the script to attempt the build:

Code: Select all
##########################################
# MENCODER-ALTERNATE
# http://www.mplayerhq.hu/design7/news.html
# The latest known version of mencoder known to work for certain types of files
# for which support is broken in newer versions of mencoder.
#
build_mencoder_alternate() {
    start_build mencoder-alternate
    cd $SRC

    REVISION="-r 32674" # Same as the Windows distribution

    if [ -d mencoder-alternate ]; then
        cd mencoder-alternate
        $SVN update $REVISION
        exit_on_error
    else
        $SVN checkout $REVISION svn://svn.mplayerhq.hu/mplayer/trunk mencoder-alternate
        exit_on_error
        cd mencoder-alternate
    fi

    # Build and install FFmpeg first because of header dependencies
    cd ffmpeg
    GIT_STR=`echo $GIT | $SED -e "s/\//\\\\\\\\\\\//g"`
    $SED -i -e "s/ git / $GIT_STR /g" version.sh

    set_flags

    # Theora/vorbis disabled for mplayer, also disabled here to avoid build errors
    ./configure --enable-gpl --enable-libmp3lame --enable-libx264 --enable-libxvid \
        --disable-libtheora --disable-libvorbis --disable-shared --prefix=$TARGET
    $MAKE -j$THREADS
    exit_on_error
    $MAKE install

    # Back to compiling MPlayer
    cd ..

    # Extra flags for compiling mplayer
    export CFLAGS="-O4 -fomit-frame-pointer -pipe $CFLAGS"
    export CXXFLAGS="-O4 -fomit-frame-pointer -pipe $CXXFLAGS"

    # Theora, vorbis and fribidi support seems broken in this revision, disable it for now
    ./configure --disable-x11 --disable-gl --disable-qtx --disable-dvdread-internal \
        --disable-theora --disable-libvorbis --disable-fribidi \
        --with-freetype-config=$TARGET/bin/freetype-config --prefix=$TARGET

    # Somehow -I/usr/X11/include still made it into the config.mak, regardless of the --disable-x11
    $SED -i -e "s/-I\/usr\/X11\/include//g" config.mak

    $MAKE -j$THREADS
    exit_on_error
    $MAKE install
    cd $WORKDIR
}
Raptor399
Project Member
 
Posts: 1688
Joined: Thu Mar 10, 2011 12:06 am

Re: Latest Mac OS X beta build

Postby Horseylicious » Sun Jun 12, 2011 4:53 am

Any more word on the chances of an official build coming?
Horseylicious
 
Posts: 18
Joined: Sun Mar 27, 2011 1:32 am

Re: Latest Mac OS X beta build

Postby Tom Foolery » Sun Jun 12, 2011 3:47 pm

I'd also really like to know when I can get my hands on the next build
Tom Foolery
 
Posts: 13
Joined: Fri Apr 10, 2009 7:58 pm

PreviousNext

Return to Beta Builds

Who is online

Users browsing this forum: No registered users and 4 guests