Forums

Skip to content

Advanced search
  • Quick links
    • Unanswered topics
    • Active topics
    • Search
  • FAQ
  • Login
  • Register
  • Board index Assistance Unsupported Software
  • Search

Ebuild for multi-threaded ("multi-core") mplayer (ffmpeg-mt)

This forum covers all Gentoo-related software not officially supported by Gentoo. Ebuilds/software posted here might harm the health and stability of your system(s), and are not supported by Gentoo developers. Bugs/errors caused by ebuilds from overlays.gentoo.org are covered by this forum, too.
Post Reply
Advanced search
100 posts
  • 1
  • 2
  • 3
  • 4
  • Next
Author
Message
RealNC
Tux's lil' helper
Tux's lil' helper
User avatar
Posts: 148
Joined: Sun Apr 13, 2008 2:50 am

Ebuild for multi-threaded ("multi-core") mplayer (

  • Quote

Post by RealNC » Wed Aug 26, 2009 3:51 pm

Here is an ebuild for mplayer that uses ffmpeg-mt (http://gitorious.org/ffmpeg/ffmpeg-mt) instead of normal ffmpeg. ffmpeg-mt is a multi-threaded version of ffmpeg that speeds up H.264/AVC, MPEG-1 and MPEG-2 decoding on multi-core CPUs (useful for CPU intensive HD video, like 1080p or high-bitrate 720p). ffmpeg-mt is a Google Summer of Code project of ffmpeg and at some point will be included upstream.

The ebuild can be found in the "multimedia" overlay, which is in layman. You can also get it from from Gentoo Bugzilla:

http://bugs.gentoo.org/show_bug.cgi?id=282154

You do not need to download any tarballs or anything else. The ebuild will grab everything on its own.

The multithreading patch is only applied if the "ffmpeg-mt" USE flag is set. If it's not set, the vanilla, mplayer-bundled ffmpeg is used. By default, this USE flag is enabled.

To use multithreading, you need to pass "-lavdopts threads=N" to mplayer. "N" is the amount of threads you want mplayer to utilize. A value of "2" should be enough even on quad cores to play 1080p HD video smoothly. If not, increase to 3 or 4. Of course higher numbers than the amount of CPU cores don't make sense and can even have negative results due to added overhead.

If you use SMPlayer instead of "raw" mplayer, you only need to set the appropriate option in its configuration dialog ("Performance" section, "Threads for decoding" field.)

With the "ffmpeg-mt" USE flag enabled, I can confirm that mplayer spawns the appropriate amount of threads and CPU load is distributed equally among them (with the end effect being that on my dual core both cores are doing video decoding.)
Last edited by RealNC on Fri Nov 05, 2010 6:54 am, edited 9 times in total.
Top
RealNC
Tux's lil' helper
Tux's lil' helper
User avatar
Posts: 148
Joined: Sun Apr 13, 2008 2:50 am

  • Quote

Post by RealNC » Sat Sep 19, 2009 4:53 pm

I updated the ffmpeg-mt-enabled mplayer ebuild, tarball and patch to latest version again (2009-09-19), due to a huge update in ffmpeg-mt. See bugzilla link in my first post.
Top
PraetorZero
Apprentice
Apprentice
User avatar
Posts: 239
Joined: Sat Dec 11, 2004 4:18 am
Location: /home

  • Quote

Post by PraetorZero » Mon Sep 21, 2009 2:29 am

I've been using your ebuild for a few months now and it's made a huge difference in eaking out more performance from a low-end dual-core cpu.

Thanks for the ebuild and the patch!
What's the worst that can happen?
Top
RealNC
Tux's lil' helper
Tux's lil' helper
User avatar
Posts: 148
Joined: Sun Apr 13, 2008 2:50 am

  • Quote

Post by RealNC » Sun Oct 11, 2009 1:02 am

There was another big ffmpeg-mt update (299 Git commits). I updated the ebuild.

This ebuild works stand-alone now; you don't need to manually download the tarball of the mplayer SVN snapshot nor the ffmpeg-mt patch. The ebuild will take care of that. So now simply put the ebuild in your local overlay and digest it. Furthermore, the ffmpeg-mt USE flag is enabled by default now.
Top
cruzki123
Apprentice
Apprentice
Posts: 270
Joined: Fri May 16, 2008 7:10 pm

  • Quote

Post by cruzki123 » Sun Oct 11, 2009 1:40 pm

Thank, I will test asap.

EDIT:

Compile fine, but seems that don't work.

Code: Select all

cruzki@artemisa /home/cajon/pelis $ mplayer -lavdopts threads=2 Los\ Mundos\ de\ Coraline\ \[DVDRIP\].avi
MPlayer SVN-r29769-4.4.1 (C) 2000-2009 MPlayer Team
Reproduciendo Los Mundos de Coraline [DVDRIP].avi.
Detectado formato de archivo AVI.
[aviheader] Stream de video encontrado, -vid 0
[aviheader] Stream de audio encontrado, -aid 1
VIDEO:  [XVID]  720x400  24bpp  23.976 fps  1880.3 kbps (229.5 kbyte/s)
Informaci�n de clip:
 Software: VirtualDubMod 1.4.13
==========================================================================
Abriendo decodificador de video: [ffmpeg] FFmpeg's libavcodec codec family.
Video codec seleccionado: [ffodivx] vfm: ffmpeg (FFmpeg MPEG-4)
==========================================================================
==========================================================================
Abriendo decodificador de audio: [mp3lib] MPEG layer-2, layer-3.
AUDIO: 44100 Hz, 2 ch, s16le, 128.0 kbit/9.07% (ratio: 16000->176400)
Audio codec seleccionado: [mp3] afm: mp3lib (mp3lib MPEG layer-2, layer-3)
==========================================================================
AO: [alsa] 48000Hz 2ch s16le (2 bytes per sample)
Comenzando la reproducci�n...
[mpeg4 @ 0xa073e0]Invalid and inefficient vfw-avi packed B frames detected
Aspecto es 1.80:1 - prescalando a aspecto correcto.
VO: [xv] 720x400 => 720x400 Planar YV12
I'm thinking I'm missing some parameter in the comman line.
Top
cord
Guru
Guru
User avatar
Posts: 346
Joined: Sat Apr 28, 2007 10:25 am

  • Quote

Post by cord » Sun Oct 11, 2009 3:26 pm

Hello all!
I tryed mplayer-mt, and it didn't work on my X2 :(

But I recently came across this:
On >=gcc-4.4 you can add
CFLAGS += -ftree-parallelize-loops=4 -fopenmp
and all of your projects will be multithreaded :)
does anybody test it?
Top
SlashBeast
Retired Dev
Retired Dev
User avatar
Posts: 2922
Joined: Tue May 23, 2006 11:50 am
Contact:
Contact SlashBeast
Website

  • Quote

Post by SlashBeast » Sun Oct 11, 2009 5:48 pm

cord wrote:Hello all!
I tryed mplayer-mt, and it didn't work on my X2 :(

But I recently came across this:
On >=gcc-4.4 you can add
CFLAGS += -ftree-parallelize-loops=4 -fopenmp
and all of your projects will be multithreaded :)
does anybody test it?
I rebuild for test bash with "-march=core2 -mcx16 -msahf -O2 -pipe -ftree-parallelize-loops=2 -fopenmp" and any configure cant be done, always error with enable-something. Look like openmp isnt without bugs.
Top
RealNC
Tux's lil' helper
Tux's lil' helper
User avatar
Posts: 148
Joined: Sun Apr 13, 2008 2:50 am

  • Quote

