Results 1 to 10 of 24

Thread: Support for 'Compiling MPlayer' Ubuntu Wiki page....

Hybrid View

  1. #1
    Join Date
    Dec 2006
    Beans
    7,349

    Support for 'Compiling MPlayer' Ubuntu Wiki page....

    This thread is intended for support, discussion and development of the Ubuntu Community Wiki page:

    Compiling MPlayer
    https://help.ubuntu.com/community/Compiling%20MPlayer

    I would encourage people to not only use this wiki page but also log on and edit + improve the page. I will be stepping back a little from upkeep of the page but perhaps some suggested updates could be:

    1. Make a link from the wiki page to this thread
    2. Add a section on compiling MPlayer2
    3. Add some details for compiling MEncoder
    4. Sort out the live555 mess, it no longer compiles with MPlayer
    5. Add in some useful links


    and whatever people feel is necessary. I will be interested to see if greater community involvement in the wiki version of this guide will yield a better MPlayer experience!
    You think that's air you're breathing now?

  2. #2
    Join Date
    Dec 2006
    Beans
    7,349

    Re: Support for 'Compiling MPlayer' Ubuntu Wiki page....

    Updated mpg123 version to 1.14.4:

    Code:
    andrew@skamandros~$ mpg123 --version
    mpg123 1.14.4
    Good idea to spend a little time on the commandline with this great mp3 player.
    You think that's air you're breathing now?

  3. #3
    Join Date
    Jun 2007
    Beans
    17,337

    Re: Support for 'Compiling MPlayer' Ubuntu Wiki page....

    Andrew -
    don't see any issue on a 64 bit install (though using gcc 4.7.1), shortcut-ed past the blue-ray stuff, git of x264 as of the time of this post(don't know how to get version of in this instance, mplayer - 35058.
    ============ Checking for x264 ============

    #include <inttypes.h>
    #include <x264.h>
    #if !(X264_BUILD >= 118)
    #error We do not support old versions of x264. Get the latest from git.
    #endif
    int main(void) { x264_encoder_open((void*)0); return 0; }

    cc -Wundef -Wstrict-prototypes -Wmissing-prototypes -Wdisabled-optimization -Wno-pointer-sign -Wdeclaration-after-statement -std=gnu99 -I/home/doug/mplayer_build/mplayer_deps/usr/include -fno-tree-vectorize /tmp/mplayer-configure--14203/tmp.c -Ilibdvdread4 -I. -Iffmpeg -I/home/doug/mplayer_build/mplayer_deps/usr/include -D_REENTRANT -I/usr/include/directfb -I/usr/include/ -D_REENTRANT -I/usr/include/freetype2 -I/usr/include/opus -I/usr/include/bs2b -lm -L/home/doug/mplayer_build/mplayer_deps/usr/lib -lncurses -lsmbclient -lpng -lz -ljpeg -lungif -lasound -ldl -lpthread -lcdda_interface -lcdda_paranoia -L/usr/lib/x86_64-linux-gnu -lfreetype -lz -lfontconfig -lfribidi -lass -lenca -lz -lbz2 -lmad -lspeex -lgsm -ltheoradec -logg -lmpg123 -la52 -lfaad -lopus -lbs2b -lliveMedia -lgroupsock -lBasicUsageEnvironment -lUsageEnvironment -lstdc++ -lrtmp -lopencore-amrnb -lopencore-amrwb -ldv -lxvidcore -ldirectfb -lXext -lX11 -lpthread -lXv -lvdpau -lXinerama -lXxf86vm -lXxf86dga -lggi -laa -L/usr/lib/x86_64-linux-gnu -lcaca -lvga -lSDL -lGL -ldl -lesd -lpulse -ljack -lopenal -lfaac -ltwolame -lfaac -o /tmp/mplayer-configure--14203/tmp -lx264 -lpthread


    Result is: yes (in FFmpeg: yes)
    ##########################################
    Do have a 32 bit install that I'll try on in a bit
    (you decided it's best to to use a shared libx264 for mencoder?
    Last edited by mc4man; August 5th, 2012 at 03:11 AM.

  4. #4
    Join Date
    Jun 2007
    Beans
    17,337

    Re: Support for 'Compiling MPlayer' Ubuntu Wiki page....

    For some reason on my 32 bit install get this error unless I just build 'as usual' or build with mencoder/libx264 with libx264 installed normally
    Code:
    mp3lib/dct64_sse.c: In function 'dct64_sse':
    mp3lib/dct64_sse.c:59:13: error: can't find a register in class 'GENERAL_REGS' while reloading 'asm'
    mp3lib/dct64_sse.c:59:13: error: 'asm' operand has impossible constraints
    make: *** [mp3lib/dct64_sse.o] Error 1
    Otherwise on my current 64bit 12.10 the how-to works but one would need to link at runtime...

    You may just consider using the repo libx264-120 or possibly just build the git as shared to /usr/local (though that could conflict with FO's guide..
    Last edited by mc4man; August 5th, 2012 at 07:17 AM.

  5. #5
    Join Date
    Jul 2006
    Location
    Lancashire
    Beans
    Hidden!
    Distro
    Ubuntu 11.04 Natty Narwhal

    Re: Support for 'Compiling MPlayer' Ubuntu Wiki page....

    Quote Originally Posted by mc4man View Post
    ... build the git as shared to /usr/local (though that could conflict with FO's guide..
    Hi
    That's what I did. Posts #2176-2183 here ---> http://ubuntuforums.org/showthread.p...on999&page=218

  6. #6
    Join Date
    Jun 2007
    Beans
    17,337

    Re: Support for 'Compiling MPlayer' Ubuntu Wiki page....

    Quote Originally Posted by ron999 View Post
    Hi
    That's what I did. Posts #2176-2183 here ---> http://ubuntuforums.org/showthread.p...on999&page=218
    shows you how good my memory is...
    In any event for a Wiki method the building of a shared libx264 to somewhere not in default path may not be suitable as mplayer/mencoder would need to be linked to libx264.so at runtime which is easy thru an alias for cli but would be likely a bit more involved for an app that called the mencoder binary directly. (binary redirect ..
    (though maybe Andrew has a good one there...
    Last edited by mc4man; August 5th, 2012 at 06:13 PM.

Tags for this Thread

Bookmarks

Posting Permissions

  • You may not post new threads
  • You may not post replies
  • You may not post attachments
  • You may not edit your posts
  •