From owner-freebsd-ports@FreeBSD.ORG Fri Jul 5 03:06:13 2013 Return-Path: Delivered-To: freebsd-ports@freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2001:1900:2254:206a::19:1]) by hub.freebsd.org (Postfix) with ESMTP id 28AE2DE2 for ; Fri, 5 Jul 2013 03:06:13 +0000 (UTC) (envelope-from shen.elf@gmail.com) Received: from mail-oa0-x22d.google.com (mail-oa0-x22d.google.com [IPv6:2607:f8b0:4003:c02::22d]) by mx1.freebsd.org (Postfix) with ESMTP id EE5C61CA2 for ; Fri, 5 Jul 2013 03:06:12 +0000 (UTC) Received: by mail-oa0-f45.google.com with SMTP id j1so2739298oag.18 for ; Thu, 04 Jul 2013 20:06:12 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=20120113; h=mime-version:in-reply-to:references:date:message-id:subject:from:to :content-type; bh=HV6XwHdywSN0nyNsFmBVFillMPW1sZMEzbP1S/+JJek=; b=piEBbq5/VuZLHp3elsj6nk3udre7PAHt1fElZCsngGO+y31bqbRBHskwkqCE5sU+zr zey6OE/WshgBXIEqsUXLbq2JupcDnirayXtmP7dGX02bSOE+u47Pig6sU3PRvTjAU9yB VZAgkr8o91b0NDBU1LMI5fqrv8oDqw2vf7dDeLantwfelCaIMz0ioFqjHPx56GR7LMOJ JEmnyPC1xjfjuhBjeia7xV/EbG33XKLbPI6tIL0UQMq272UlqsZ3nT8NypD9KdwtGgGw U6HZ3ZE3dn6fPQF7QlhxxbblCSdbwGlKtYTfdWn6MKNFuxNRXSFcXBmYFiMffyHr4asg kIzQ== MIME-Version: 1.0 X-Received: by 10.182.129.129 with SMTP id nw1mr8812886obb.100.1372993572533; Thu, 04 Jul 2013 20:06:12 -0700 (PDT) Received: by 10.76.99.76 with HTTP; Thu, 4 Jul 2013 20:06:12 -0700 (PDT) In-Reply-To: <51D6333D.7000208@gmail.com> References: <51D5B891.3050103@intertainservices.com> <51D6333D.7000208@gmail.com> Date: Fri, 5 Jul 2013 11:06:12 +0800 Message-ID: Subject: Re: mplayer2 wont decode audio From: Yanhui Shen To: "freebsd-ports@freebsd.org" Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: quoted-printable X-Content-Filtered-By: Mailman/MimeDel 2.1.14 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 03:06:13 -0000 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 >> To unsubscribe, send any mail to "freebsd-ports-unsubscribe@freebsd.org" >> > >