[MPlayer-users] amrnb and amrwb?
Masaru Nomiya
nomiya at galaxy.dti.ne.jp
Sat Apr 14 18:34:07 CEST 2007
Hello,
Thanks for your reply.
Your mail is hard to read.
That is your mailer treat all the sentences as 1 line.
In the Message;
Subject : RE: [MPlayer-users] amrnb and amrwb?
Message-ID : <BAY140-W56E0A249BAD929F9E87B89E5C0 at phx.gbl>
Date & Time: Sat, 14 Apr 2007 12:08:26 -0400
[John] == John Brown <johnbrown105 at hotmail.com> has written:
John> Masaru Nomiya wrote:> Hello,> > In the Message; > > Subject : RE: [MPlayer-users] amrnb and amrwb?> Message-ID : <BAY140-W16A09A391CF218271E03C09E5C0 at phx.gbl>> Date & Time: Sat, 14 Apr 2007 11:06:33 -0400> > [John] == John Brown <johnbrown105 at hotmail.com> has written:> > John> The directories *must* be called amr_float and amrwb_float. Also,> John> try following the instructions in comments at the top of libavcodec/amr.c> John> instead of installing the amrnb-devel package for SUSE.> > Of course. I read the top of amr.c.> I couldn't pass amrnb part without installing amrnb-devel package for SUSE.> > In fact, in the amr.c. it is written as follows;> > #include <amrnb/interf_dec.h>> #include <amrnb/interf_enc.h>> [...]> #include <amrwb/enc_if.h>> #include <amrwb/dec_if.h>> #include <amrwb/if_rom.h>> I am using svn 22979 (not sure what date, but configure is dated April 11) on Windows. My libavcodec/amr.c contains:#ifdef CONFIG_AMR_NB_FIXED...#else#include "amr_f!
loat/interf_dec.h"#include "amr_float/interf_enc.h"#endifand#ifdef CONFIG_AMR_WB...#include "amrwb_float/enc_if.h"^M#include "amrwb_float/dec_if.h"^M...#endifMPlayer's configure script checks for the AMR codecs using commands like:if test -f libavcodec/amr_float/sp_dec.c ; thenandif test -f libavcodec/amrwb_float/dec_dtx.c ; thenMy list of enabled codecs in the configure output shows amr_wb and amr_nb, andI can play .3gp files with video and audio working.Perhaps something has changed in the most recent svn. I will try it and let you know.
I see.
I deleted amrnb and amrwb directories, then tried compile.
But, I got an error message as follows;
[...]
In file included from amr.c:75:
avcodec.h:2478: warning: 'ImgReSampleContext' is deprecated
avcodec.h:2481: warning: 'ImgReSampleContext' is deprecated
amr.c:515: warning: missing initializer
amr.c:515: warning: (near initialization for 'amr_nb_decoder.capabilities')
amr.c:527: warning: missing initializer
amr.c:527: warning: (near initialization for 'amr_nb_encoder.capabilities')
amr.c:539:26: error: amrwb/enc_if.h: No such file or directory
amr.c:540:26: error: amrwb/dec_if.h: No such file or directory
amr.c:541:26: error: amrwb/if_rom.h: No such file or directory
amr.c: In function 'amr_wb_encode_init':
amr.c:611: warning: implicit declaration of function 'E_IF_init'
amr.c:611: warning: assignment makes pointer from integer without a cast
amr.c: In function 'amr_wb_encode_close':
amr.c:621: warning: implicit declaration of function 'E_IF_exit'
amr.c: In function 'amr_wb_encode_frame':
amr.c:638: warning: implicit declaration of function 'E_IF_encode'
amr.c: In function 'amr_wb_decode_init':
amr.c:647: warning: implicit declaration of function 'D_IF_init'
amr.c:647: warning: assignment makes pointer from integer without a cast
amr.c: In function 'amr_wb_decode_frame':
amr.c:675: error: 'block_size' undeclared (first use in this function)
amr.c:675: error: (Each undeclared identifier is reported only once
amr.c:675: error: for each function it appears in.)
amr.c:683: warning: implicit declaration of function 'D_IF_decode'
amr.c:683: error: '_good_frame' undeclared (first use in this function)
amr.c: In function 'amr_wb_decode_close':
amr.c:692: warning: implicit declaration of function 'D_IF_exit'
amr.c: At top level:
amr.c:706: warning: missing initializer
amr.c:706: warning: (near initialization for 'amr_wb_decoder.capabilities')
amr.c:718: warning: missing initializer
amr.c:718: warning: (near initialization for 'amr_wb_encoder.capabilities')
make[1]: *** [amr.o] Error 1
make[1]: Leaving directory `/tmp/source/mplayer/libavcodec'
make: *** [libavcodec/libavcodec.a] error 2
Um.....
It still demands amrwb directiry as above.
Any hints?
Regards,
---
Masaru Nomiya mail-to: nomiya @ galaxy.dti.ne.jp
"Bill! You married with Computers.
Not with Me!"
"No..., with money."
More information about the MPlayer-users
mailing list