maemo.org - Talk

maemo.org - Talk (https://talk.maemo.org/index.php)
-   Nokia N800 (https://talk.maemo.org/forumdisplay.php?f=25)
-   -   OGG Music support on N800 (https://talk.maemo.org/showthread.php?t=6075)

luketoh 2007-04-30 00:45

OGG Music support on N800
 
I just got news of this

https://garage.maemo.org/projects/ogg/

Have not tried it myself. If you have, let us know how it goes....



Luke

tjb 2007-04-30 15:20

Re: OGG Music support on N800
 
I tried it and after rebooting, the metalayer-crawler pinned the cpu and ran forever, draining the battery. I'm curious if anyone else has had any luck with it.

peterjb31 2007-05-03 07:22

Re: OGG Music support on N800
 
I installed this but then after doing a reboot it still doesn't play the files. I don't think it is installing the gstreamer plugins properly.

Has anyone got this to work? Are there any special steps?

luketoh 2007-05-03 09:24

Re: OGG Music support on N800
 
Hmm...mine cannot even recognise the OGG file as a legitimate file that media player can play.

itkach 2007-05-03 14:01

Re: OGG Music support on N800
 
Doesn't work for me. When I try to open ogg files from file managers it asks me to choose application to open the file with (it seems MIME types are added for ogg, but no app is associated with it), I choose media player, it comes up and then nothing happens.

peterjb31 2007-05-03 15:04

Re: OGG Music support on N800
 
Quote:

Originally Posted by itkach (Post 46972)
Doesn't work for me. When I try to open ogg files from file managers it asks me to choose application to open the file with (it seems MIME types are added for ogg, but no app is associated with it), I choose media player, it comes up and then nothing happens.

Exactly same here - this is what I meant to say - I don't think its installing some of the gstreamer libraries

tjb 2007-05-03 15:23

Re: OGG Music support on N800
 
After wiping my n800 and starting from scratch, I'm in the same boat as #5 and #6. The metalayer-crawler ran for a while but didn't get stuck like last time and the oggs are seen as movie files instead of music files in the file manager.

geneven 2007-05-03 16:43

Re: OGG Music support on N800
 
It seems to work for me. I didn't do anything special, just did the one-click install.

tjb 2007-05-03 19:50

Re: OGG Music support on N800
 
What do your ogg files show up as under details in the file manager? Mine are application/ogg while my mp3 files are audio/x-mp3. The metallayer-crawler doesn't find my oggs and media player won't play them when specified. Do you name them .ogg?

geneven 2007-05-03 22:54

Re: OGG Music support on N800
 
My ogg files show up as application/ogg as well. They end in .ogg. I get them from the librivox site, fwiw. Also, fwiw, I can play them with mplayer, but not media player. But the main thing I use, of course, is the Ogg Vorbis player.

luketoh 2007-05-04 00:55

Re: OGG Music support on N800
 
ahh! MPlayer places OGG files even without installing that ogg support. No wonder yours works. This ogg fupport is that you installed is supposed to play ogg files in Media Player!

heh

geneven 2007-05-04 01:04

Re: OGG Music support on N800
 
Makes sense. Mplayer doesn't do a good job; I had to reboot to get it to stop playing once it started. No problem with the Ogg Vorbis player, thouugh.

luketoh 2007-05-19 02:42

Re: OGG Music support on N800
 
0.2 OGG support is out, BUT....still can't get the built-in media player to play the OGG files! I really don't understand what the author is trying to achieve here...it doesn't work!

kulve 2007-05-24 04:35

Re: OGG Music support on N800
 
Sorry, the author of ogg-support package hasn't read this forum. You should've asked the mailing lists or post to garage.

Quote:

Originally Posted by luketoh (Post 49090)
0.2 OGG support is out, BUT....still can't get the built-in media player to play the OGG files! I really don't understand what the author is trying to achieve here...it doesn't work!

That packages adds the ogg-support (including mime types, icons, codecs and gst plugins) to system. It's not my fault that the built-in player doesn't know how to use all the codecs installed to the system. I really haven't even tried the built-in player, since I don't like the UI logic. That's why we made our own player, kilikali.

But since there has been questions about this, I can try to find out.

luketoh 2007-05-24 17:38

Re: OGG Music support on N800
 
thanks! so how does one use the 0.2 version of ogg-support? I thought kilikali has its own ogg support built-in?

kulve 2007-05-24 17:48

Re: OGG Music support on N800
 
ogg-support adds ogg codec to gstreamer framework. So all apps that uses gstreamer without any hardcoding can use the ogg codecs. Kilikali have a hardcoded gstreamer ogg pipeline, so it can use ogg-support package if installed. Without ogg-support, kilikali won't play oggs.

I tried to get the built-in media player to work with oggs, but I didn't manage to get it working. It has some codec settings in gconf, but adding ogg there didn't seem to do anything.

I'm not sure if e.g. canola will work with the ogg-support? Or the UPNP mediastreamer player?

mcrawler 2007-05-26 20:03

Re: OGG Music support on N800
 
I've done some investigation (but not succeded yet ;) ) maybe someone could add more info to complete it?...

now line gst-launch-0.10 filesrc location=/media/mmc2/AUDIO/01\ -\ mister\ sandman.ogg ! tremor ! dsppcmsink plays file, while mediaplayer does not.

To let mediaplayer start upon tapping ogg file you need to add new mime type ('application/ogg' in case of kulve's ogg-support package) to /etc/gconf/schemas/osso_media_server.schemas and run update-desktop-database.

To make mediaplayer rebuild songs database it's needed to add more mime types to /etc/gconf/gconf.xml.defaults/apps/osso/osso_media_server/audio/%gconf.xml
(I added <entry name="application_ogg" mtime="1173281303" schema="/schemas/apps/osso/osso_media_server/audio/application_ogg"/> here).

Next looks like /etc/gconf/gconf.xml.defaults/schemas/apps/osso/osso_media_server/audio/%gconf.xml defines gstreamer pipelines. I hoped that section like
<entry name="application_ogg" mtime="1173281303" type="schema" stype="list" owner="osso_media_server" list_type="string">
<local_schema locale="C">
<default type="list" ltype="string">
<li type="string">
<stringvalue>application/ogg</stringvalue>
</li>
<li type="string">
<stringvalue>tremor</stringvalue>
</li>
<li type="string">
<stringvalue>dsppcmsink</stringvalue>
</li>
</default>
</local_schema>
</entry>
should fix the situation, but it didn't do it :(

Next I found that /etc/gconf/schemas/osso_media_server.schemas defines some pipiline-like strings I added
<schema>
<key>/schemas/apps/osso/osso_media_server/audio/application_ogg</key>
<applyto>/apps/osso/osso_media_server/audio/application_ogg</applyto>
<owner>osso_media_server</owner>
<type>list</type>
<list_type>string</list_type>
<default>[application/ogg,tremor,dsppcmsink]</default>
<locale name="C">
</locale>
</schema>
there, but again no luck :(

(I even rebooted between updates, but it desn't change the situation)

Also there're files to define audio demuxer's -- but suppose with tremor we don't need to do it...

Maybe someone could spot mistakes?

mcrawler 2007-05-26 20:30

Re: OGG Music support on N800
 
And about Canola :) again bad luck:
I've added ogg extension with canola-conf-set_extensions_audio.sh and mimetype with canola-conf-set_mimetypes_audio.sh -- but Canola says 'Error' while trying to play ogg file...
Although Canola's authors said that these configuiration options are for future iirc....

kulve 2007-05-27 04:38

Re: OGG Music support on N800
 
Quote:

Originally Posted by mcrawler (Post 49854)
Also there're files to define audio demuxer's -- but suppose with tremor we don't need to do it...

If you want to use the demuxer, you can try something like this:

gst-launch-0.10 filersrc location=file.ogg ! oggdemux ! ivorbisdec ! dsppcmsink

kulve 2007-05-27 05:12

Re: OGG Music support on N800
 
According to garage forums the Media Streamer doesn't support ogg either. I'm a bit surprised. I thought they all do automatically..

mcrawler 2007-05-28 14:01

Re: OGG Music support on N800
 
Quote:

Originally Posted by kulve (Post 49875)
If you want to use the demuxer, you can try something like this:

gst-launch-0.10 filersrc location=file.ogg ! oggdemux ! ivorbisdec ! dsppcmsink

Yeah, i rememeber it.
Tested -- by editing /etc/gconf/gconf.xml.defaults/apps/osso/osso_media_server/demux_audio/%gconf.xml , /etc/gconf/gconf.xml.defaults/schemas/apps/osso/osso_media_server/demux_audio/%gconf.xml
and (of course) /etc/gconf/schemas/osso_media_server.schemas

files but bad luck again :) seems like it's easier to craete some script using TCL to play any (sound) files using gstreamer then try to teach mediaplayer to understand new pipelines :(

(i know about light kilikali , but i miss big buttons there >-) )

BTW, if you're going to edit mentioned files please edit them in pairs -- .../apps/osso/osso_media_server/audio/%gconf.xml + .../schemas/apps/osso/osso_media_server/audio/%gconf.xml otherwise in some cases device will keep constantly rebooting just after every reload. So I reflashed device after such thing ;) and now have two copies of OS installed...

kulve 2007-05-28 19:22

Re: OGG Music support on N800
 
Quote:

Originally Posted by mcrawler (Post 49939)
(i know about light kilikali , but i miss big buttons there >-) )

Report feature requests to garage :)

LordFu 2007-05-29 04:04

Re: OGG Music support on N800
 
Is it possible to add directories to the playlist? If it is, I haven't figured it out. Nice player. I run Ubuntu on my desktop, so most of my music is ogg.

kulve 2007-05-29 04:23

Re: OGG Music support on N800
 
Quote:

Originally Posted by LordFu (Post 49987)
Is it possible to add directories to the playlist?

If we are talking about kilikali, then yes. You can add songs only by whole directories. On exit the current playlist is saved and it's loaded in the startup. There are also load and save playlist options in the menu.

PowerUser 2007-05-29 13:48

Re: OGG Music support on N800
 
Small offtopic: can I play MOD, S3M, IT, XM files?Tracker music.Maemo site contains support for these but it fails to install on my n800 complaining in installer log that this will overwrite existing gstreamer library.This library from "bad" gstreamer plugins seems to provide MOD, XM, etc playback(this called libmodplug IIRC).But how can I play these files?And did I mentioned it would be great to play them in Kilikali? :D.Right now kilikali does nothing when I'm selecting such files...

kulve 2007-05-29 13:55

Re: OGG Music support on N800
 
Quote:

Originally Posted by PowerUser (Post 50022)
And did I mentioned it would be great to play them in Kilikali? :D

Make a feature request ;)

Kilikali trunk plays sids. But I don't have a clue if that relates in any way to the tracker formats you asked for..

HiVoltage 2007-05-31 08:03

Re: OGG Music support on N800
 
Continuing with the Ogg support, but slightly off-topic. It would be nice if somehow, the built-in media player somehow supports .asx which contain .asf, which in turn contain wma because of some internet radios. Mplayer can already play asf files.. it sucks too much CPU cycles and sometimes the sound jitters, but well.. it works. However, it's too much work having to get the URL and paste it in mplayer. What I like most in Nokia's media player is the Internet radio applet, otherwise it's a piece of crap. Maybe all we need after all is some software like Kilikali that also supports Internet radio and has a desktop applet just like the one in nokia's player ;)

kulve 2007-05-31 08:10

Re: OGG Music support on N800
 
Quote:

Originally Posted by HiVoltage (Post 50329)
Maybe all we need after all is some software like Kilikali that also supports Internet radio and has a desktop applet just like the one in nokia's player ;)

We actually had a talk about this and decided that home applet would be useless. We did, however, think that a status bar plugin would be more useful.

HiVoltage 2007-05-31 09:55

Re: OGG Music support on N800
 
Well, personally I see the status bar as already too crowded. Maybe offering both options would be great... or maybe I'm asking for too much.

