From owner-freebsd-ports@FreeBSD.ORG Fri Jul 5 02:45:23 2013 Return-Path: Delivered-To: freebsd-ports@freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [8.8.178.115]) by hub.freebsd.org (Postfix) with ESMTP id C9102916 for ; Fri, 5 Jul 2013 02:45:23 +0000 (UTC) (envelope-from shen.elf@gmail.com) Received: from mail-pb0-x232.google.com (mail-pb0-x232.google.com [IPv6:2607:f8b0:400e:c01::232]) by mx1.freebsd.org (Postfix) with ESMTP id A7D6B1AEF for ; Fri, 5 Jul 2013 02:45:23 +0000 (UTC) Received: by mail-pb0-f50.google.com with SMTP id wz7so1697939pbc.37 for ; Thu, 04 Jul 2013 19:45:23 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=20120113; h=message-id:date:from:user-agent:mime-version:to:subject:references :in-reply-to:content-type:content-transfer-encoding; bh=HyPHn/TIb4jdM5IJbQflaVI30XdkaS0dTU82bRMWpls=; b=tYxL6hvTxIF55YFg7/6KwtuW1/hZ4/MRVhVn12LeJvyuuMY8ZgIZIQC06hfXJ8lmnv VyTcki+bzIIUPJ7TgMAJUR6F+03R6hsya6IhGnZzd4PsyU9m9H+UzfBf2uzn04N8Rg4G A4oPQWQaUYJbVGkzPYZros4sgWiIJpy3EEKBzy0CAdmSyP9q3P5nNjjw8iuEv4Z/QxYu UJhpBzsYlop6Xr0GWJNiIuuo29Hjrl51S4y9ZbArOWJnCktCAQJBu3OMXps/ZZMEuafd KpxUIIbTZ47Lwcu6tUogZknzshChWh5XUvprjGKvOh8KJ388DwTqQNvdjynMQ3yXnaio jv3Q== X-Received: by 10.68.107.226 with SMTP id hf2mr7872169pbb.28.1372992323426; Thu, 04 Jul 2013 19:45:23 -0700 (PDT) Received: from [192.168.1.100] ([114.223.247.37]) by mx.google.com with ESMTPSA id v20sm5740183paj.4.2013.07.04.19.45.20 for (version=TLSv1 cipher=ECDHE-RSA-RC4-SHA bits=128/128); Thu, 04 Jul 2013 19:45:22 -0700 (PDT) Message-ID: <51D6333D.7000208@gmail.com> Date: Fri, 05 Jul 2013 10:45:17 +0800 From: Yanhui Shen User-Agent: Mozilla/5.0 (X11; FreeBSD amd64; rv:17.0) Gecko/20130627 Thunderbird/17.0.7 MIME-Version: 1.0 To: freebsd-ports@freebsd.org Subject: Re: mplayer2 wont decode audio References: <51D5B891.3050103@intertainservices.com> In-Reply-To: <51D5B891.3050103@intertainservices.com> Content-Type: text/plain; charset=ISO-8859-1; format=flowed Content-Transfer-Encoding: 7bit X-BeenThere: freebsd-ports@freebsd.org X-Mailman-Version: 2.1.14 Precedence: list List-Id: Porting software to FreeBSD List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Fri, 05 Jul 2013 02:45:23 -0000 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"