MPlayer for the framebuffer only

As you might have seen in some of the screenshots, I run mplayer against the framebuffer on my Thinkpad, scrunched into a slot that takes up half the available 800 pixels, and usually from within a screen-vs session.

If it’s vaguely interesting to you, or if you also want to smush DVD rips against the framebuffer of an 8-year-old laptop, you might be interested in the flags I use to build mplayer. Most of these come from the mplayer-no-gui PKGBUILD in AUR (which has since been purged out, I should mention), although I have adjusted it even further to carve out even less dependencies, and reduce the time it takes to build.

And even if you’re not interested at all and you think I’m a hopeless lunatic … well, I get tired of keeping the flags in hnb, so I’m dumping them here.

./configure --prefix=/usr \
--mandir=/usr/man \
--win32codecsdir=/usr/lib/win32 \
--disable-mencoder \
--disable-x11 \
--disable-gl \
--disable-tv-v4l1 \
--disable-tv-v4l2 \
--disable-runtime-cpudetection \
--enable-largefiles \
--disable-gui \
--disable-nas \
--disable-mga \
--disable-smb \
--disable-arts \
--disable-openal \
--disable-sdl \
--disable-aa \
--disable-esd \
--disable-jack \
--enable-fbdev \
--disable-lirc \
--disable-lircc \
--disable-liblzo \
--disable-fribidi \
--disable-libdv \
--disable-musepack \
--disable-speex \
--disable-cdparanoia \
--disable-dvdnav \
--disable-libamr_nb \
--disable-live \
--disable-mad

Insert that into your Pkgfile (for Crux) or your PKGBUILD (for Arch) or just your ./configure command, and it should spit back out a leaner, meaner mplayer. (Please note that this is written for Crux, so it might need a little smacking around to make it work with your distribution. Be prepared to fight for your freedom.)

And so, once again, this blog does the thing it was originally intended for: keeping a record of all the little weird things I do.

About these ads

16 Responses to “MPlayer for the framebuffer only”


  1. 1 Adrian 2009/11/24 at 12:59 AM

    Funny thing is though, those little weird things you do are really helpful for others.

  2. 2 mulenmar 2009/11/25 at 1:08 AM

    Odd you would pick now to put these up on display, I’ve been fiddling with MPlayer configuration lately in an effort to play movies fullscreen on my netbook with smooth performance. I don’t enable win32 codecs though, I don’t really need them.

    And if I do, well, I still have Arch’s default MPlayer installed. :)

  3. 3 samspade10 2009/11/25 at 10:54 PM

    Forgive my ignorance Mister Mandla. I’ve read up on the framebuffer but I’ve no idea how to run video in Puppy Linux without X. Is it possible?
    Also, I have elinks installed but can’t find the right file to change the string. It doesn’t seem to be in the .elinks directory. Should it be?

    It’s only when I read blogs like yours that I remember I’m not a true computer geek, though most of my colleagues think I am :-)

    • 4 K.Mandla 2009/11/26 at 10:13 PM

      To be honest, I don’t use Puppy Linux enough to know how it’s done. You’ll have to scout out an answer on the Puppy forums, and see what advice they offer. If it comes to recompiling MPlayer, you could try these flags. Be aware that they’ll probably need some fine tuning to work with Puppy. ;)

  4. 6 zenfunk 2009/11/26 at 4:32 PM

    @ samspade:
    Same here- If I talk to real IT professionals, or just people yho know more than me, of which there are many. Then I feel really humbled. But somehow I look like a pro for anybody else. Probably it is just because I use a different OS (GNU/Linux) than the rest.
    GNU/Linux can look very unfamilliar to those who have only seen Windows for the last 10 to 15 years.

  5. 7 mulenmar 2009/11/27 at 3:06 AM

    Looking at these configuration options for MPlayer again has led me to wonder which audio system (straight ALSA, pulseaudio, esd, jack, etc.) is most efficient for older systems in terms of standalone performance vs efficiency of being used by lightweight programs….

    Any thoughts, O great and wise K. Mandla? :P :twisted:

  6. 8 Agent Landmine 2010/04/26 at 2:44 AM

    Dear K.
    I’ve sceen how you have mplayer running in screen, however, I can’t seem to get screen to
    let any framebuffer access hapen from within it… any hints?
    -LM

  7. 9 tobias lindgaard 2010/08/12 at 5:56 AM

    I got it to work a lot easier on my slackware bux :-) I simply collected the source package looked at the readme realizing I could just compile tried compiling and just supply -vo svga -ao alsa however I need to be root which is not optimal but it works ;-)

    Now I just need to get the support into screen :-)

  8. 10 Fabio Colitti 2010/09/21 at 6:12 AM

    Perhaps using a more simplicistic approach
    I have tryied to attain a similar goal .

    In

    http://www.webalice.it/fabiocolitti/c-mpv.htm

    http://www.webalice.it/fabiocolitti/C-MPV_menu_.zip

    there is an ugly bunch of minimal bash files
    for using MPlayer in Console
    in playing videos (fbdev or sdl)

    _ N O T only ascii movies _ .

    I’ve simply assembled like lego bricks
    some useful options for MPlayer
    and some scripts .

    Download C-MPV_menu_.zip ,
    edit and adapt the scripts to your hardware and taste .

    Hope this can be helpful in some manner .

    Be merciful with my errors ….

    regards

    Fabio Colitti


  1. 1 GoblinX Project » GoblinX Newsletter, Issue 228 (11/29/2009) Trackback on 2009/11/29 at 8:55 PM
  2. 2 Martes sin X “Mplayer” « Seamos realistas… Trackback on 2009/12/02 at 10:41 AM
  3. 3 vlc, ncurses and the framebuffer … ? « Motho ke motho ka botho Trackback on 2010/01/26 at 8:13 AM
  4. 4 A quick look at framebuffer applications « Motho ke motho ka botho Trackback on 2010/04/16 at 12:01 PM
  5. 5 mplayer and screen, in a fight to the death « Motho ke motho ka botho Trackback on 2010/12/30 at 1:16 PM

Leave a Reply

Fill in your details below or click an icon to log in:

WordPress.com Logo

You are commenting using your WordPress.com account. Log Out / Change )

Twitter picture

You are commenting using your Twitter account. Log Out / Change )

Facebook photo

You are commenting using your Facebook account. Log Out / Change )

Google+ photo

You are commenting using your Google+ account. Log Out / Change )

Connecting to %s




Welcome!



Visit the Wiki!

Some recent desktops


May 6, 2011
Musca 0.9.24 on Crux Linux
150Mhz Pentium 96Mb 8Gb CF
 


May 14, 2011
IceWM 1.2.37 and Arch Linux
L2300 core duo 3Gb 320Gb

Some recent games


Apr. 21, 2011
Oolite on Xubuntu 11.04
L2300 core duo 3Gb 320Gb

Enter your email address to subscribe to this blog and receive notifications of new posts.

Join 405 other followers

License

This work is licensed under the GNU Free Documentation License. Please see the About page for details.

Blog Stats

  • 3,960,988 hits

Archives


Follow

Get every new post delivered to your Inbox.

Join 405 other followers

%d bloggers like this: