[vdr] no sound with nova-t and dxr3

Ville Skyttä vskytta at gmail.com
Sat Oct 22 20:34:07 CEST 2005


On Sat, 2005-10-22 at 20:07 +0200, Andre Bischof wrote:
> Ville Skyttä wrote:
> ...
> > The dxr3 plugin itself uses only avcodec.h and libavcodec*.so from
> > ffmpeg.
> 
> On my system I can find:
[...]

Ok, that's 3 different libavcodecs (0.0.0, 0.4.8, 0.4.9-pre1).  I have
only one:

-rwxr-xr-x  1 root root 2548316 Aug 18 23:08 /usr/lib/libavcodec-CVS.so
lrwxrwxrwx  1 root root      17 Aug 19 16:50 /usr/lib/libavcodec.so -> libavcodec-CVS.so

> lrwxrwxrwx  1 root root      19 Oct 22 12:49 libavcodec.so -> libavcodec.so.0.0.0

So this is the libavcodec that the dxr3 plugin will be linked against by
default unless you have a fourth libavcodec.so in your
$(FFMDIR)/libavcodec
("-L$(FFMDIR)/libavcodec -lavcodec" in the dxr3plugin Makefile), and
you'll need to find the avcodec.h corresponding to this library and
build with it.  Or (untested) change the -lavcodec to eg -lavcodec-0.4.8
or -lavcodec-0.4.9-pre1 if you want to link against one of the others.

> Well, I'll try and report again. But wait - where should the 
> dxr3-plugin's Makefile line
> 
> FFMDIR = /usr/local/include/ffmpeg
> 
> be pointing too? As I wrote, I have an avcodec.h lying there, I think 
> that should match libavcodec, shouldn't it?

Yes.  You need to make sure that the following holds true:

1) Build the dxr3 plugin using avcodec.h and libavcodec.so from the same
   ffmpeg/libavcodec version.
2) Run the dxr3 plugin using the exact same libavcodec.so that you 
   built it against in 1).

But you seem to have a mixture of packaged and unpackaged libavcodec
libraries and headers around, which will probably make things painful...
I don't know how to give more precise instructions than the above, hope
it helps.  I've personally witnessed that the "no sound" problem may
appear if either 1) or 2) above is not done that way.




More information about the vdr mailing list