Post by RealNC » Sun Oct 11, 2009 7:25 pm

The first thing to do to check whether ffmpeg-mt is at fault with files that won't play, is to disable the ffmpeg-mt USE flag of mplayer and test again.

As for the "-ftree-parallelize-loops=4 -fopenmp" flag, that won't make programs "multi-threaded" :roll: It's just an optimization parallelizing some loops.
Top
loftwyr
l33t
l33t
User avatar
Posts: 970
Joined: Wed Dec 29, 2004 2:51 am
Location: 43°38'23.62"N 79°27'8.60"W

  • Quote

Post by loftwyr » Sun Oct 11, 2009 7:31 pm

-fopenmp just hooks up a library and allows for multi-threaded programs. On it's own it does nothing unless the programmer actually has set up his/her program to use the special calls.
My emerge --info
Have you run revdep-rebuild lately? It's in gentoolkit and it's worth a shot if things don't work well.
Celebrating 5 years of Gentoo-ing.
Top
RealNC
Tux's lil' helper
Tux's lil' helper
User avatar
Posts: 148
Joined: Sun Apr 13, 2008 2:50 am

  • Quote

Post by RealNC » Thu Oct 29, 2009 6:20 pm

New update: 1.0_rc4_p20091029.

There were 217 new ffmpeg-mt commits since the last ebuild. Also includes latest mplayer updates from SVN (revision 29800). Also, the ebuild has been updated to be in sync with latest in portage (1.0_rc4_p20091026-r1) which will probably result in new USE flags being enabled and/or disabled.
Top
costel78
Guru
Guru
Posts: 416
Joined: Fri Apr 20, 2007 6:17 pm

  • Quote

