public inbox for gentoo-user@lists.gentoo.org
 help / color / mirror / Atom feed
* [gentoo-user] Slow mencoder after emerge?
@ 2005-07-06 17:02 cothrige
  2005-07-07  5:30 ` Rumen Yotov
  0 siblings, 1 reply; 6+ messages in thread
From: cothrige @ 2005-07-06 17:02 UTC (permalink / raw
  To: gentoo-user

I am very new to Gentoo and portage and just beginning to learn to
find my way around.  For the most part things have been good, but
MPlayer has proved to be a difficulty.  Not in basic functionality
though, but just speed.

What I did was start with a basic 'emerge -a mplayer' which installed
mplayer and a codec package.  Everything seemed very solid and seemed
to work as it should.  But when I tested mencoder with a dvd it would
only run at something like 12 or 14 fps.  Normally with the same
settings (mencoder dvd://1 -noodml -oac mp3lame -ovc lavc -lavcopts
vcodec=mpeg4:mbd=2:vbitrate=1800) it goes at about 28-30.  I hated to
think about taking three hours to make one pass on a movie encoding
and so unmerged it and compiled myself from source.  Now it works
fine.

I am very curious about what I did wrong, not so much for mplayer as I
have it running fine but rather for a better knowledge of portage and
such.  My use flags in /etc/make.conf are this: "gnome kde jpeg gif
tiff dvd dvdr emacs tcltk" in case they are responsible.

Thanks in advance for any advice.

Patrick
-- 
gentoo-user@gentoo.org mailing list



^ permalink raw reply	[flat|nested] 6+ messages in thread

* Re: [gentoo-user] Slow mencoder after emerge?
  2005-07-06 17:02 [gentoo-user] Slow mencoder after emerge? cothrige
@ 2005-07-07  5:30 ` Rumen Yotov
  2005-07-07 11:07   ` cothrige
  2005-07-08 11:53   ` cothrige
  0 siblings, 2 replies; 6+ messages in thread
