maemo.org - Talk

maemo.org - Talk (https://talk.maemo.org/index.php)
-   Multimedia (https://talk.maemo.org/forumdisplay.php?f=32)
-   -   [Canola] Canola and OGG support (https://talk.maemo.org/showthread.php?t=13668)

markku 2008-04-09 10:46

Re: Canola and OGG support
 
I did get oggs working in my N810 with these instructions. Not very easy but working solution anyway. I've been waiting this support for Canola2 and now I'm very happy Canola user. Thanks for the Canola team, keep up the good work!

handful 2008-04-09 12:46

Re: Canola and OGG support
 
Markku: once the packages from the ogg support are in the maemo extras we will be able to simplify this a lot!

Cheers

marcelo

piku 2008-04-10 20:33

Re: Canola and OGG support
 
Until all the repos are sorted, could you update the Canola page (http://openbossa.indt.org/canola/using.html) to point to the relevant part of this thread? The current method on there doesn't work and is a bit confusing.

I had to re-flash my N800 after a slight accident in the terminal (hint: typing 'apt-get upgrade' and tapping 'Y' is not a good idea!), and it was by pure chance I found this thread while trying to make OGG support work.

PS: Thanks for stopping me from having to buy an iPod ;)

piku 2008-04-10 21:11

Re: Canola and OGG support
 
Hmm... here's a slightly irritating "feature"...

Canola playing MP3s works fine. Canola playing OGGs stops playing after every track, requiring me to manually press "next track" to hear more music.

This is a fresh install of OS2008, Canola and the OGG libraries.

handful 2008-04-10 21:40

Re: Canola and OGG support
 
Piku : you need to give us more information :

run canola -vvv on xterm.. try pressing the next button and send us what's on the terminal.

Maybe a bug, and we can fix it

Thanks!

Marcelo

piku 2008-04-11 16:22

Re: Canola and OGG support
 
OK, here's some output from running Canola from the console. I don't know how much of this you want. If you need stuff before this, just ask

Code:

1207933815.7537 DEBUG manager:156:get_class() looking for first class with filter 'Controller/Media/Audio/Local'
1207933815.7591 DEBUG manager:114:get_classes() looking for classes with filter 'Controller/Media/Audio/Local'
1207933815.7651 DBG_W plugin_manager:166:load() no plugin implements filter 'Controller/Media/Audio/Local'
1207933815.7706 DEBUG controller:107:get_controller_class_for_model() looking for controller class with filter 'Controller/Media/Audio' ...
1207933815.7770 DEBUG manager:156:get_class() looking for first class with filter 'Controller/Media/Audio'
1207933815.7827 DEBUG manager:114:get_classes() looking for classes with filter 'Controller/Media/Audio'
1207933815.7888 DEBUG controller:111:get_controller_class_for_model() found controller class with filter 'Controller/Media/Audio'!
1207933815.7956 DEBUG manager:114:get_classes() looking for classes with filter 'Hook/Player/Audio'
1207933815.8023 DBG_W plugin_manager:166:load() no plugin implements filter 'Hook/Player/Audio'
1207933815.8079 DEBUG player:83:_setup_hooks() no hooks with type 'Hook/Player/Audio' for player AudioPlayerController(model=AudioLocalModel(name="(Can't You) Trip Like I Do", parent=True), canvas=True, parent=True)
1207933816.0021 DEBUG model:274:load() loading AudioPlayerOptionsModel(name='Audio Options', parent=False, children=False) ...
1207933816.0081 DEBUG manager:136:get_classes_by_regexp() looking for classes with filter matching regexp 'Model/Options/Action/Player/Audio/[^/]*$'
1207933816.0365 DBG_W model:282:load() Model's do_load() is too slow: 28ms (AudioPlayerOptionsModel)
1207933820.1737 DEBUG controller:522:_player_buffering() Player's  Buffering: 100
1207933855.5119 DEBUG controller:522:_player_buffering() Player's  Buffering: 0
1207933856.3625 DEBUG controller:522:_player_buffering() Player's  Buffering: 100

Every time I press "next" it just prints out

Code:

1207934035.9384 DEBUG controller:522:_player_buffering() Player's  Buffering: 0
1207934036.8042 DEBUG controller:522:_player_buffering() Player's  Buffering: 100

I think there's something not quite right with the OGG part maybe detecting the end of the music. What happens is that the music stops, the time display shows "-00:00" but the play/pause button still shows "pause" and I can pause and unpause still. So it looks like Canola still thinks there's something playing.

borghal 2008-04-12 10:53

Re: Canola and OGG support
 
I'm having the same behavior from Canola. It worked fine with the last versions, only the newest release can't finish oggs. Since most of my music is oggs I hope this'll get fixed soon. Can I help with my console output? This is just starting and playing one song, with no interaction when it didn't finish (stayed at -0:00 but didn't stop):

Code:


[...]
1207996640.2418 DEBUG controller:107:get_controller_class_for_model() looking for controller class with filter 'Controller/Folder/Media/Audio/Local/Album/Songs' ...
1207996640.2458 DEBUG manager:156:get_class() looking for first class with filter 'Controller/Folder/Media/Audio/Local/Album/Songs'
1207996640.2500 DEBUG manager:114:get_classes() looking for classes with filter 'Controller/Folder/Media/Audio/Local/Album/Songs'
1207996640.2603 DBG_W plugin_manager:166:load() no plugin implements filter 'Controller/Folder/Media/Audio/Local/Album/Songs'
1207996640.2651 DEBUG controller:107:get_controller_class_for_model() looking for controller class with filter 'Controller/Folder/Media/Audio/Local/Album' ...
1207996640.2690 DEBUG manager:156:get_class() looking for first class with filter 'Controller/Folder/Media/Audio/Local/Album'
1207996640.2735 DEBUG manager:114:get_classes() looking for classes with filter 'Controller/Folder/Media/Audio/Local/Album'
1207996640.2831 DBG_W plugin_manager:166:load() no plugin implements filter 'Controller/Folder/Media/Audio/Local/Album'
1207996640.2880 DEBUG controller:107:get_controller_class_for_model() looking for controller class with filter 'Controller/Folder/Media/Audio/Local' ...
1207996640.2976 DEBUG manager:156:get_class() looking for first class with filter 'Controller/Folder/Media/Audio/Local'
1207996640.3018 DEBUG manager:114:get_classes() looking for classes with filter 'Controller/Folder/Media/Audio/Local'
1207996640.3058 DBG_W plugin_manager:166:load() no plugin implements filter 'Controller/Folder/Media/Audio/Local'
1207996640.3105 DEBUG controller:107:get_controller_class_for_model() looking for controller class with filter 'Controller/Folder/Media/Audio' ...
1207996640.3196 DEBUG manager:156:get_class() looking for first class with filter 'Controller/Folder/Media/Audio'
1207996640.3235 DEBUG manager:114:get_classes() looking for classes with filter 'Controller/Folder/Media/Audio'
1207996640.3280 DBG_W plugin_manager:166:load() no plugin implements filter 'Controller/Folder/Media/Audio'
1207996640.3375 DEBUG controller:107:get_controller_class_for_model() looking for controller class with filter 'Controller/Folder/Media' ...
1207996640.3419 DEBUG manager:156:get_class() looking for first class with filter 'Controller/Folder/Media'
1207996640.3511 DEBUG manager:114:get_classes() looking for classes with filter 'Controller/Folder/Media'
1207996640.3551 DBG_W plugin_manager:166:load() no plugin implements filter 'Controller/Folder/Media'
1207996640.3598 DEBUG controller:107:get_controller_class_for_model() looking for controller class with filter 'Controller/Folder' ...
1207996640.3694 DEBUG manager:156:get_class() looking for first class with filter 'Controller/Folder'
1207996640.3737 DEBUG manager:114:get_classes() looking for classes with filter 'Controller/Folder'
1207996640.3778 DEBUG controller:111:get_controller_class_for_model() found controller class with filter 'Controller/Folder'!
1207996640.3828 DEBUG model:274:load() loading AudioLocalAlbumMediaModelFolder(name='Deaf Dumb Blind', parent=True, children=False) ...
1207996640.3924 DEBUG controller:58:get_cursor() Returning db's cursor
1207996645.7027 DEBUG controller:107:get_controller_class_for_model() looking for controller class with filter 'Controller/Media/Audio/Local' ...
1207996645.7133 DEBUG manager:156:get_class() looking for first class with filter 'Controller/Media/Audio/Local'
1207996645.7339 DEBUG manager:114:get_classes() looking for classes with filter 'Controller/Media/Audio/Local'
1207996645.7379 DBG_W plugin_manager:166:load() no plugin implements filter 'Controller/Media/Audio/Local'
1207996645.7426 DEBUG controller:107:get_controller_class_for_model() looking for controller class with filter 'Controller/Media/Audio' ...
1207996645.7523 DEBUG manager:156:get_class() looking for first class with filter 'Controller/Media/Audio'
1207996645.7566 DEBUG manager:114:get_classes() looking for classes with filter 'Controller/Media/Audio'
1207996645.8354 DEBUG manager:156:get_class() looking for first class with filter 'Controller/Media'
1207996645.8394 DEBUG manager:114:get_classes() looking for classes with filter 'Controller/Media'
1207996645.9062 DEBUG manager:156:get_class() looking for first class with filter 'Player'
1207996645.9101 DEBUG manager:114:get_classes() looking for classes with filter 'Player'
1207996645.9148 DEBUG manager:156:get_class() looking for first class with filter 'Model/Notify/Error'
1207996645.9240 DEBUG manager:114:get_classes() looking for classes with filter 'Model/Notify/Error'
1207996645.9284 DEBUG manager:156:get_class() looking for first class with filter 'OptionsControllerMixin'
1207996645.9323 DEBUG manager:114:get_classes() looking for classes with filter 'OptionsControllerMixin'
1207996645.9457 INFO  plugin_manager:155:_load_plugins() loaded plugin 'Media Base UI' with filters ['Controller/Media']
1207996645.9503 DEBUG manager:156:get_class() looking for first class with filter 'Model/Options/Folder/Player/Audio'
1207996645.9543 DEBUG manager:114:get_classes() looking for classes with filter 'Model/Options/Folder/Player/Audio'
1207996645.9634 DEBUG manager:156:get_class() looking for first class with filter 'Model/Options/Folder'
1207996645.9733 DEBUG manager:114:get_classes() looking for classes with filter 'Model/Options/Folder'
1207996645.9775 DEBUG manager:156:get_class() looking for first class with filter 'Model/Options/Action'
1207996645.9818 DEBUG manager:114:get_classes() looking for classes with filter 'Model/Options/Action'
1207996646.0096 DEBUG manager:156:get_class() looking for first class with filter 'Controller/Options/CheckedFolder'
1207996646.0139 DEBUG manager:114:get_classes() looking for classes with filter 'Controller/Options/CheckedFolder'
1207996646.0320 INFO  plugin_manager:155:_load_plugins() loaded plugin 'Audio Player Options' with filters ['Model/Options/Action/Player/Audio/Shuffle', 'Controller/Options/Folder/Player/Audio', 'Model/Options/Folder/Media/Audio/AlbumArt', 'Model/Options/Action/Player/Audio/Repeat', 'Model/Options/Folder/Media/Audio/Local/AlbumArt', 'Model/Options/Folder/Player/Audio']
1207996646.0780 INFO  plugin_manager:155:_load_plugins() loaded plugin 'Audio Player UI' with filters ['Controller/Media/Audio']
1207996646.0825 DEBUG controller:111:get_controller_class_for_model() found controller class with filter 'Controller/Media/Audio'!
1207996646.1106 DEBUG controller:107:get_controller_class_for_model() looking for controller class with filter 'Controller/Media/Audio/Local' ...
1207996646.1152 DEBUG manager:156:get_class() looking for first class with filter 'Controller/Media/Audio/Local'
1207996646.1191 DEBUG manager:114:get_classes() looking for classes with filter 'Controller/Media/Audio/Local'
1207996646.1288 DBG_W plugin_manager:166:load() no plugin implements filter 'Controller/Media/Audio/Local'
1207996646.1339 DEBUG controller:107:get_controller_class_for_model() looking for controller class with filter 'Controller/Media/Audio' ...
1207996646.1381 DEBUG manager:156:get_class() looking for first class with filter 'Controller/Media/Audio'
1207996646.1420 DEBUG manager:114:get_classes() looking for classes with filter 'Controller/Media/Audio'
1207996646.1512 DEBUG controller:111:get_controller_class_for_model() found controller class with filter 'Controller/Media/Audio'!
1207996646.1564 DEBUG manager:114:get_classes() looking for classes with filter 'Hook/Player/Audio'
1207996646.1698 DEBUG manager:156:get_class() looking for first class with filter 'Hook/Player'
1207996646.1737 DEBUG manager:114:get_classes() looking for classes with filter 'Hook/Player'
1207996646.1812 INFO  plugin_manager:155:_load_plugins() loaded plugin 'Lastfm Scrobbler' with filters ['Hook/Player/Audio']
1207996646.2869 WARNI audio_scrobbler:65:media_changed() media changed to Rosegrove
1207996646.3973 DEBUG model:274:load() loading AudioPlayerOptionsModel(name='Audio Options', parent=False, children=False) ...
1207996646.4017 DEBUG manager:136:get_classes_by_regexp() looking for classes with filter matching regexp 'Model/Options/Action/Player/Audio/[^/]*$'
1207996646.4332 DBG_W model:282:load() Model's do_load() is too slow: 32ms (AudioPlayerOptionsModel)
1207996651.5395 DEBUG controller:522:_player_buffering() Player's  Buffering: 0
1207996651.9333 DBG_E controller:334:get_duration() Could not get duration: org.freedesktop.DBus.Python.AttributeError: Traceback (most recent call last):
  File "/usr/lib/python2.5/site-packages/dbus/service.py", line 696, in _message_cb
    retval = candidate_method(self, *args, **keywords)
  File "atabake/lib/player_session.py", line 334, in get_duration
  File "atabake/players/mplayer_backend.py", line 384, in get_duration
AttributeError: 'int' object has no attribute 'replace'

1207996651.9387 DBG_E controller:473:update_trackbar() Duration invalid
1207996652.4838 DEBUG controller:522:_player_buffering() Player's  Buffering: 100

If you need more, please let me know.
Thanks for your great work!

handful 2008-04-12 21:56

Re: Canola and OGG support
 
Hi guys thanks for the feedback... We are already investigating.

Marcelo

Davis- 2008-04-13 20:04

Re: Canola and OGG support
 
I am beginning to think there is something wrong with my tablet! I followed the instructions given in the previous post and I have still have no ogg files in canola. I can see/play them in media player, I can play them in canola if I start a podcast and let it continue on. I have no files when I try to view my music though. I double checked I had the files installed- and they are all there. So what am I doing wrong?

handful 2008-04-14 00:22

Re: Canola and OGG support
 
Hi Davis,

Did you selected the folder where your .oggs are in the media library -> folders?

Also : I know you followed the instructions, but one "/" wrong or missing slash or things like that can mess up everything : / can you make sure you did it "100%" equal to the instructions?

This is a little bit more complicated thing to help because there's no easy way to debug this : /

Marcelo

Davis- 2008-04-14 09:33

Re: Canola and OGG support
 
Marcelo,
Thanks for the reply. Yes I have the folder selected. I tried selecting the parent directory, and then I at least had media- my podcasts all showed up.
100% ? As I said, I checked that both libvorbis0a and lightmediascaner were installed-which they were. Is there a better more complete way of verifying ?

handful 2008-04-14 09:47

Re: Canola and OGG support
 
I'm trying to verify that with Etrunko (who is doing the easier packages with Tuomas by now) But is harder as this is not related to Canola itself and indeed to the scanner (LMS).

I need to check with him if theres a way to make the scanner print some error information to help you

Marcelo

qwerty12 2008-04-14 09:49

Re: Canola and OGG support
 
Would those instructions work with mogg instead?

The speex codec in ogg-support breaks voip so i'm a bit more inclined towards mogg.

fredoll 2008-04-14 10:03

Re: Canola and OGG support
 
Quote:

Originally Posted by borghal (Post 168806)
I'm having the same behavior from Canola. It worked fine with the last versions, only the newest release can't finish oggs. Since most of my music is oggs I hope this'll get fixed soon. Can I help with my console output? This is just starting and playing one song, with no interaction when it didn't finish (stayed at -0:00 but didn't stop):

If you need more, please let me know.
Thanks for your great work!

This problem was already encountered : it looks like a problem with mplayer so you have to edit your .atabake/config file to associate ogg with the built-in player => ogg = oms (if memory serves)

I'm sure handful (or a search in the same topic for beta7) can complete this ...

Fred

borghal 2008-04-15 21:01

Re: Canola and OGG support
 
Thank you, problem solved. I didn't know it came up before. I changed ~/.atabake/config to general=oms and it works fine. :)

jamesshuang 2008-04-22 17:28

Re: Canola and OGG support
 
Wow, I'm at the end of my line here. Where the heck do I find the lightmediascanner0-ogg package? The instructions just ask me to dpkg -i the package, but gives me nowhere to actually download the bloody thing!

piku 2008-04-22 18:40

Re: Canola and OGG support
 
Quote:

Originally Posted by fredoll (Post 169493)
This problem was already encountered : it looks like a problem with mplayer so you have to edit your .atabake/config file to associate ogg with the built-in player => ogg = oms (if memory serves)

I'm sure handful (or a search in the same topic for beta7) can complete this ...

Fred

Yep, that fixed it for me too. I can have music in my car again now :)

piku 2008-04-26 16:39

Re: Canola and OGG support
 
Quote:

Originally Posted by jamesshuang (Post 173182)
Wow, I'm at the end of my line here. Where the heck do I find the lightmediascanner0-ogg package? The instructions just ask me to dpkg -i the package, but gives me nowhere to actually download the bloody thing!

Yeah, same here now. Having just bought an N810 I'm going back through this.

I think the link to the lightmediascanner0-ogg package was on the Canola site, but it seems to have gone, or it wasn't. Googling for it just brings up this thread and nothing else.

I searched Gronmayer but there's no entry for it either.

frogman 2008-04-26 17:23

Re: Canola and OGG support
 
Today (2006-04-26) I followed the directions found here:
http://openbossa.indt.org.br/canola/using.html#formats
(click the link in the footnote that says: "you must follow this instructions" )

lightmediascanner0-ogg:
http://kenneth.christiansen.googlepa..._0.3_armel.deb

Also, for those of you who want to continue to use voip function in gtalk... open xterm and type:
sudo gainroot
cd /usr/lib/gstreamer-<0.10 or something.. it may vary>
mv ./libgstspeex.so ./old_libgstspeex.so

Worked for me.

AstralStorm 2008-04-29 22:36

Re: Canola and OGG support
 
Now there is lightmediascanner0-ogg, but deps on ogg-support 0.7, which I couldn't find.
Any advice?
(yes, old instructions do work)

qwerty12 2008-04-30 13:46

Re: Canola and OGG support
 
Just want to point out that 0.4 is available:
http://kenneth.christiansen.googlepa..._0.4_armel.deb

AStorm, it's Tuomas's Kulve's ogg support from the OS2008 software catalogue.

AstralStorm 2008-04-30 16:12

Re: Canola and OGG support
 
qwerty12: I see only version 0.6 there, not 0.7 as required by lightmediascanner0-ogg...
Thanks for newer -lms

qwerty12 2008-04-30 16:17

Re: Canola and OGG support
 
Hmm that's odd.

In version 0.4 of lms, it says ogg-support (>=0.2)

Maybe it will work with 0.6? (But I think that is a mistake on the author's part. 0.7 doesn't exist, maybe thats why 0.4 was made?)

qwerty12 2008-04-30 17:00

Re: Canola and OGG support
 
Ok, thanks to AStorm/AstralStorm for testing this out.

This is lightmediascanner0 with the ogg-support pointing to 0.6 (which actually exists :p)
http://www.mediafire.com/?im21s1n2mg1

You will also need a newer libvorbisidec which can be obtained from here:
https://garage.maemo.org/frs/downloa....0-2_armel.deb

According to AStorm,

Quote:

<AStorm> new one loads faster :)
<AStorm> visibly
<AStorm> as fast as MP3
<AStorm> and seems to skip less (none)
<AStorm> definitely an improvement
:). I'd be interested to hear other experiences as I don't use OGG's atm :)

Davis- 2008-05-04 21:04

Re: Canola and OGG support
 
Trying to get the lightmediascanner-ogg working, and that needs liblightmediascanner any clues where that one is?? How's the ogg-support package coming?

handful 2008-05-13 22:19

Re: Canola and OGG support
 
Hi Davis : the ogg support is not our projects : / but look on the other posts there's the link!

Marcelo

etrunko 2008-05-21 22:57

Re: Canola and OGG support
 
Just to inform you guys that Canola now works with ogg support. Please check the post on my blog for the link:

http://etrunko.blogspot.com/2008/05/...n-canola2.html

Best regards, Etrunko.

st5150 2008-05-22 00:38

Re: Canola and OGG support
 
Tried to install from the link above and got complaints about libvorbisidec1. I uninstalled mogg and the package installed just fine. Canola just became ten times more usable for me. Thanks!

etrunko 2008-05-22 03:34

Re: Canola and OGG support
 
I'm glad it worked for you. I've just found today that we have two different solutions for Ogg in Maemo. Tuomas' ogg-support and mogg, developed by Tilman Vogel. I'll study and talk to the guys responsible for both projects and try to find a unified solution for this.

kulve 2008-05-22 03:58

Re: Canola and OGG support
 
Quote:

Originally Posted by etrunko (Post 184510)
I'll study and talk to the guys responsible for both projects and try to find a unified solution for this.

This was discussed earlier and the mogg and the ogg-support has a bit different goals and therefore we didn't come up with a plan to have only one ogg project for maemo.

Davis- 2008-05-23 00:08

Re: Canola and OGG support
 
Thank you guys-
Marcello, Tuomas and Eduardo. Thanks for putting up with my questions (and sometimes attitude)! It works for me- after 6 months of doing everything but recompiling the kernel. I am going to back up my tablet and never update now!

Thanks again
Davis-

earth2marsh 2008-05-30 15:19

Re: Canola and OGG support
 
Quote:

Originally Posted by etrunko (Post 184429)
Just to inform you guys that Canola now works with ogg support. Please check the post on my blog for the link:
http://etrunko.blogspot.com/2008/05/...n-canola2.html

YAY! Thank you, thank you, thank you a thousand times! After months of OGG frustration, I can now play my music in Canola! O frabjous day, callooh, callay!

spock128 2008-06-30 21:39

Re: Canola and OGG support
 
Has anyone gotten this to work on the 770/OS2006? I tried installing Tuomas' ogg-support-lightmediascanner (through dpkg -i) but it did nothing. It seems that its dependencies aren't available for OS2006

vinc17 2008-07-20 16:25

Re: Canola and OGG support
 
I followed the instructions on http://openbossa.indt.org/canola2/add.html, but the package for Ogg support cannot be installed due to missing dependencies on diablo. Any news?

handful 2008-07-21 21:42

Re: Canola and OGG support
 
Hi Vinc,

As you probably heard Diablo's new way for deploy software implicates that the build must be done on the server, so until the ogg support code is not uploaded there(by the maintainers) our ogg support for diablo will not work, because it can't get compiled...

So sorry for this but we are also waiting for the ogg developers...

Br

Marcelo

markku 2008-07-23 18:40

Re: Canola and OGG support
 
Hi. I have installed latest Canola for Diablo and it seems to play oggs straight without separate ogg-support package. Is this true?

Canola is running very well on Diablo. Thank you Canola team!

vinc17 2008-07-23 22:08

Re: Canola and OGG support
 
Quote:

Originally Posted by markku (Post 206279)
Hi. I have installed latest Canola for Diablo and it seems to play oggs straight without separate ogg-support package. Is this true?

Here it finds nothing in my Audio folders, though they are full of ogg files.

markku 2008-07-25 21:55

Re: Canola and OGG support
 
Well false alarm about that ogg support, I deleted .canola folder and restarted tablet and started Canola. No oggs found, quess it was old database that made possible to play tnose oggs. So, waiting for the ogg-support update for Diablo. :confused:

handful 2008-07-26 23:20

Re: Canola and OGG support
 
Hi guys, indeed..

Now we need the ogg support for diablo to be there on the server to be able to compile canola's ogg support. : /

Sorry for the inconvenience

jchord 2008-08-26 03:16

Re: Canola and OGG support
 
any idea when the ogg developers will update for diablo? as i would like to use diablo but i have a full 16 gb sd card of oggs i don't want to convert


All times are GMT. The time now is 00:30.

vBulletin® Version 3.8.8