Post by costel78 » Thu Oct 29, 2009 9:04 pm

Unfortunately ffmpeg-mt conflict with normal ffmpeg.

Code: Select all

equery depends ffmpeg
 * Searching for ffmpeg ...
app-cdr/k3b-1.68.0_alpha3 (ffmpeg ? >=media-video/ffmpeg-0.5)
media-gfx/blender-2.49b (ffmpeg ? >=media-video/ffmpeg-0.5[encode,theora])
media-libs/gegl-0.1.0-r1 (ffmpeg ? >=media-video/ffmpeg-0.4.9_p20080326)
media-libs/libquicktime-1.1.3 (ffmpeg ? >=media-video/ffmpeg-0.4.9_p20070616)
media-libs/xine-lib-1.1.16.3-r2 (>=media-video/ffmpeg-0.4.9_p20070129)
media-plugins/gst-plugins-ffmpeg-0.10.7 (>=media-video/ffmpeg-0.5)
media-plugins/xmms-wma-1.0.5-r2 (>=media-video/ffmpeg-0.4.9_p20081014)
media-sound/audacity-1.3.9 (ffmpeg ? >=media-video/ffmpeg-0.4.9_p20080617)
media-sound/sox-14.3.0 (ffmpeg ? >=media-video/ffmpeg-0.5)
media-video/cinelerra-20090210 (media-video/ffmpeg)
media-video/dv2sub-0.3 (kino ? media-video/ffmpeg)
media-video/gpac-0.4.5 (ffmpeg ? media-video/ffmpeg)
media-video/qdvdauthor-1.11.1 (media-video/ffmpeg)
media-video/transcode-1.1.4 (>=media-video/ffmpeg-0.4.9_p20081014)
media-video/videotrans-1.6.0 (media-video/ffmpeg)
media-video/vlc-1.0.3_rc (ffmpeg ? >=media-video/ffmpeg-0.4.9_p20090201)
net-libs/opal-3.6.6 (plugins & ffmpeg ? >=media-video/ffmpeg-0.5[encode])
                    (plugins & x264 ? >=media-video/ffmpeg-0.4.7)
net-libs/ptlib-2.6.5 (ffmpeg ? media-video/ffmpeg)
www-plugins/moonlight-1.0.1 (>=media-video/ffmpeg-0.4.9_p20090121)
Is there any workaround, except put every these packages in overlay and edit dependencies ?
Sorry for my English. I'm still learning this language.
Top
RealNC
Tux's lil' helper
Tux's lil' helper
User avatar
Posts: 148
Joined: Sun Apr 13, 2008 2:50 am

  • Quote

