Skip site navigation (1)Skip section navigation (2)
Date:      Fri, 05 Jul 2013 10:45:17 +0800
From:      Yanhui Shen <shen.elf@gmail.com>
To:        freebsd-ports@freebsd.org
Subject:   Re: mplayer2 wont decode audio
Message-ID:  <51D6333D.7000208@gmail.com>
In-Reply-To: <51D5B891.3050103@intertainservices.com>
References:  <51D5B891.3050103@intertainservices.com>

next in thread | previous in thread | raw e-mail | index | archive | help
It requires avresample.
Quick and dirty fix:

1.Add the following line to both ffmpeg1 and mplayer2's ports Makefile
"CONFIGURE_ARGS+=    --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 
> getting 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=faad) 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
> 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?51D6333D.7000208>