Page 11 of 30 FirstFirst ... 91011121321 ... LastLast
Results 101 to 110 of 297

Thread: HowTo: Install the very latest MPlayer under Jaunty Jackalope

  1. #101
    Join Date
    Sep 2007
    Location
    /dev/null/
    Beans
    1,589

    Re: HowTo: Install the very latest MPlayer under Jaunty Jackalope

    Andrew I am trying to fix a problem. The issue is its somewhat impractical to have to manually setup a link to every user's home directory for the TTF font. I'm using a global configuration file to make the mplayer experience consistent across all users in /etc/mplayer/mplayer.conf:

    Code:
    # mplayer config file version 0.2 15/04/09
    #
    
    # global setup
    
    vo=vdpau
    ao=pulse
    nolirc=true
    nojoystick=true
    font=/usr/share/fonts/truetype/ttf-bitstream-vera/Vera.ttf
    
    # DVD navigation
    
    [protocol.dvdnav]
    profile-desc="profile for dvdnav:// streams"
    mouse-movements=yes
    nocache=yes
    Even though I have the font correctly defined mplayer spits out:

    Code:
    MPlayer SVN-r29180-4.3.3 (C) 2000-2009 MPlayer Team
    /usr/share/fonts/truetype/ttf-bitstream-vera/Vera.ttf doesn't look like a bitmap font description, ignoring.
    Cannot load bitmap font: /usr/share/fonts/truetype/ttf-bitstream-vera/Vera.ttf
    Thanks for any help
    He that will not reason is a bigot; he that cannot reason is a fool; he that dares not reason is a slave.

  2. #102
    Join Date
    Dec 2006
    Beans
    6,930

    Re: HowTo: Install the very latest MPlayer under Jaunty Jackalope

    Hi Nullack,

    Quote Originally Posted by Nullack View Post
    Andrew I am trying to fix a problem. The issue is its somewhat impractical to have to manually setup a link to every user's home directory for the TTF font. I'm using a global configuration file to make the mplayer experience consistent across all users in /etc/mplayer/mplayer.conf:

    Code:
    font=/usr/share/fonts/truetype/ttf-bitstream-vera/Vera.ttf
    You could try:

    Code:
    sudo ln -s /usr/share/fonts/truetype/ttf-bitstream-vera/Vera.ttf /etc/mplayer/subfont.ttf
    Not quite what you were after but it should work as well.

    All the best,

    Andrew

  3. #103
    Join Date
    Sep 2007
    Location
    /dev/null/
    Beans
    1,589

    Re: HowTo: Install the very latest MPlayer under Jaunty Jackalope

    Thanks mate. Thats a good suggestion. I gave it a go, I can confirm the /etc/mplayer dir has the subfont in it now. I took out the mplayer.conf font= line so that it did not interfere with the new font.

    However mplayer isnt happy:

    Code:
    MPlayer SVN-r29180-4.3.3 (C) 2000-2009 MPlayer Team
    
    Playing 1Video_2Audio_2SUBs(timed text streams).mp4.
    libavformat file format detected.
    [lavf] Video stream found, -vid 0
    [lavf] Audio stream found, -aid 1
    [lavf] Audio stream found, -aid 2
    [lavf] Subtitle stream found, -sid 0
    [lavf] Subtitle stream found, -sid 1
    VIDEO:  [mp4v]  688x320  24bpp  25.000 fps    0.0 kbps ( 0.0 kbyte/s)
    ==========================================================================
    Opening video decoder: [ffmpeg] FFmpeg's libavcodec codec family
    Selected video codec: [ffodivx] vfm: ffmpeg (FFmpeg MPEG-4)
    ==========================================================================
    ==========================================================================
    Opening audio decoder: [faad] AAC (MPEG2/4 Advanced Audio Coding)
    FAAD: compressed input bitrate missing, assuming 128kbit/s!
    AUDIO: 48000 Hz, 2 ch, s16le, 128.0 kbit/8.33% (ratio: 16000->192000)
    Selected audio codec: [faad] afm: faad (FAAD AAC (MPEG-2/MPEG-4 Audio))
    ==========================================================================
    [pulse] working around probably broken pause functionality,
            see http://www.pulseaudio.org/ticket/440
    AO: [pulse] 48000Hz 2ch s16le (2 bytes per sample)
    Starting playback...
    VDec: vo config request - 688 x 320 (preferred colorspace: Planar YV12)
    VDec: using Planar YV12 as output csp (no 0)
    Movie-Aspect is 2.15:1 - prescaling to correct movie aspect.
    VO: [vdpau] 688x320 => 688x320 Planar YV12 
    New_Face failed. Maybe the font path is wrong.
    Please supply the text font file (~/.mplayer/subfont.ttf).
    subtitle font: load_sub_face failed.
    New_Face failed. Maybe the font path is wrong.
    Please supply the text font file (~/.mplayer/subfont.ttf).
    subtitle font: load_sub_face failed.
    What Im after is a way to fix the problem of having to setup a font for every user that has and possibly might be added to my system. I want to globally apply the font so any future users are fine.
    He that will not reason is a bigot; he that cannot reason is a fool; he that dares not reason is a slave.

  4. #104
    Join Date
    Dec 2006
    Beans
    6,930

    Re: HowTo: Install the very latest MPlayer under Jaunty Jackalope

    Hi Nullack,

    Hmmm... that should have worked. I am out of ideas, perhaps the mplayer-users might help out with this one?

    Andrew

  5. #105
    Join Date
    Dec 2006
    Beans
    6,930

    Re: HowTo: Install the very latest MPlayer under Jaunty Jackalope

    Hi again Nullack,

    I am an idiot and please feel free to remind me of the time I gave wrong advice. The path for the system font should in fact be:

    Code:
    $PREFIX/share/mplayer/subfont.ttf
    So if you did not specify $PREFIX in your compiling you will need to create the appropriate directory and place the link there:

    Code:
    $ sudo mkdir -pv /usr/local/share/mplayer
    $ sudo ln -s /usr/share/fonts/truetype/ttf-bitstream-vera/Vera.ttf /usr/local/share/mplayer/subfont.ttf
    If you specified './configure --prefix=/usr' you will need to drop the 'local' bit from the commands of course. I tested this on Jaunty and it works. My apologies for misleading you there, my only excuse is that I am learning as well .

    All the best,

    Andrew

  6. #106
    Join Date
    Sep 2006
    Location
    France.
    Beans
    Hidden!
    Distro
    Lubuntu 14.04 Trusty Tahr

    Re: HowTo: Install the very latest MPlayer under Jaunty Jackalope

    Moved to T&T.
    | My old and mostly abandoned blog |
    Linux user #413984 ; Ubuntu user #178
    J'aime les fraises.
    Nighty night me lovelies!

    | Reinstalling Ubuntu ? Please check this bug first ! |
    | Using a ppa ? Please install ppa-purge from universe, you may need it should you want to revert packages back |
    | No support requests by PM, thanks |

  7. #107
    Join Date
    Dec 2006
    Beans
    6,930

    Re: HowTo: Install the very latest MPlayer under Jaunty Jackalope

    Hi bapoumba,

    Quote Originally Posted by bapoumba View Post
    Moved to T&T.
    Thank you very much or your trouble,

    Andrew
    You think that's air you're breathing now?

  8. #108
    Join Date
    Oct 2006
    Beans
    3
    Distro
    Ubuntu Jaunty Jackalope (testing)

    Re: HowTo: Install the very latest MPlayer under Jaunty Jackalope

    Just to help others, the current latest release r29203 won't compile. The latest version that compiled for me was r29190. I'm using a freshly installed Ubuntu Jaunty RC amd64.

    By the time someone reads this message it maybe fixed since from when I noticed the error (r29198 ) to when I found the latest that worked (r29190 ), the latest release had become r29203.

    Just change the svn line to:
    svn checkout -r 29190 svn://svn.mplayerhq.hu/mplayer/trunk mplayer

    for now if you are having the compile issues with the latest.
    Last edited by sephiroth135; April 20th, 2009 at 01:54 AM.

  9. #109
    Join Date
    Dec 2006
    Beans
    6,930

    Re: HowTo: Install the very latest MPlayer under Jaunty Jackalope

    Hi sephiroth135,

    Quote Originally Posted by sephiroth135 View Post
    Just to help others, the current latest release r29203 won't compile. The latest version that compiled for me was r29190. I'm using a freshly installed Ubuntu Jaunty RC amd64.
    Thanks for the warning . Looks like the web interface for the svn repository is going to be down for some time. Those who like to have a look at the change logs to track fixes for broken compilation might find a use for a quick and dirty script I whipped up that will give the log files for the last 6 revisions:

    Code:
    [.......]
    Edit: Once again I am an idiot. See next post...

    Andrew
    Last edited by andrew.46; April 20th, 2009 at 04:53 AM.
    You think that's air you're breathing now?

  10. #110
    Join Date
    Dec 2006
    Beans
    6,930

    Re: HowTo: Install the very latest MPlayer under Jaunty Jackalope

    Hi,

    Or rather than the previous ornate script:

    Code:
    svn log -l 6 svn://svn.mplayerhq.hu/mplayer/trunk
    Sigh...........

    Andrew
    You think that's air you're breathing now?

Page 11 of 30 FirstFirst ... 91011121321 ... LastLast

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
  •