Post by RealNC » Thu Oct 29, 2009 9:07 pm

I'm not sure what you mean. mplayer does not use media-video/ffmpeg. It uses its own bundled version. This ebuild adds multi-threading to mplayer *only*. ffmpeg is not touched in any way.
Top
costel78
Guru
Guru
Posts: 416
Joined: Fri Apr 20, 2007 6:17 pm

  • Quote

Post by costel78 » Thu Oct 29, 2009 9:55 pm

My mistake. I supposed that ffmpeg-mt is required, when it's not.
Sorry for my English. I'm still learning this language.
Top
DaggyStyle
Watchman
Watchman
User avatar
Posts: 5969
Joined: Wed Mar 22, 2006 6:57 am

  • Quote

Post by DaggyStyle » Fri Oct 30, 2009 6:56 am

quick question, what is the diff between ffmpeg-mt and mplayer-mt?
isn't it enough to compile ffmpeg-mt and mplayer with the external ffmpeg flag?
Only two things are infinite, the universe and human stupidity and I'm not sure about the former - Albert Einstein
Top
RealNC
Tux's lil' helper
Tux's lil' helper
User avatar
Posts: 148
Joined: Sun Apr 13, 2008 2:50 am

  • Quote

Post by RealNC » Fri Oct 30, 2009 2:45 pm

DaggyStyle wrote:quick question, what is the diff between ffmpeg-mt and mplayer-mt?
isn't it enough to compile ffmpeg-mt and mplayer with the external ffmpeg flag?
There's no such thing as an "external ffmpeg" flag. :P
Top
DaggyStyle
Watchman
Watchman
User avatar
Posts: 5969
Joined: Wed Mar 22, 2006 6:57 am

  • Quote

Post by DaggyStyle » Fri Oct 30, 2009 3:40 pm

strange, I was sure I saw that somewhere, anyway, it use its own ffmpeg-mt version or depends on the installed ffmpeg?
Only two things are infinite, the universe and human stupidity and I'm not sure about the former - Albert Einstein
Top
RealNC
Tux's lil' helper
Tux's lil' helper
User avatar
Posts: 148
Joined: Sun Apr 13, 2008 2:50 am

  • Quote

Post by RealNC » Fri Oct 30, 2009 3:51 pm

mplayer always uses its own ffmpeg and does not depend on the installed ffmpeg. That means even if you replace the installed ffmpeg with ffmpeg-mt, mplayer won't use it. That's why you need this ebuild here to replace mplayer's ffmpeg with ffmpeg-mt.

I think there was a USE flag in the past to make it use the installed one, but it got removed, probably due to problems with it.
Top
fanthom
n00b
n00b
Posts: 60
Joined: Thu May 31, 2007 1:39 pm

  • Quote

Post by fanthom » Wed Nov 04, 2009 10:41 am

RealNC wrote:mplayer always uses its own ffmpeg and does not depend on the installed ffmpeg. That means even if you replace the installed ffmpeg with ffmpeg-mt, mplayer won't use it. That's why you need this ebuild here to replace mplayer's ffmpeg with ffmpeg-mt.

I think there was a USE flag in the past to make it use the installed one, but it got removed, probably due to problems with it.
not really. live mplayer ebuild from normal portage tree (not any overlay) uses external-ffmpeg flag. work without problems.
Top
huhn_m
n00b
n00b
Posts: 25
Joined: Mon Aug 21, 2006 6:30 am

  • Quote

Post by huhn_m » Fri Nov 06, 2009 6:07 pm

most recent ebuild fails.

> Couldn't download 'svgalib_helper-1.9.17-mplayer.tar.gz'. Aborting.

