maemo.org - Talk

maemo.org - Talk (https://talk.maemo.org/index.php)
-   Multimedia (https://talk.maemo.org/forumdisplay.php?f=32)
-   -   Mediaplayer and ogg support problem on n900 (https://talk.maemo.org/showthread.php?t=35457)

pansper 2009-11-30 09:55

Mediaplayer and ogg support problem on n900
 
Hi, I installed ogg support to my n900, and loaded an album (.oga) to music folder. Mediaplayer doesn't show it there and is not playing it.

However when I browse the album through files and select a song from the album mediaplayer is playing it nicely.

Is there a way to make an ogg-album 'visible' to mediaplayer so I could play them directly from it?

Wouldn't really like to transform my oggs to mp3...

Cheers.

Tomaszd 2009-11-30 10:04

Re: Mediaplayer and ogg support problem on n900
 
From the source of ogg-support I can see that it simply does not register the mimetype audio/ogg. You can report this as a bug here.

pycage 2009-11-30 10:45

Re: Mediaplayer and ogg support problem on n900
 
Rebooting the device may help. I see no problems with Ogg in the media player on my N900. But the extension of my Oggs is .ogg, not .oga, if that makes a difference.

pansper 2009-11-30 11:08

Re: Mediaplayer and ogg support problem on n900
 
Quote:

Originally Posted by pycage (Post 400389)
Rebooting the device may help. I see no problems with Ogg in the media player on my N900. But the extension of my Oggs is .ogg, not .oga, if that makes a difference.

Thanks, the extension was the problem. I renamed the songs from .oga to .ogg and everything is cool now.

I'm wondering if I should still report a bug, because my rythmbox seems to rip my cds to Ogg with oga extension, and .oga recognition would be handy...? But maybe that's not necessary...

Thanks and cheers :)

zaheerm 2009-11-30 11:10

Re: Mediaplayer and ogg support problem on n900
 
Quote:

Originally Posted by Tomaszd (Post 400348)
From the source of ogg-support I can see that it simply does not register the mimetype audio/ogg. You can report this as a bug here.

It only needs to register application/ogg as that is what the gstreamer typefinder will typefind it as.

Tomaszd 2009-11-30 12:13

Re: Mediaplayer and ogg support problem on n900
 
Quote:

Originally Posted by zaheerm (Post 400421)
It only needs to register application/ogg as that is what the gstreamer typefinder will typefind it as.

But it doesn't find *.oga files, which is the recommended filetype for Vorbis audio files. The *.ogg container will be replaced with *.ogx AFAIK: http://wiki.xiph.org/MIME_Types_and_..._-_audio.2Fogg

zerojay 2009-11-30 12:20

Re: Mediaplayer and ogg support problem on n900
 
And they wonder why no one uses OGG for music.

zaheerm 2009-11-30 12:34

Re: Mediaplayer and ogg support problem on n900
 
Quote:

Originally Posted by Tomaszd (Post 400486)
But it doesn't find *.oga files, which is the recommended filetype for Vorbis audio files. The *.ogg container will be replaced with *.ogx AFAIK: http://wiki.xiph.org/MIME_Types_and_..._-_audio.2Fogg

Yes, so I think you are right.

kat_ams 2009-12-22 01:13

Re: Mediaplayer and ogg support problem on n900
 
Quote:

Originally Posted by zerojay (Post 400492)
And they wonder why no one uses OGG for music.

what a strange comment. XIPH is just following the same standard as the MP4 format and the WM format

M4A, audio only
M4B, audio books
M4V, video
MP4, container

WMA, audio
WMV; video

OGA, audio
OGG, container
OGV, video

jerryfreak 2009-12-22 03:12

Re: Mediaplayer and ogg support problem on n900
 
wow ive been using ogg for years on all types of devices and have never ever heard of .oga or .ogv

joshgillies 2010-10-25 02:43

Re: Mediaplayer and ogg support problem on n900
 
Has there been any movement on this front? I've managed to dig up the bug tracker entry for this https://bugs.maemo.org/show_bug.cgi?id=6456 but am yet to see it resolved.

I'd prefer not to keep two copies of my music collection in both *.ogg for the n900 and *.oga for my PC.

jacktanner 2010-10-26 00:54

Re: Mediaplayer and ogg support problem on n900
 
Here's a work-around: after you copy the *.oga files to your N900, open the X-terminal and run something like this to rename all *.oga files to *.ogg.

# UNTESTED

find / -name "*.oga" -exec rename .oga .ogg '{}' \;

joshgillies 2010-10-26 04:17

Re: Mediaplayer and ogg support problem on n900
 
jacktanner, thanks for the reply!

This much I was aware of, and in the past I had used a similar method to rename all my music files from .oga to .ogg.

I just wish it wasn't an issue. I am yet to dig into the source - but imagine it wouldn't be too difficult to add support for one additional file format. Right?

mzanetti 2010-10-27 11:23

Re: Mediaplayer and ogg support problem on n900
 
hi!

while installing ogg-spport I noticed that it calls this:
Code:

tracker-update-ontology -c Music -a audio/x-vorbis+ogg -a audio/x-flac+ogg -a audio/x-flac -a application/ogg
I guess it should be sufficient to call something like this to enable oga support
Code:

tracker-update-ontology -c Music -a audio/x-vorbis+oga -a audio/x-flac+oga -a audio/x-flac -a application/oga
I have not tested it though as all my software rips ogg as ogg...

good luck


Btw: for everyone whose ogg support is broken by the PR 1.3 update. just reinstall ogg-support via apt-get or call the above comman to re-register ogg support in media player. reinstalling ogg-support through the app manager might not work due to other programs depending on ogg-support.

eagle_linux 2010-10-29 11:18

Re: Mediaplayer and ogg support problem on n900
 
Thanks for this post, that solved my media player problem I had since PR1.3. Now I finally see my ogg files again :D

zimon 2010-12-22 02:51

Re: Mediaplayer and ogg support problem on n900
 
bash: tracker-update-ontology: command not found

btw, is Vorbis support in N900 DSP-accelerated as AAC- and MP3-decoders are?

Any way to check this somehow on system, trace calls to dspbridge or so?

vinc17 2010-12-22 21:01

Re: Mediaplayer and ogg support problem on n900
 
Quote:

Originally Posted by zimon (Post 901762)
bash: tracker-update-ontology: command not found

The message from /usr/bin/tracker-register-mimetype is buggy: the command is update-tracker-ontology, not tracker-update-ontology. On my N900, update-tracker-ontology crashes, but the real problem seems to come from the tracker-files utility, which has a ridiculous limit of 512 files (though I didn't have any such problem before the PR1.3 upgrade). See my comment 6 in bug 11511.

Wikiwide 2015-10-30 05:44

Re: Mediaplayer and ogg support problem on n900
 
Thank you. Reinstalling ogg-support fixed the issue of not-seeing ogg and flac files - which I got after messing with media art.


All times are GMT. The time now is 09:49.

vBulletin® Version 3.8.8