From: Rumen Yotov @ 2005-07-07  5:30 UTC (permalink / raw
  To: gentoo-user

[-- Attachment #1: Type: text/plain, Size: 1290 bytes --]

cothrige wrote:

>I am very new to Gentoo and portage and just beginning to learn to
>find my way around.  For the most part things have been good, but
>MPlayer has proved to be a difficulty.  Not in basic functionality
>though, but just speed.
>
>What I did was start with a basic 'emerge -a mplayer' which installed
>mplayer and a codec package.  Everything seemed very solid and seemed
>to work as it should.  But when I tested mencoder with a dvd it would
>only run at something like 12 or 14 fps.  Normally with the same
>settings (mencoder dvd://1 -noodml -oac mp3lame -ovc lavc -lavcopts
>vcodec=mpeg4:mbd=2:vbitrate=1800) it goes at about 28-30.  I hated to
>think about taking three hours to make one pass on a movie encoding
>and so unmerged it and compiled myself from source.  Now it works
>fine.
>
>I am very curious about what I did wrong, not so much for mplayer as I
>have it running fine but rather for a better knowledge of portage and
>such.  My use flags in /etc/make.conf are this: "gnome kde jpeg gif
>tiff dvd dvdr emacs tcltk" in case they are responsible.
>
>Thanks in advance for any advice.
>
>Patrick
>  
>
Hi,
Maybe rebuilding "mplayer" through portage will have the same result.
Think you could have a look at 'revdep-rebuild' (man revdep-rebuild).
HTH. Rumen

[-- Attachment #2: S/MIME Cryptographic Signature --]
[-- Type: application/x-pkcs7-signature, Size: 3397 bytes --]

^ permalink raw reply	[flat|nested] 6+ messages in thread

* Re: [gentoo-user] Slow mencoder after emerge?
  2005-07-07  5:30 ` Rumen Yotov
@ 2005-07-07 11:07   ` cothrige
  2005-07-08 11:53   ` cothrige
  1 sibling, 0 replies; 6+ messages in thread
From: cothrige @ 2005-07-07 11:07 UTC (permalink / raw
  To: gentoo-user

* Rumen Yotov (rumen_yotov@dir.bg) wrote:
>
> Hi,
> Maybe rebuilding "mplayer" through portage will have the same result.
> Think you could have a look at 'revdep-rebuild' (man revdep-rebuild).
> HTH. Rumen


Okay.  Sounds like a good start to me.  I will give it a go and see
what I get.  It's not hard to reinstall by hand if it does not do
well.

Many thanks,

Patrick

-- 
gentoo-user@gentoo.org mailing list



^ permalink raw reply	[flat|nested] 6+ messages in thread

* Re: [gentoo-user] Slow mencoder after emerge?
  2005-07-07  5:30 ` Rumen Yotov
  2005-07-07 11:07   ` cothrige
@ 2005-07-08 11:53   ` cothrige
  2005-07-08 19:46     ` Andreas Claesson
  1 sibling, 1 reply; 6+ messages in thread
From: cothrige @ 2005-07-08 11:53 UTC (permalink / raw
  To: gentoo-user

* Rumen Yotov (rumen_yotov@dir.bg) wrote:
>
> Hi,
> Maybe rebuilding "mplayer" through portage will have the same result.
> Think you could have a look at 'revdep-rebuild' (man revdep-rebuild).
> HTH. Rumen


Nope.  Didn't work.  But, I did notice that when I run it I get a
string of "... supported but disabled." statements at the
beginning. MMX, SSE, MMX2 and so on.  This causes me to wonder, is
there a way to adjust the configure options in emerge?  For instance,
even not considering the slowness, I don't use the gui and so do not
enable it when I configure it myself.  I figured that emerge includes
it since most people seem to like it.  Can I change these things?  And
I like 256 colors enabled on xterm, rxvt and elinks.  Can these be
switched on when emerging?  Being new to this I am not sure about
these details.

Patrick

-- 
gentoo-user@gentoo.org mailing list



^ permalink raw reply	[flat|nested] 6+ messages in thread

* Re: [gentoo-user] Slow mencoder after emerge?
  2005-07-08 19:46     ` Andreas Claesson
@ 2005-07-08 15:32       ` cothrige
  0 siblings, 0 replies; 6+ messages in thread
From: cothrige @ 2005-07-08 15:32 UTC (permalink / raw
  To: gentoo-user

* Andreas Claesson (andreas.claesson@gmail.com) wrote:
> On 7/8/05, cothrige <cothrige@bellsouth.net> wrote:
> 
> Yes, USE-flags.
> 
> http://www.gentoo.org/doc/en/handbook/handbook-x86.xml?part=2&chap=2
> 
> To see which USE flags mplayer uses:
> 
> $ emerge -pv mplayer 
> 
> enable them by adding them to the global USE in '/etc/make.conf' 
> or add a line to '/etc/portage/package.use'. 
> See the portage man pages for more information:
> 
> $ man portage
> 
> /Andreas
> 

Ah yes.  I was just looking at use.desc and saw mmx.  When I did I
knew what I had done wrong.  I read through it carefully and enabled
all the flags which seemed to apply to MPlayer and now it works like a
dream.  I think perhaps a shade or two better than it had.  The only
strangeness is that it uses libdvdread and shows the output of
libdvdcss whereas my previous installs used the internal mplayer dvd
facilities.  Doesn't appear to affect the outcome any though, which is
fine by me.

What is interesting is that I was apparently overcomplicating things a
bit.  I just knew that there had to be some esoteric way to do these
things but in fact it was much more intuitive and simple than I
thought.  Many thanks to all for the help.

Patrick
-- 
gentoo-user@gentoo.org mailing list



^ permalink raw reply	[flat|nested] 6+ messages in thread

* Re: [gentoo-user] Slow mencoder after emerge?
  2005-07-08 11:53   ` cothrige
@ 2005-07-08 19:46     ` Andreas Claesson
  2005-07-08 15:32       ` cothrige
  0 siblings, 1 reply; 6+ messages in thread
From: Andreas Claesson @ 2005-07-08 19:46 UTC (permalink / raw
  To: gentoo-user

On 7/8/05, cothrige <cothrige@bellsouth.net> wrote:
> * Rumen Yotov (rumen_yotov@dir.bg) wrote:
> >
> > Hi,
> > Maybe rebuilding "mplayer" through portage will have the same result.
> > Think you could have a look at 'revdep-rebuild' (man revdep-rebuild).
> > HTH. Rumen
> 
> 
> Nope.  Didn't work.  But, I did notice that when I run it I get a
> string of "... supported but disabled." statements at the
> beginning. MMX, SSE, MMX2 and so on.  This causes me to wonder, is
> there a way to adjust the configure options in emerge?  ...

Yes, USE-flags.

http://www.gentoo.org/doc/en/handbook/handbook-x86.xml?part=2&chap=2

To see which USE flags mplayer uses:

$ emerge -pv mplayer 

enable them by adding them to the global USE in '/etc/make.conf' 
or add a line to '/etc/portage/package.use'. 
See the portage man pages for more information:

$ man portage

/Andreas

-- 
gentoo-user@gentoo.org mailing list



^ permalink raw reply	[flat|nested] 6+ messages in thread

end of thread, other threads:[~2005-07-08 20:36 UTC | newest]

Thread overview: 6+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2005-07-06 17:02 [gentoo-user] Slow mencoder after emerge? cothrige
2005-07-07  5:30 ` Rumen Yotov
2005-07-07 11:07   ` cothrige
2005-07-08 11:53   ` cothrige
2005-07-08 19:46     ` Andreas Claesson
2005-07-08 15:32       ` cothrige

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox