Reply
Thread Tools
Posts: 372 | Thanked: 9 times | Joined on Mar 2007
#11
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
 
Posts: 5,795 | Thanked: 3,151 times | Joined on Feb 2007 @ Agoura Hills Calif
#12
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.
 
Posts: 372 | Thanked: 9 times | Joined on Mar 2007
#13
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!
 
Posts: 59 | Thanked: 66 times | Joined on May 2007
#14
Sorry, the author of ogg-support package hasn't read this forum. You should've asked the mailing lists or post to garage.

Originally Posted by luketoh View Post
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.
 
Posts: 372 | Thanked: 9 times | Joined on Mar 2007
#15
thanks! so how does one use the 0.2 version of ogg-support? I thought kilikali has its own ogg support built-in?
 
Posts: 59 | Thanked: 66 times | Joined on May 2007
#16
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?
 
Posts: 3 | Thanked: 0 times | Joined on May 2007
#17
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?
 
Posts: 3 | Thanked: 0 times | Joined on May 2007
#18
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....
 
Posts: 59 | Thanked: 66 times | Joined on May 2007
#19
Originally Posted by mcrawler View Post
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
 
Posts: 59 | Thanked: 66 times | Joined on May 2007
#20
According to garage forums the Media Streamer doesn't support ogg either. I'm a bit surprised. I thought they all do automatically..
 
Reply


 
Forum Jump


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