debernardis 2007-06-01 05:51

Re: OGG Music support on N800
 
It would be nice if kilikali included shuffle (random) play.

piku 2007-06-01 10:27

Re: OGG Music support on N800
 
Couldn't the developers of all these music players share their code and ideas, rather than making three different players, each with their own subtly different features?

Canola is excellent, but can't play OGG. UKMP is also really good, I like the navigation but I don't think it'd be as easy to use in a car. Kilikali has none of these features, but it does play OGG files.

Or maybe I'm just alone in wanting my N800 to play OGG files in my car, with a decent interface that doesn't require the stylus?

PowerUser 2007-06-05 16:01

Re: OGG Music support on N800
 
> Couldn't the developers of all these music players share their code and ideas
As for me, I'm preferring Kilikali.It is small, easy and does what it intended to do.And it is open compared to Canola and does not depends on Python compared to UKMP (which is quite fat: 2.5Mb to download and ?? Mb in device memory).The only thing is that UI can be a bit tweaked so it is possible to use fingers easily without clicking buttons by stylus.So thanks but I'm personally do not want to see Kilikali as yet another bloated thing with overcomplex conceptions like libraries or whatever.It is simple and it's good.There is no universal things in this world :).However I wonder why other players can't use OGG codecs as well.This is ... er, strange.

kulve 2007-06-07 04:36

Re: OGG Music support on N800
 
Quote:

Originally Posted by piku (Post 50553)
Canola is excellent, but can't play OGG. UKMP is also really good, I like the navigation but I don't think it'd be as easy to use in a car.


http://konttoristhoughts.blogspot.co...6/ukmp-11.html

kulve 2007-06-10 09:44

Re: OGG Music support on N800
 
Quote:

Originally Posted by mcrawler (Post 49850)
Maybe someone could spot mistakes?


http://maemo.org/pipermail/maemo-dev...ne/010512.html

piku 2007-06-10 18:18

Re: OGG Music support on N800
 
Quote:

Originally Posted by kulve (Post 51376)

yeah :) I just noticed. Will try it later when i get home. Away at the moment and my N800 only has mp3s on it.


All times are GMT. The time now is 12:22.

vBulletin® Version 3.8.8