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)

kulve 2008-08-26 05:59

Re: Canola and OGG support
 
Looks like the ogg-support from chinook adds the ogg support for GStreamer but the Metalayer Crawler doesn't find oggs anymore.

danramos 2008-08-26 07:26

Re: Canola and OGG support
 
Conspiracy!

handful 2008-08-26 21:08

Re: Canola and OGG support
 
Kulve: the problem is that it adds from Chinook, and Canola-ogg support for Diablo is built following the diablo rules, on the server. So we cannot do hacks on this. Once Ogg support is ON DIABLO repositories, our ogg support in the scanner will be able to compiled as well. today it will give "no dependencies" :/

BR
Marcelo

kulve 2008-08-27 03:39

Re: Canola and OGG support
 
Quote:

Originally Posted by handful (Post 217880)
Once Ogg support is ON DIABLO repositories, our ogg support in the scanner will be able to compiled as well. today it will give "no dependencies" :/

Do you mean that the ogg-support must be buildable on the new style servers from sources as well? That might be hard since I'm using existing packages which I have modified (gst-plugins-*). And those probably cannot be rebuilt there as there is already source packages named like that?

The other problem is that the metalayercrawler seems to unable to find oggs in diablo anymore with my hacks. So we need to find new tricks for diablo.

handful 2008-08-27 20:24

Re: Canola and OGG support
 
Unm, Yes Kulve, it seems we need this (pointed by etrunko) but I must say he's the guy who knows that so things could be changed.

About the metalayercrawler, that is really sad :/ I will put Etrunko in the loop to see what we can do to solve this in our side then :)

Thanks anyhow for the info :) it will be of great help!

Marcelo

hircus 2008-08-28 07:03

Re: Canola and OGG support
 
Quote:

Originally Posted by kulve (Post 217997)
Do you mean that the ogg-support must be buildable on the new style servers from sources as well? That might be hard since I'm using existing packages which I have modified (gst-plugins-*). And those probably cannot be rebuilt there as there is already source packages named like that?

The ideal solution would be for Nokia to actually ship the Vorbis decoding plugin from upstream. Or let kulve help them out with gstreamer?

I wonder if a strategy similar to how the Livna repository (3rd party non-free for Fedora) packages xine's non-free plugins might work: build the entire modified gstreamer framework (with a single .dsc), and then just exclude or remove the files already packaged by Nokia.

pycage 2008-08-28 08:40

Re: Canola and OGG support
 
Is there any reason why the scanner requires Ogg gstreamer playback support for just reading the tags? I think this is the real "bug" here, and is certainly a show-stopper for Canola on Diablo.

Ogg playback is still possible via mplayer. The only piece missing in the Canola-Diablo-Ogg puzzle is the scanner.
Don't you think so?

handful 2008-08-28 12:25

Re: Canola and OGG support
 
Oycage : yes, it is, but as you read Tuomas answers, the code is not on diablos build server. We can just make a deb and install, but we thought that the support was going into extras, so to enter extras you need to user THEIR build system, and our ogg support depends on Tuomas support.

So now that we know that it's not going to be there, we will do the ugly way and make a deb and place on the website for download.

To read the tags (I will ask etrunko to back me up here) it really needs the lib, but I think you deserve a better answer :)

Marcelo

pycage 2008-08-28 13:59

Re: Canola and OGG support
 
Yeah, I know that it needs the lib, but I don't really see a reason why. :)

A little C code for parsing the Ogg tags is no big thing, and Ogg tags are not such a mess like ID3. ;)
There's plenty of free C code for Ogg tag parsing around, I think.
This could help Canola with Ogg on Diablo since getting ogg-support on Diablo is such a problem.
It would also make the LMS smaller in size and more performant on Oggs.

Just my 2 ¢. :)

etrunko 2008-08-28 14:38

Re: Canola and OGG support
 
Quote:

Originally Posted by kulve (Post 217997)
Do you mean that the ogg-support must be buildable on the new style servers from sources as well? That might be hard since I'm using existing packages which I have modified (gst-plugins-*). And those probably cannot be rebuilt there as there is already source packages named like that?

AFAIK, there is no problem in rebuilding a package which is already in the repositories. At least, this is not a problem for extras/extras-devel repositories, don't know if this applies to the official nokia packages. It's a good test case. :)

Quote:

Originally Posted by kulve (Post 217997)
The other problem is that the metalayercrawler seems to unable to find oggs in diablo anymore with my hacks. So we need to find new tricks for diablo.

As canola does not use the metalayer crawler, this problem does not affect us at all. But to provide the support "natively" in the built-in media player, it is a must.

etrunko 2008-08-28 14:48

Re: Canola and OGG support
 
Quote:

Originally Posted by hircus (Post 218444)
The ideal solution would be for Nokia to actually ship the Vorbis decoding plugin from upstream. Or let kulve help them out with gstreamer?

Definitely! They should support Ogg out-of-the-box. Let's hope the new HTML5 specification (which recommends Ogg as baseline format) helps to change things. Please vote for maemo bug #176. Looks like they are working on the issue.

Quote:

Originally Posted by hircus (Post 218444)
I wonder if a strategy similar to how the Livna repository (3rd party non-free for Fedora) packages xine's non-free plugins might work: build the entire modified gstreamer framework (with a single .dsc), and then just exclude or remove the files already packaged by Nokia.

This 3rd party (free and non-free) infrastructure is already there. I've worked together with Maemo's webmaster and only with that we could have Canola working on Diablo.

kulve 2008-08-28 14:52

Re: Canola and OGG support
 
Quote:

Originally Posted by etrunko (Post 218526)
AFAIK, there is no problem in rebuilding a package which is already in the repositories. At least, this is not a problem for extras/extras-devel repositories, don't know if this applies to the official nokia packages. It's a good test case. :)

Even if it would succeed it might be a bit odd for those who would like to get source for the Nokia's version of the gstreamer and "apt-get source gstreamer-something" would fetch my sources if the extras/extras-devel repository is in the sources.list.

But that's a "problem" already if one has my repo in the sources.list..

etrunko 2008-08-28 14:56

Re: Canola and OGG support
 
Quote:

Originally Posted by pycage (Post 218456)
Is there any reason why the scanner requires Ogg gstreamer playback support for just reading the tags? I think this is the real "bug" here, and is certainly a show-stopper for Canola on Diablo.

Lightmediascanner only needs libogg and libvorbisidec (a bit patched) to read the tags from ogg. The playback support is responsibility of either osso-media-server (thus the gst-plugins-*) or mplayer.

Quote:

Originally Posted by pycage (Post 218456)
Ogg playback is still possible via mplayer. The only piece missing in the Canola-Diablo-Ogg puzzle is the scanner.
Don't you think so?

That's it.

hircus 2008-08-28 15:58

Re: Canola and OGG support
 
Quote:

Originally Posted by kulve (Post 218529)
Even if it would succeed it might be a bit odd for those who would like to get source for the Nokia's version of the gstreamer and "apt-get source gstreamer-something" would fetch my sources if the extras/extras-devel repository is in the sources.list.

But that's a "problem" already if one has my repo in the sources.list..

I'm rather curious: why can't the gstreamer vorbisidec plugin be built against Nokia's stock gstreamer-base? Considering the binary package does not need the rest of the modified gstreamer stack?

kulve 2008-08-28 16:08

Re: Canola and OGG support
 
Quote:

Originally Posted by hircus (Post 218552)
I'm rather curious: why can't the gstreamer vorbisidec plugin be built against Nokia's stock gstreamer-base? Considering the binary package does not need the rest of the modified gstreamer stack?

The vorbisidec comes from the gst bad, so it could be built ok I guess, but the ogg-support packages provides also ogg demuxer (from base) speex (from good) and theora (from base).

And Nokia's base doesn't provide theora and Nokia's good doesn't provide speex nor ogg demuxer, so I need to modify those source packages to provide new binary packages for these plugins.

hircus 2008-08-28 16:14

Re: Canola and OGG support
 
Quote:

Originally Posted by kulve (Post 218555)
The vorbisidec comes from the gst bad, so it could be built ok I guess, but the ogg-support packages provides also ogg demuxer (from base) speex (from good) and theora (from base).

And Nokia's base doesn't provide theora and Nokia's good doesn't provide speex nor ogg demuxer, so I need to modify those source packages to provide new binary packages for these plugins.

So have your source package contain the tarballs for base, good and bad, and just compile the parts you need? If Debian's packaging system does not allow for multiple tarballs (still? RPM handles multiple sources fine), make your own composite tarball.

markku 2008-09-11 09:51

Re: Canola and OGG support
 
Now we have Ogg-support 0.8 for Diablo and does this mean that Canola will also benefit with this update? Hope so because I did install the ogg-support 0.8 but no oggs in Canola, what a suprise...

Oh well, I have MediaBox installed in my N810 and I think it will be my future choice for media if this is so complicated to even get oggs to play in Canola.

handful 2008-09-11 10:22

Re: Canola and OGG support
 
Hi Markku,

I understand your frustation and I cannot say anything else in "defense" more than "we are trying".

Hope you still try Canola in the future as the new releases go out!

Br

Marcelo

etrunko 2008-09-26 23:22

Re: Canola and OGG support
 
The good news is that we will have ogg support back in the beta10 version. We're still fixing the bugs for this release. Thank you all for understanding.

Rebski 2009-01-28 15:02

Re: Canola and OGG support
 
Hi etrunko, just wondering how you are progressing with ogg.

i am running beta 10 and have just received the ogg-support v0.9. Still no luck.

How are you getting on? UKMP doesn't support ogg any longer either so it seems to be a difficult issue


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

vBulletin® Version 3.8.8