Re: tremor (libivorbis) on mips
> I'll be back when they've implemented "--enable-tremor" in ffmpeg. :-) But this issue goes a lot further than ffmpeg. I'm using OpenWRT on my NAS specifically because OpenWRT uses tremor for its Ogg decoding whenever possible, which lets MPD run just fine (20-30% CPU on a 266MHz WL-700gE home router). On my ARM-based but FPU-less cell-phone, Debian's version of Navit is unusable, so I had to use a home-built version to avoid the use of floating point. Stefan ___ pkg-multimedia-maintainers mailing list pkg-multimedia-maintainers@lists.alioth.debian.org http://lists.alioth.debian.org/mailman/listinfo/pkg-multimedia-maintainers
Re: tremor (libivorbis) on mips
Thank you, Reinhard. I wanted to open the bug report for ffmpeg's libavcodec library, but when I searched for the correct parameters I had to realize that there's no "--enable-tremor" in ffmpeg. I was wrong. :-( mplayer and vlc both have such a parameter, but not ffmpeg. I must have confused them somehow... unfortunately my software (firefly media server) links against ffmpeg only. But at least the rockbox guys also have that problem with floating point on their players and already contacted the ffmpeg guys (http://www.mail-archive.com/rockbox-...@cool.haxx.se/msg07401.html). I think most of their devices come with arm processors, but that daniel.haxx.se guy also writes something about rockbox on mips (http://daniel.haxx.se/blog/2008/07/10/rockbox-on-the-onda-vx747/). I'll be back when they've implemented "--enable-tremor" in ffmpeg. :-) Thorsten ___ pkg-multimedia-maintainers mailing list pkg-multimedia-maintainers@lists.alioth.debian.org http://lists.alioth.debian.org/mailman/listinfo/pkg-multimedia-maintainers
Re: tremor (libivorbis) on mips
On Fri, Apr 23, 2010 at 14:32, Reinhard Tartler wrote: > On Thu, Apr 22, 2010 at 21:47:05 (CEST), Thorsten Hirsch wrote: >> decoding ogg on my mips based nas device is slower than real-time, so >> it's not really usable here. >> I've already done some research on this and I think the reason is that >> the mips cpu has no fpu, so floating point calculations are really >> slow. Unfortunately libogg is based on floating point calculations. >> But there's also an integer based version of libogg: tremor (or is it >> called libivorbis?). It's also available in ffmpeg (there's a >> configure parameter "--enable-tremor" or something like that) >> >> And here's my question to you: is it possible to use tremor-enabled >> packages on mips instead of the normal ones? Can you provide something >> like a ffmpeg (libavcodec) package on mips that depends on libivorbis >> instead of libvorbis? > > If the debian-mips porters confirm that there are FPU enabled mips > machines, or they are at least pretty uncommon, then I think we should > add this switch for mips only. CC'ing debian-mips for their feedback on > this. > >> I know I can compile everything myself, but I'd like to see a >> beautiful solution with debian packages. :-) > > indeed. Would you mind filing a bug against ffmpeg so that we don't look > track of this discussion? Please also X-Debbugs-CC: debian-mips. FWIW, on the RBTX4927, which has a 200 MHz TX4927 (with FPU), mpd uses ca 25% of the CPU while playing ogg files, in a Debian userland. Gr{oetje,eeting}s, Geert -- Geert Uytterhoeven -- There's lots of Linux beyond ia32 -- ge...@linux-m68k.org In personal conversations with technical people, I call myself a hacker. But when I'm talking to journalists I just say "programmer" or something like that. -- Linus Torvalds ___ pkg-multimedia-maintainers mailing list pkg-multimedia-maintainers@lists.alioth.debian.org http://lists.alioth.debian.org/mailman/listinfo/pkg-multimedia-maintainers
Re: tremor (libivorbis) on mips
--- On Fri, 4/23/10, Reinhard Tartler wrote: > From: Reinhard Tartler > (CEST), Thorsten Hirsch wrote: > > > decoding ogg on my mips based nas device is slower > than real-time, so > > it's not really usable here. > > I've already done some research on this and I think > the reason is that > > the mips cpu has no fpu, so floating point > calculations are really > > slow. Unfortunately libogg is based on floating point > calculations. > > But there's also an integer based version of libogg: > tremor (or is it > > called libivorbis?). It's also available in ffmpeg > (there's a > > configure parameter "--enable-tremor" or something > like that) > > > > And here's my question to you: is it possible to use > tremor-enabled > > packages on mips instead of the normal ones? Can you > provide something > > like a ffmpeg (libavcodec) package on mips that > depends on libivorbis > > instead of libvorbis? > > If the debian-mips porters confirm that there are FPU > enabled mips > machines, or they are at least pretty uncommon, then I > think we should > add this switch for mips only. CC'ing debian-mips for their > feedback on > this. Here's the deal. The mips port covers desktop mips systems such as SGI's and embedded mips devices such as PDA's. Desktop mips chips have decent floating point units, while embedded mips chips traditionally have not. Traditionally, the desktop mips have usually run big endian, and the embedded have usually been little endian. (I did say "usually".) The mips port has been divided into separate mips and mipsel builds. Thus you may be able to accomplish such a change without offending too many people by targeting mipsel for either the fast integer library, or possibly using -msoft-float as a general build-option for the media libaries. (The -msoft-float flag causes gcc to emit emulation code in the binary itself, thus avoiding the costly overhead of the kernel emulation for the missing FPU.) The newer embedded mips chips sometimes do have traditional FPU, or more likely some flavor of SIMD. I'm not aware for general, widespread support for the mips SIMD that is out there yet, but it may happen thanks to the wide spread demand for embedded multi-media devices. Cheers, -S- ___ pkg-multimedia-maintainers mailing list pkg-multimedia-maintainers@lists.alioth.debian.org http://lists.alioth.debian.org/mailman/listinfo/pkg-multimedia-maintainers
Re: tremor (libivorbis) on mips
On Thu, Apr 22, 2010 at 21:47:05 (CEST), Thorsten Hirsch wrote: > Hi, > > decoding ogg on my mips based nas device is slower than real-time, so > it's not really usable here. > I've already done some research on this and I think the reason is that > the mips cpu has no fpu, so floating point calculations are really > slow. Unfortunately libogg is based on floating point calculations. > But there's also an integer based version of libogg: tremor (or is it > called libivorbis?). It's also available in ffmpeg (there's a > configure parameter "--enable-tremor" or something like that) > > And here's my question to you: is it possible to use tremor-enabled > packages on mips instead of the normal ones? Can you provide something > like a ffmpeg (libavcodec) package on mips that depends on libivorbis > instead of libvorbis? If the debian-mips porters confirm that there are FPU enabled mips machines, or they are at least pretty uncommon, then I think we should add this switch for mips only. CC'ing debian-mips for their feedback on this. > I know I can compile everything myself, but I'd like to see a > beautiful solution with debian packages. :-) indeed. Would you mind filing a bug against ffmpeg so that we don't look track of this discussion? Please also X-Debbugs-CC: debian-mips. -- Gruesse/greetings, Reinhard Tartler, KeyID 945348A4 ___ pkg-multimedia-maintainers mailing list pkg-multimedia-maintainers@lists.alioth.debian.org http://lists.alioth.debian.org/mailman/listinfo/pkg-multimedia-maintainers
tremor (libivorbis) on mips
Hi, decoding ogg on my mips based nas device is slower than real-time, so it's not really usable here. I've already done some research on this and I think the reason is that the mips cpu has no fpu, so floating point calculations are really slow. Unfortunately libogg is based on floating point calculations. But there's also an integer based version of libogg: tremor (or is it called libivorbis?). It's also available in ffmpeg (there's a configure parameter "--enable-tremor" or something like that) And here's my question to you: is it possible to use tremor-enabled packages on mips instead of the normal ones? Can you provide something like a ffmpeg (libavcodec) package on mips that depends on libivorbis instead of libvorbis? I know I can compile everything myself, but I'd like to see a beautiful solution with debian packages. :-) Thorsten ___ pkg-multimedia-maintainers mailing list pkg-multimedia-maintainers@lists.alioth.debian.org http://lists.alioth.debian.org/mailman/listinfo/pkg-multimedia-maintainers