Opened 9 years ago

Closed 9 years ago

#437 closed enhancement (fixed)

mplayer with tremor support

Reported by: toaster Owned by: spaetz
Priority: major Milestone:
Component: Package requests Version: SHR-unstable
Keywords: mplayer ogg Cc:


Along with #415, could mplayer be compiled with tremor (integer ogg decoder) support? It has a very large effect in decreasing cpu load whilst playing ogg file.

I'll try to dig up the details soon.

Change History (6)

comment:1 Changed 9 years ago by TAsn

Sounds like a good idea, especially since both GTA01 and GTA02 handle floating point operations badly.
Though I think we need more info about tremor, mind providing? A link maybe? ;]


comment:2 Changed 9 years ago by dos

  • Component changed from SHR buildhost to package requests
  • Owner changed from ainulindale to spaetz

comment:3 Changed 9 years ago by spaetz

Sure :). Can you please provide me with pointer as to what needs to be done in order to compile it with tremor?

comment:4 Changed 9 years ago by toaster

I'm trying to contact PaulTT, the person who originally compiled the version I have, to get the datails as to what he did, without luck.

As soon as find out any info either from him, others, or Google, I'll post it here. Sadly my knowledge of compiling apps is quite poor.

comment:5 Changed 9 years ago by jama

There is internal version of tremor in mplayer source base.
From trunk/tremor/Files:
The code is a mixture of Tremor SVN Trunk r3989 (API, parser, part of math
code) and December 2004 Trunk fetched from's Subversion
(mostly math).

I tried to build with 2 external tremor libs directly from xiph repo
updated recipes/tremor/
SRC_URI = "svn://;module=Tremor;proto=http"
new recipes/tremor/
SRC_URI = "svn://;module=Tremor;proto=http"

internal-tremor is enabled by default and prefered over external, so to build mplayer against external you need to disable it in EXTRA_OECONF

--disable-tremor-internal disable internal Tremor [enabled]
--enable-tremor-low enable lower accuracy internal Tremor [disabled]
--enable-tremor enable external Tremor [autodetect]

When measured cpu time with time mplayer some.ogg it looks quite the same for internal and both external tremors (latest revisions of tremor/mplayer aren't compatible with each other).

Difference of PaulTT's build is imho just because he disabled libogg decoder so tremor is used everytime and OE/SHR builds have both decoders enabled and user has to choose tremor in ~/.mplayer/config or with -ac.

I'll open new ticket for mplayer glamo support.

comment:6 Changed 9 years ago by dos

  • Resolution set to fixed
  • Status changed from new to closed

Upgrade! :)

Note: See TracTickets for help on using tickets.