Date: Fri, 5 Jul 2013 11:06:12 +0800 From: Yanhui Shen <shen.elf@gmail.com> To: "freebsd-ports@freebsd.org" <freebsd-ports@freebsd.org> Subject: Re: mplayer2 wont decode audio Message-ID: <CAEEM4vnqUc=g%2Bz6QWfWW3DEGc9g1qf_kXh1tO94Br89A2%2B_h4g@mail.gmail.com> In-Reply-To: <51D6333D.7000208@gmail.com> References: <51D5B891.3050103@intertainservices.com> <51D6333D.7000208@gmail.com>
next in thread | previous in thread | raw e-mail | index | archive | help
Withdrawn, it has already been fixed... Just sync ports tree and update. =E5=9C=A8 2013=E5=B9=B47=E6=9C=885=E6=97=A5=E6=98=9F=E6=9C=9F=E4=BA=94=EF= =BC=8CYanhui Shen =E5=86=99=E9=81=93=EF=BC=9A > It requires avresample. > Quick and dirty fix: > > 1.Add the following line to both ffmpeg1 and mplayer2's ports Makefile > "CONFIGURE_ARGS+=3D --enable-avresample" > > 2.Reinstall ffmpeg1 > > 3.cd /usr/ports/multimedia/mplayer2 > Deinstall and make it, and it will fail to link, don't worry. > > 4. cd `make -V WRKSRC` && vim config.mak > Find line "EXTRALIBS" > Add " -lavresample1 " at the end of that line, save and quit vim. > cd - && make install > Done > > On 07/05/2013 02:01, Mike Jakubik wrote: > >> Hello, >> >> I just installed mplayer2 on a new machine and i'm having trouble gettin= g >> it to decode audio, mplayer gives the following warning: >> >> Selected video codec: H.264 / AVC / MPEG-4 AVC / MPEG-4 part 10 >> [libavcodec] >> The player has been compiled without libavresample support, >> which is needed with this libavcodec decoder version. >> >> Audio decoder init failed for codecs.conf entry "ffaac". >> Requested audio codec family [faad] (afm=3Dfaad) not available. >> Enable it at compilation. >> >> However i don't see any options for these in either mplayer2 or ffmpeg1. >> >> Thanks. >> ______________________________**_________________ >> freebsd-ports@freebsd.org mailing list >> http://lists.freebsd.org/**mailman/listinfo/freebsd-ports<http://lists.f= reebsd.org/mailman/listinfo/freebsd-ports> >> To unsubscribe, send any mail to "freebsd-ports-unsubscribe@freebsd.org" >> > >
Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?CAEEM4vnqUc=g%2Bz6QWfWW3DEGc9g1qf_kXh1tO94Br89A2%2B_h4g>