why have you removed the file??? Could you please put it up again?

Thank you!

*edit*: works with the alternate URL that is in the ebuild (directly from mplayerhq)
Top
cookiecrusher
n00b
n00b
User avatar
Posts: 23
Joined: Tue Jun 10, 2008 12:19 pm

  • Quote

Post by cookiecrusher » Sat Nov 07, 2009 11:45 am

I have one little question.

Does this mplayer-version handle ordered chapters or should I stay with this?
~ If love can kill people, surely hatred can save them ~
Noir - Altena, Ep 26
Top
RealNC
Tux's lil' helper
Tux's lil' helper
User avatar
Posts: 148
Joined: Sun Apr 13, 2008 2:50 am

  • Quote

Post by RealNC » Fri Nov 13, 2009 1:53 am

New update: mplayer-1.0_rc4_p20091113
  • ffmpeg-mt had 115 new commits
  • mplayer updated to r29906
  • the "teletext" USE flag is no more
About the removal of the "teletext" USE flag: Since mplayer 29851, the CONFIG_TV_TELETEXT configuration option is no more.
Therefore, the "teletext" USE flag has been removed from the ebuild. Teletext
is now always supported by mplayer without the need to drag-in TV support (and
the support should be rather complete now).
Top
RealNC
Tux's lil' helper
Tux's lil' helper
User avatar
Posts: 148
Joined: Sun Apr 13, 2008 2:50 am

  • Quote

Post by RealNC » Fri Nov 13, 2009 1:56 am

huhn_m wrote:most recent ebuild fails.

> Couldn't download 'svgalib_helper-1.9.17-mplayer.tar.gz'. Aborting.

why have you removed the file??? Could you please put it up again?

Thank you!

*edit*: works with the alternate URL that is in the ebuild (directly from mplayerhq)
Sorry, but it's not me who removed that file :P "http://dev.gentoo.org/~ssuominen" is not me.
Top
RealNC
Tux's lil' helper
Tux's lil' helper
User avatar
Posts: 148
Joined: Sun Apr 13, 2008 2:50 am

  • Quote

Post by RealNC » Fri Nov 13, 2009 2:00 am

cookiecrusher wrote:I have one little question.

Does this mplayer-version handle ordered chapters or should I stay with this?
I don't know if this has been merged into upstream mplayer. If not, then I'd say no, it does not support ordered chapters.
Top
NotQuiteSane
Guru
Guru
User avatar
Posts: 492
Joined: Sun Jan 30, 2005 1:28 am
Location: Klamath Falls, Jefferson, USA, North America, Midgarth
Contact:
Contact NotQuiteSane
Website

  • Quote

Post by NotQuiteSane » Fri Nov 27, 2009 9:08 am

looks like svgalib_helper is missing. using mplayer-1.0_rc4_p20091113.ebuild, I see:

Code: Select all

pixel mplayer # ebuild mplayer-1.0_rc4_p20091113.ebuild digest
>>> Downloading 'http://dev.gentoo.org/~ssuominen/svgalib_helper-1.9.17-mplayer.tar.gz'
--2009-11-27 00:42:07--  http://dev.gentoo.org/~ssuominen/svgalib_helper-1.9.17-mplayer.tar.gz
Resolving dev.gentoo.org... 140.211.166.183
Connecting to dev.gentoo.org|140.211.166.183|:80... connected.
HTTP request sent, awaiting response... 404 Not Found
2009-11-27 00:42:07 ERROR 404: Not Found.

!!! Couldn't download 'svgalib_helper-1.9.17-mplayer.tar.gz'. Aborting.
!!! Fetch failed for svgalib_helper-1.9.17-mplayer.tar.gz, can't update Manifest
modifying the build:

Code: Select all

pixel mplayer # cat update.patch 
--- mplayer-1.0_rc4_p20091113.ebuild    2009-11-27 00:40:51.000000000 +0000
+++ mplayer-1.0_rc4_p20091113.ebuild.new        2009-11-27 00:52:14.000000000 +0000
@@ -37,8 +37,8 @@
                          mirror://mplayer/releases/fonts/font-arial-iso-8859-2.tar.bz2
                          mirror://mplayer/releases/fonts/font-arial-cp1250.tar.bz2 )
        gmplayer? ( mirror://mplayer/skins/Blue-${BLUV}.tar.bz2 )
-       svga? ( http://dev.gentoo.org/~ssuominen/svgalib_helper-${SVGV}-mplayer.tar.gz )"
-#      svga? ( http://mplayerhq.hu/~alex/svgalib_helper-${SVGV}-mplayer.tar.bz2 )
+       svga? ( http://mplayerhq.hu/~alex/svgalib_helper-${SVGV}-mplayer.tar.bz2 )"
+#      svga? ( http://dev.gentoo.org/~ssuominen/svgalib_helper-${SVGV}-mplayer.tar.gz )"
 
 DESCRIPTION="Media Player for Linux"
 HOMEPAGE="http://www.mplayerhq.hu/"
run ebuild ... digest:

Code: Select all

pixel mplayer # ebuild mplayer-1.0_rc4_p20091113.ebuild digest
>>> Creating Manifest for /usr/local/portage/layman/nqs/media-video/mplayer
Works. however when we go to build:

Code: Select all

pixel mplayer # pump emerge -uavt mplayer --jobs=3 --keep-going
__________Using distcc-pump from /usr/bin
__________Using 13 distcc servers in pump mode

These are the packages that would be merged, in reverse order:

Calculating dependencies... done!
[ebuild     U ] media-video/mplayer-1.0_rc4_p20091113 [1.0_rc2_p20090731] USE="X a52* alsa ass directfb* doc dvd encode fbcon* ffmpeg-mt%* ftp gif jpeg live* lzo mmx mp3 osdmenu* png quicktime radio rar real sse sse2 ssse3 svga theora unicode v4l* v4l2* vorbis win32codecs x264 xscreensaver -3dnow -3dnowext -aac -aalib (-altivec) -bidi -bindist -bl -bs2b% -cddb -cdio -cdparanoia -cpudetection -custom-cpuopts -debug -dga -dirac -dts -dv -dvb -dvdnav -dxr3 -enca -esd -faac -faad -ggi -gmplayer -iconv -ipv6 -jack -joystick -ladspa -libcaca -lirc -mad -md5sum -mmxext -mng -nas -network -nut% -openal -opencore-amr% -opengl -oss -pnm -pulseaudio -pvr -rtc -samba -schroedinger -sdl -shm -speex -tga -toolame% -tremor -truetype -twolame% -vdpau -vidix -xanim -xinerama -xv -xvid -xvmc -zoran (-custom-cflags%) (-mp2%) (-teletext%)" VIDEO_CARDS="-mga -nvidia -s3virge -tdfx (-vesa%*)" 0 kB [0=>1]

Total: 1 package (1 upgrade), Size of downloads: 0 kB
Portage tree and overlays:
 [0] /usr/portage
 [1] /usr/local/portage/layman/nqs

Would you like to merge these packages? [Yes/No] 

Code: Select all

* ERROR: media-video/mplayer-1.0_rc4_p20091113 failed:
 *   failure unpacking svgalib_helper-1.9.17-mplayer.tar.bz2
 * 
 * Call stack:
 *     ebuild.sh, line   49:  Called src_unpack
 *   environment, line 3073:  Called unpack 'mplayer-1.0_rc4_p20091113.tar.bz2' 'font-arial-iso-8859-1.tar.bz2' 'mplayer-1.0_rc4_p20091113-ffmpeg-mt.patch' 'svgalib_helper-1.9.17-mplayer.tar.bz2' 'font-arial-cp1250.tar.bz2' 'font-arial-iso-8859-2.tar.bz2'
 *     ebuild.sh, line  374:  Called _unpack_tar 'bzip2'
 *     ebuild.sh, line  349:  Called die
 * The specific snippet of code:
 *                              assert "$myfail"
 * 
 * If you need support, post the output of 'emerge --info =media-video/mplayer-1.0_rc4_p20091113',
 * the complete build log and the output of 'emerge -pqv =media-video/mplayer-1.0_rc4_p20091113'.
 * This ebuild is from an overlay named 'NQS': '/usr/local/portage/layman/nqs/'
 * The complete build log is located at '/var/tmp/portage/media-video/mplayer-1.0_rc4_p20091113/temp/build.log'.
 * The ebuild environment file is located at '/var/tmp/portage/media-video/mplayer-1.0_rc4_p20091113/temp/environment'.
 * S: '/var/tmp/portage/media-video/mplayer-1.0_rc4_p20091113/work/mplayer-1.0_rc4_p20091113'
 * 
 * The following package has failed to build or install:
 * 
 *  ('ebuild', '/', 'media-video/mplayer-1.0_rc4_p20091113', 'merge'), Log file:
 *   '/var/tmp/portage/media-video/mplayer-1.0_rc4_p20091113/temp/build.log'
 * 
__________Shutting down distcc-pump include server
pixel mplayer # 
from the build.log:

Code: Select all

>>> Unpacking svgalib_helper-1.9.17-mplayer.tar.bz2 to /var/tmp/portage/media-video/mplayer-1.0_rc4_p20091113/work
bzip2: /var/tmp/portage/media-video/mplayer-1.0_rc4_p20091113/distdir/svgalib_helper-1.9.17-mplayer.tar.bz2 is not a bzip2 file.
tar: This does not look like a tar archive
tar: Error exit delayed from previous errors
check out the file (is symlink to one in distfiles):

Code: Select all

pixel mplayer # file /usr/portage/distfiles/svgalib_helper-1.9.17-mplayer.tar.bz2 
/usr/portage/distfiles/svgalib_helper-1.9.17-mplayer.tar.bz2: HTML document text
pixel mplayer # 
html != bz2

Code: Select all

pixel mplayer # cat /usr/portage/distfiles/svgalib_helper-1.9.17-mplayer.tar.bz2 
<!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 4.01//EN" "http://www.w3.org/TR/html4/strict.dtd">
<html>
<head profile="http://www.w3.org/2005/10/profile">
<title>Entering MPlayer homepage</title>
<meta http-equiv="refresh" content="0; URL=design7/news.html">
<meta http-equiv="Content-Type" content="text/html; charset=utf-8">
<link rel="stylesheet" type="text/css" href="design7/default.css">
<link rel="icon" href="design7/favicon.png" type="image/png">
</head>
<body>
<p>
If you are not automatically redirected, click
<a href="design7/news.html">this link to our news page</a>.
</p>
</body>
</html>
pixel mplayer # 
looks to me liek that either a "click through" or missing page "re-direct"

NQS
These opinions are mine, mine I say! Piss off and get your own.

As I see it -- An irregular blog, Improved with new location

To delete French language packs from system use 'sudo rm -fr /'
Top
NotQuiteSane
Guru
Guru
User avatar
Posts: 492
Joined: Sun Jan 30, 2005 1:28 am
Location: Klamath Falls, Jefferson, USA, North America, Midgarth
Contact:
Contact NotQuiteSane
Website

  • Quote

Post by NotQuiteSane » Fri Nov 27, 2009 9:52 am

NotQuiteSane wrote:looks like svgalib_helper is missing.
Fixed it. use this patch:

Code: Select all

pixel mplayer # cat update.patch 
--- mplayer-1.0_rc4_p20091113.ebuild    2009-11-27 01:45:38.000000000 +0000
+++ mplayer-1.0_rc4_p20091113.ebuild.new        2009-11-27 01:30:56.000000000 +0000
@@ -37,8 +37,10 @@
                          mirror://mplayer/releases/fonts/font-arial-iso-8859-2.tar.bz2
                          mirror://mplayer/releases/fonts/font-arial-cp1250.tar.bz2 )
        gmplayer? ( mirror://mplayer/skins/Blue-${BLUV}.tar.bz2 )
-       svga? ( http://dev.gentoo.org/~ssuominen/svgalib_helper-${SVGV}-mplayer.tar.gz )"
-#      svga? ( http://mplayerhq.hu/~alex/svgalib_helper-${SVGV}-mplayer.tar.bz2 )
+       svga?
+       ( http://www.mplayerhq.hu/MPlayer/contrib/svgalib/svgalib_helper-1.9.17-mplayer.tar.bz2 )"
+#      svga? ( http://mplayerhq.hu/~alex/svgalib_helper-${SVGV}-mplayer.tar.bz2 )"
+#      svga? ( http://dev.gentoo.org/~ssuominen/svgalib_helper-${SVGV}-mplayer.tar.gz )"
 
 DESCRIPTION="Media Player for Linux"
 HOMEPAGE="http://www.mplayerhq.hu/"
@@ -202,7 +204,7 @@
 
        use gmplayer && unpack "Blue-${BLUV}.tar.bz2"
 
-       use svga && unpack "svgalib_helper-${SVGV}-mplayer.tar.gz"
+       use svga && unpack "svgalib_helper-1.9.17-mplayer.tar.bz2"
 }
 
 src_prepare() {
pixel mplayer # 
on a side note, i'd never created a patch before, so for any one searching for "how to create a patch" I used this link to learn how.

NQS
These opinions are mine, mine I say! Piss off and get your own.

As I see it -- An irregular blog, Improved with new location

To delete French language packs from system use 'sudo rm -fr /'
Top
Post Reply

100 posts
  • 1
  • 2
  • 3
  • 4
  • Next

Return to “Unsupported Software”

Jump to
  • Assistance
  • ↳   News & Announcements
  • ↳   Frequently Asked Questions
  • ↳   Installing Gentoo
  • ↳   Multimedia
  • ↳   Desktop Environments
  • ↳   Networking & Security
  • ↳   Kernel & Hardware
  • ↳   Portage & Programming
  • ↳   Gamers & Players
  • ↳   Other Things Gentoo
  • ↳   Unsupported Software
  • Discussion & Documentation
  • ↳   Documentation, Tips & Tricks
  • ↳   Gentoo Chat
  • ↳   Gentoo Forums Feedback
  • ↳   Duplicate Threads
  • International Gentoo Users
  • ↳   中文 (Chinese)
  • ↳   Dutch
  • ↳   Finnish
  • ↳   French
  • ↳   Deutsches Forum (German)
  • ↳   Diskussionsforum
  • ↳   Deutsche Dokumentation
  • ↳   Greek
  • ↳   Forum italiano (Italian)
  • ↳   Forum di discussione italiano
  • ↳   Risorse italiane (documentazione e tools)
  • ↳   Polskie forum (Polish)
  • ↳   Instalacja i sprzęt
  • ↳   Polish OTW
  • ↳   Portuguese
  • ↳   Documentação, Ferramentas e Dicas
  • ↳   Russian
  • ↳   Scandinavian
  • ↳   Spanish
  • ↳   Other Languages
  • Architectures & Platforms
  • ↳   Gentoo on ARM
  • ↳   Gentoo on PPC
  • ↳   Gentoo on Sparc
  • ↳   Gentoo on Alternative Architectures
  • ↳   Gentoo on AMD64
  • ↳   Gentoo for Mac OS X (Portage for Mac OS X)
  • Board index
  • All times are UTC
  • Delete cookies

© 2001–2026 Gentoo Foundation, Inc.

Powered by phpBB® Forum Software © phpBB Limited

Privacy Policy

 

 

magic