• Home
  • Help
  • Search
  • Login
  • Register
Pages: [1]
Author Topic: Transcoding using mediatomb  (Read 5233 times)
hching
Newbie
*

Karma: 0
Posts: 7


View Profile
« on: September 11, 2009, 08:48:39 PM »

Hello -

I am trying to get mediatomb and Sheevaplug to be my media server.  However mediatomb complains about the missing mpeg2video encoder.  After a bit of digging I found that I need to install libavcodec-unstripped-51 but apt-get install libavcodec-unstripped-51 gives me

Package libavcodec-unstripped-51 is not available, but is referred to by another package.
This may mean that the package is missing, has been obsoleted, or
is only available from another source
E: Package libavcodec-unstripped-51 has no installation candidate

Has anyone run into the same situation and how do you get around it? I am running Debian Lenny installed following the instructions posted here:

http://www.cyrius.com/debian/kirkwood/sheevaplug/unpack.html


Thanks,
Henry
« Last Edit: September 11, 2009, 09:19:56 PM by hching » Logged

riel
Newbie
*

Karma: -2
Posts: 22


View Profile
« Reply #1 on: September 15, 2009, 07:24:35 AM »

Ubuntu has a working pagage in repositories.

The interesting packeges it installs in mediatomb-common are:

libavformat1d (>= 0.cvs20070307)
libavutil1d (>= 0.cvs20070307)
libc6 (>= 2.7-1)
libcurl3-gnutls (>= 7.16.2-1)
libexif12
libexpat1 (>= 1.95.Cool
libgcc1 (>= 1:4.1.1-21)
libkrb53 (>= 1.6.dfsg.2)
libmagic1
libmozjs0d (>= 1.8.1.5)
libmysqlclient15off (>= 5.0.27-1)
libsqlite3-0 (>= 3.4.2)
libstdc++6 (>= 4.1.1-21)
libtag1c2a (>= 1.4)
zlib1g (>= 1:1.2.3.3.dfsg-1)

Logged

riel
Newbie
*

Karma: -2
Posts: 22


View Profile
« Reply #2 on: September 15, 2009, 07:28:39 AM »

Can't you set the ubuntu repo's and install it from there?

Anyway, I really love to see how you setup mediatomb, my TV is upnp but well I just don't know anything abou thow to configure it.

Too bad Sad
Logged

hching
Newbie
*

Karma: 0
Posts: 7


View Profile
« Reply #3 on: September 15, 2009, 08:08:48 AM »

I use Debian and I understand that the mpeg2 encoder was taken out of libavcodec51 due to licensing issue but somehow one can get it from the unstripped version libavcodec-unstripped-51.

This works if you use the x86 software library but I don't believe it is compiled for the ARM CPUs, just my guess.  I am not an expert in how these things are maintained and I am willing to go as far as compiling from source but I just am not sure where to start.

Anything pointers will be appreciated.
Logged

elBradford
Newbie
*

Karma: 0
Posts: 44


View Profile
« Reply #4 on: September 15, 2009, 11:27:40 PM »

It's not libavcodec-unstripped-51 but libavcodec-unstripped-52.

the command

aptitude search libavcodec will show what's available.

Then use aptitude to install. It handles dependencies much better than apt-get. It uninstalled libavcodec52 and a couple more and installed the unstripped libraries. Hope this helps.
Logged

hching
Newbie
*

Karma: 0
Posts: 7


View Profile
« Reply #5 on: September 16, 2009, 06:54:05 AM »

Thanks for the suggestion.  I have done that before and this is the output:

apt-cache search libavcodec
libavcodec-dev - development files for libavcodec
libavcodec51 - ffmpeg codec library


I am using Debian Lenny distribution and I suspect that it`s got a smaller software library distro for the ARM CPU.  Is there a way to access the software libraries from other distributions?  Wil that even work?
Logged

hching
Newbie
*

Karma: 0
Posts: 7


View Profile
« Reply #6 on: September 20, 2009, 08:34:35 AM »

I went ahead and downloaded the source code and recompiles ffmpeg with the codecs and it now transcodes.  The problem now is that the Sheeva is not fast enough.  Any idea on how to improve its transcoding performance?  I am streaming videos to my PS3.

Thanks,
Logged

Pages: [1]
Print
Jump to: