maemo.org - Talk

maemo.org - Talk (https://talk.maemo.org/index.php)
-   Nokia N800 (https://talk.maemo.org/forumdisplay.php?f=25)
-   -   Ogg-Vorbis support? (https://talk.maemo.org/showthread.php?t=8547)

daihard 2007-08-07 01:00

Ogg-Vorbis support?
 
Hi.

I am wondering if there's any way to add Ogg-Vorbis (.ogg) support to the built-in Media Player?

Most of my music files are in MP3, but I also have a small collection of OGG files that I'd like to be able to listen to on my N800.

Honestly, I find it ridiculous that the Linux-based N800 does not support Ogg-Vorbis. If nothing can be done about it now, I at least hope the next version of the OS will be capable of handling OGG file.

TIA,
Dai

skorianez 2007-08-07 01:26

Re: Ogg-Vorbis support?
 
I agree with you

Tragos 2007-08-07 08:09

Re: Ogg-Vorbis support?
 
This should do the trick for N800: http://ogg.garage.maemo.org/

I have a 770, so I don't know if it really works. On my 770 I use Mogg: https://garage.maemo.org/projects/mogg/

fredoll 2007-08-07 08:21

Re: Ogg-Vorbis support?
 
You can add ogg support to the system but the media player won't list the .ogg files ...

Tragos 2007-08-07 13:41

Re: Ogg-Vorbis support?
 
Quote:

Originally Posted by fredoll (Post 66165)
You can add ogg support to the system but the media player won't list the .ogg files ...

... so you have to add them to a playlist file manually. I run every now and then this in Xterm:

find /media/mmc1/Music|grep -i "[mp3\|ogg]$" > /home/user/MyDocs/.sounds/mp3.m3u



EDIT: OK, actually I do this using a shell script. And I find it stupid of Nokia that oggs are not supported by default.

earl00 2007-08-07 16:27

Re: Ogg-Vorbis support?
 
umm... I have a GUI ogg music player for 770/n800 installed.

http://kilikali.garage.maemo.org/

markku 2007-08-07 16:47

Re: Ogg-Vorbis support?
 
Quote:

Originally Posted by earl00 (Post 66236)
umm... I have a GUI ogg music player for 770/n800 installed.

http://kilikali.garage.maemo.org/

Kilikali works fine with oggs and with Mediatomb you can stream your oggs from pc to N800 very easy. I think the ogg-vorbis is poorly known, I started using it when I started to use Kubuntu. It is better than MP3 but there's not enough support for it. But my choice is Kilikali and I don't need at this moment another application to run oggs in N800. Try it!

Karel Jansens 2007-08-07 18:22

Re: Ogg-Vorbis support?
 
I've been told that the Ogg-Vorbis format is less battery-friendly than MP3, because its higher compression format makes the CPU work harder.

I wonder if that's offset sufficiently by shorter read times?

TA-t3 2007-08-07 18:54

Re: Ogg-Vorbis support?
 
Isn't the real problem that MP3 is handled in the DSP on the N800 while the Ogg-Vorbis (currently) has to be done on the CPU? At least that's how I remember it (although from 770-threads 9 months or so ago)

daihard 2007-08-07 21:40

Re: Ogg-Vorbis support?
 
Thanks guys! I will try Kilikali shortly.

Quote:

Originally Posted by Karel Jansens (Post 66279)
I've been told that the Ogg-Vorbis format is less battery-friendly than MP3, because its higher compression format makes the CPU work harder.

I wonder if that's offset sufficiently by shorter read times?

I wasn't aware of issues like that with Ogg-Vorbis compression. OTOH, Ogg-Vorbis does yield smaller file size than MP3 to retain the same sound quality so like Karel says it should be a positive factor in reducing power consumption... at least as far as I can see.

daihard 2007-08-07 21:41

Re: Ogg-Vorbis support?
 
Quote:

Originally Posted by TA-t3 (Post 66295)
Isn't the real problem that MP3 is handled in the DSP on the N800 while the Ogg-Vorbis (currently) has to be done on the CPU? At least that's how I remember it (although from 770-threads 9 months or so ago)

Hi

Would you be kind enough to elaborate on that? Is a DSP some sort of an onboard processor for MP3?

fanoush 2007-08-07 22:20

Re: Ogg-Vorbis support?
 
Quote:

Originally Posted by daihard (Post 66356)
Is a DSP some sort of an onboard processor for MP3?

Yes. Google for OMAP 1710 (used in N770) or 2420 (N800). There is C55x DSP CPU together with ARM CPU. MP3 decoding runs on DSP.

Lithorus 2007-08-07 22:38

Re: Ogg-Vorbis support?
 
I also believe that the stock vorbis library makes use of alot of floating point operations which is harder to do for the ARM types. I think I saw an eariler effort to make an ARM version of the library some time ago.

daihard 2007-08-08 03:25

Re: Ogg-Vorbis support?
 
Quote:

Originally Posted by fanoush (Post 66362)
Yes. Google for OMAP 1710 (used in N770) or 2420 (N800). There is C55x DSP CPU together with ARM CPU. MP3 decoding runs on DSP.

Thanks! You guys sure know a lot. I'm really impressed with the quality of the posts made in this forum. :)

ArnimS 2007-08-08 03:44

Re: Ogg-Vorbis support?
 
As a business decision i can understand nokia not paying for developing ogg playback in the DSP.

As a proponent of open standards and open source software I find this a sad state of affairs. Ogg is superior to mp3 and patent-free, however the mp3 patent holders keep making vague threats about prosecution against ogg implementations. This scares some companies away. Perhaps nokia too.

This is a crying shame because many games use ogg music. There is a fast ogg decoder (libvorbisidec, also called the 'tremor' library), but it sucks about 10-12% cpu.

To get music playback without the performance penalty i have to convert ogg to mp3 and host the data for the games. What a waste.

I know of one guy who would be interested in implementing ogg playback on the DSP processor, but he's being hampered by lack of access to kernel headers for the dsp. Please support the cause and request dsp accelerated ogg-vorbis playback in the next nokia tablet.

Cheers

ssam 2007-08-08 12:06

Re: Ogg-Vorbis support?
 
subscribe yourslef to the bug report https://bugs.maemo.org/show_bug.cgi?id=1035 the more people do, the more nokia will know how much it is wanted.

(another alternative is to file a new bug about it, then the nokia devs have to mark it as a dupe of the first one)

update:
just noticed that the maemo bugzilla has voting enabled, so you can add a vote to the bug

Texrat 2007-08-08 12:52

Re: Ogg-Vorbis support?
 
The tablet software folks do care about Ogg.

lancewex 2007-08-08 14:04

Re: Ogg-Vorbis support?
 
I sure wish that OGG was better supported. I have an iAudio X5L that holds close to 30GB of OGGs. That player is ugly but functionally amazing. So I am firmly entrenched in OGG. People need to realize that OGG is better and free. What's not to love?

daihard 2007-08-08 17:43

Re: Ogg-Vorbis support?
 
Quote:

Originally Posted by Texrat (Post 66552)
The tablet software folks do care about Ogg.

I am sure they do. I just wish there was a simple solution to the issue. :(

daihard 2007-08-08 17:47

Re: Ogg-Vorbis support?
 
Quote:

Originally Posted by ssam (Post 66523)
subscribe yourslef to the bug report https://bugs.maemo.org/show_bug.cgi?id=1035 the more people do, the more nokia will know how much it is wanted.

(another alternative is to file a new bug about it, then the nokia devs have to mark it as a dupe of the first one)

update:
just noticed that the maemo bugzilla has voting enabled, so you can add a vote to the bug

Thanks! I just created an account there and added my comment to the specific bug.

Rtalian 2007-08-08 18:04

Re: Ogg-Vorbis support?
 
I voted.

I've voiced this opinion before. It's good to see a thread with the same strong sentiment. I wish OGG support would be better implemented. It does work with some software, but the implementation is spotty. UKMP, for example, is able to play them (once you have the ogg-support package installed), but it doesn't handle the tags yet. I tried to modify it, since ID3.py (which is what UKMP uses for ID3 tags) supposedly supports OGG tags, but I couldn't get it to work. Can anyone else make an attempt? If we can get it working, maybe konttori will add it to his official package. Since UKMP doesn't handle the OGG tags, they aren't listed properly like MP3s are.

Anyway, any Linux-based device that can play any audio should have OGG support built-in and easily accessible to any other audio software. Even though the DSP doesn't support it, the software-only implementation works fine for playing the files. It should just be built-in and better supported.


All times are GMT. The time now is 14:53.

vBulletin® Version 3.8.8