From owner-freebsd-multimedia@FreeBSD.ORG Sun Apr 20 04:32:26 2008 Return-Path: Delivered-To: freebsd-multimedia@freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2001:4f8:fff6::34]) by hub.freebsd.org (Postfix) with ESMTP id 55314106566B for ; Sun, 20 Apr 2008 04:32:26 +0000 (UTC) (envelope-from freebsd@sopwith.solgatos.com) Received: from parsely.rain.com (parsely.rain.com [199.26.172.196]) by mx1.freebsd.org (Postfix) with ESMTP id CD8D28FC24 for ; Sun, 20 Apr 2008 04:32:25 +0000 (UTC) (envelope-from freebsd@sopwith.solgatos.com) Received: from sopwith.solgatos.com (uucp@localhost) by parsely.rain.com (8.11.4/8.11.4) with UUCP id m3K4WNn61501 for freebsd-multimedia@freebsd.org; Sat, 19 Apr 2008 21:32:23 -0700 (PDT) (envelope-from freebsd@sopwith.solgatos.com) Received: from localhost by sopwith.solgatos.com (8.8.8/6.24) id DAA25317; Sun, 20 Apr 2008 03:41:23 GMT Message-Id: <200804200341.DAA25317@sopwith.solgatos.com> To: freebsd-multimedia@freebsd.org Date: Sat, 19 Apr 2008 20:41:23 +0100 From: Dieter Subject: ffmpeg and ac3 ? X-BeenThere: freebsd-multimedia@freebsd.org X-Mailman-Version: 2.1.5 Precedence: list Reply-To: freebsd@sopwith.solgatos.com List-Id: Multimedia discussions List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Sun, 20 Apr 2008 04:32:26 -0000 FreeBSD 7.0 release amd64 I compiled ffmpeg from ports. Input is mpeg2 transport stream from OTA ATSC/8VSB. Output is DV. My old non-ports ffmpeg reports the input as Stream #0.2[0x34]: Audio: ac3, 48000 Hz, stereo, 384 kb/s or Stream #0.2[0x34]: Audio: ac3, 48000 Hz, 5:1, 448 kb/s or similar. Ffmpeg from ports says: Stream #0.1[0x44], 1/90000: Audio: liba52, 48000 Hz, stereo, 192 kb/s output is: old: Stream #0.1: Audio: pcm_s16le, 48000 Hz, stereo, 1536 kb/s new: Stream #0.1, 1/90000: Audio: pcm_s16le, 48000 Hz, stereo, 1536 kb/s Audio was ok with the old version. I don't recall haviing to jump through any hoops to get audio working before. Problem is, with the new ports version, the output is silent. No error messages, just silence. Adding "-acodec ac3" gives "unknown codec". There is a libavcodec/ac3dec.c ac3 decoder, but it doesn't appear to be used. Turning on ENABLE_AC3_DECODER in config.h doesn't build. Didn't find anything with google. What is the secret?