Mailing List archive

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

[vdr] Re: Can`t start VDR with mp3 Plugin



Am Sonntag, 18.05.03 um 20:43 Uhr schrieb Stefan Huelswitt:

On 18 May 2003 Johannes Treitz <jt@centerwave.de> wrote:

make[1]: Entering directory
`/usr/local/src/vdr-1.1.31/PLUGINS/src/mp3-0.7.13'
g++ -O2 -Wall -Woverloaded-virtual -c -D_GNU_SOURCE -DHAVE_BEAUTYPATCH
-I../../../include -I../../../../DVB/include player-mp3.c
player-mp3.c:32: id3tag.h: No such file or directory
make[1]: *** [player-mp3.o] Error 1

I think that's the reason why the libmp3 doesn't exists in my PLUGINS
dir. But why isn't the id3tag.h file in the tarball ?
RTFM.

You have to install additional libraries. In your case libmad is
missing (id3tag.h is part of this).

--
Stefan Huelswitt
huels@iname.com | http://home.pages.de/~nathan


--
Info:
To unsubscribe send a mail to ecartis@linuxtv.org with "unsubscribe vdr" as subject.



Ok Ok I installed a deb package with the libmad. That pckg seems just to be brocken. Therefore I installed a src pckg from the libmad hp now.
But now ... I have the next problem. The compiler reports the following error in the player-mp3.c:

g++ -O2 -Wall -Woverloaded-virtual -c -D_GNU_SOURCE -DHAVE_SNDFILE -DHAVE_BEAUTYPATCH -I../../../include -I../../../../DVB/include player-mp3.c
player-mp3.c: In method `void cMP3Player::Action()':
player-mp3.c:1139: passing `const cFrame *' as argument 1 of `cRingBufferFrame::Drop(cFrame *)' discards qualifiers
make[1]: *** [player-mp3.o] Error 1

Then I just tried to comment line 1139

> if(pframe) {
> int w=PlayVideo(p,pc);
> if(w>0) {
> p+=w; pc-=w;
> if(pc<=0) {
> // ringBuffer->Drop(pframe); <<<<
> pframe=0;
> }
> }
> else if(w<0 && FATALERRNO) {
> LOG_ERROR;
> break;
> }
> }

Now the compiling error exists no longer but when I start vdr ....

>VDR:/usr/local/src/VDR# ./vdr -P "mp3 -m /usr/local/vdr/mount.sh"
>vdr: ./PLUGINS/lib/libvdr-mp3.so.1.1.31: undefined symbol: sf_open

Sorry for that noob probs but I finally want to hear mp3's on my VDR box :D

Greetz
Johannes Treitz



--
Info:
To unsubscribe send a mail to ecartis@linuxtv.org with "unsubscribe vdr" as subject.



Home | Main Index | Thread Index