New user's registration have been closed due to high spamming and low trafic on this forum. Please contact forum admins directly if you need an account. Thanks !

libexif

Want new functionality in Bubba? Discuss it here.
Locked
DanielM
Posts: 637
Joined: 28 Mar 2008, 06:37
Location: Sweden

libexif

Post by DanielM »

In the midst of the celebration of Bubba|two I have another request for the old Bubba (but that could be nice for the new one as well): I'd like to have mediatomb compiled with support for libexif (and thus naturally libexif included in the dist). That would really enhance the experience of viewing photos on my tv...

/Daniel
Eek
Posts: 372
Joined: 23 Dec 2007, 03:03
Location: the Netherlands

Post by Eek »

Hi
Why not do it?
and post a how-to !

cheers
Eek
DanielM
Posts: 637
Joined: 28 Mar 2008, 06:37
Location: Sweden

Post by DanielM »

Eek wrote:Why not do it?
and post a how-to !
Because if I understand things correctly that would require a rebuild of mediatomb and I've understood that building stuff on a 200MHz arm processor isn't any fun at all. Plus I'd probably have to install loads of build requirements on my poor Bubba. Plus everyone else that wanted to have exif support would have to do the same. Better if Excito put it in there in the first place...

/Daniel
Eek
Posts: 372
Joined: 23 Dec 2007, 03:03
Location: the Netherlands

Post by Eek »

agreed, compiling would not be quick.
but all build requirements are probably already installed on your bubba.
Don't confusion building a kernel, with compiling a package from source.
The Excito guys can only do so much,
the forum can enhance the bubba experience!
try it, you might discover the geek in you :D
Cheers
Eek
PS. mediatomb 0.11.0 is out and works great. check out http://mediatomb.cc/
Eek
Posts: 372
Joined: 23 Dec 2007, 03:03
Location: the Netherlands

Post by Eek »

Hi
just checked the mediatomb.cc site
and mediatomb 0.11.0 default supports libexif
3.2.21. Libexif Support
--enable-libexif
Default:

enabled

The exif library will gather metadata from your photos, it will also find exif thumbnails which are created automatically by most digital camera models. The gathered data will be used by the import script, the thumbnails will be offered as additional resources via UPnP.
I checked also the bubba mediatomb install and see that libexif has a tag in the config.xml
<libexif>
<auxdata>
<add tag="EXIF_TAG_MODEL"/>
</auxdata>
</libexif>
Could it be that it isn't working as you expected?
or is libexif not installed?

Code: Select all

dpkg --list|grep libexif
cheers
Eek
DanielM
Posts: 637
Joined: 28 Mar 2008, 06:37
Location: Sweden

Post by DanielM »

Did you succeed in installing 0.11.0 (binary packages) on Bubba? I tried, but since my Debian knowledge isn't the greatest I gave up after getting into some kind of dependency hell since the bubba package depends on mediatomb package but the packages to install on 0.11.0 are named mediatomb-common and mediatomb-daemon. Back to 0.10.0.

Anyway, the reason I thought mediatomb wasn't compiled with libexif support was simply the fact that libexif isn't included in the install. And I guess the following confirms that suspicion:

Code: Select all

$ ldd /usr/bin/mediatomb|grep exif
...which returns nothing at all...

/Daniel

edit: For some reason I put ftd instead of mediatomb in the code example. Made no difference though, neither of them uses exif :-)
Last edited by DanielM on 12 Jul 2008, 13:38, edited 1 time in total.
Eek
Posts: 372
Joined: 23 Dec 2007, 03:03
Location: the Netherlands

Post by Eek »

Hi
I have two bubba's, both running Etch
and installed 0.11.0 on one of them using the http://mediatomb.cc APT repository and instructions.
there the libexif shows up
sid:~# ldd `which mediatomb`|grep exif
libexif.so.12 => /usr/lib/libexif.so.12 (0x405f9000)
The other bubba runs mediatomb 0.10.0-4 and there indeed the ldd does not return anything
cheers
Eek
DanielM
Posts: 637
Joined: 28 Mar 2008, 06:37
Location: Sweden

Post by DanielM »

Eek wrote:and installed 0.11.0 on one of them using the http://mediatomb.cc APT repository and instructions.
Can you give me some more detailed instructions? You install mediatomb-common and mediatomb-daemon, right? (Since the mediatomb package requires X stuff to be installed) Then, how do you convince apt that the dependencies of the bubba package is satisfied even though there is no mediatomb package installed?
Eek
Posts: 372
Joined: 23 Dec 2007, 03:03
Location: the Netherlands

Post by Eek »

Hi
This is what i (probably) did

Code: Select all

$ wget http://apt.mediatomb.cc/key.asc -O- -q | sudo apt-key add -
$ vi /etc/apt/sources.list
add: deb http://apt.mediatomb.cc/ etch main
and disabled: 
#deb http://update.excito.net/ etchoverlay main
#deb http://update.excito.net/ bubba-2 main
$ apt-get update
$ apt-get  install mediatomb
$ vi /etc/apt/sources.list
enabled: 
deb http://update.excito.net/ etchoverlay main
deb http://update.excito.net/ bubba-2 main
$ apt-get update
$ apt-get upgrade
This gives me:
sid:~# dpkg --list |grep mediatomb
ii mediatomb 0.11.0-1etch1 UPnP MediaServer (main package)
ii mediatomb-common 0.11.0-1etch1 UPnP MediaServer (base package)
ii mediatomb-daemon 0.11.0-1etch1 UPnP MediaServer (daemon package)
cheers
Eek
DanielM
Posts: 637
Joined: 28 Mar 2008, 06:37
Location: Sweden

Post by DanielM »

Eek wrote:This gives me:
sid:~# dpkg --list |grep mediatomb
ii mediatomb 0.11.0-1etch1 UPnP MediaServer (main package)
ii mediatomb-common 0.11.0-1etch1 UPnP MediaServer (base package)
ii mediatomb-daemon 0.11.0-1etch1 UPnP MediaServer (daemon package)
Ok, that explains it. You've installed the mediatomb package that only contains the graphical interface (and thus isn't meaningful on Bubba). I guess I'll do that as well since apt hates me right now...

/Daniel
zamesdin
Posts: 4
Joined: 29 Apr 2010, 06:43

Re: libexif

Post by zamesdin »

The libexif package contains a library of analysis, editing and saving EXIF data. Most digital cameras produce EXIF files, which are JPEG files with extra tags that contain information about the image. All EXIF tags described in EXIF standard 2.1 are supported. This package is known to build and operate correctly using an EPA-6 platform 0.5.
Locked