mplayer2 wont decode audio

Yanhui Shen shen.elf at gmail.com
Fri Jul 5 03:06:13 UTC 2013


Withdrawn, it has already been fixed...
Just sync ports tree and update.

在 2013年7月5日星期五,Yanhui Shen 写道:

> 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 at freebsd.org mailing list
>> http://lists.freebsd.org/**mailman/listinfo/freebsd-ports<http://lists.freebsd.org/mailman/listinfo/freebsd-ports>
>> To unsubscribe, send any mail to "freebsd-ports-unsubscribe at freebsd.org"
>>
>
>


More information about the freebsd-ports mailing list