From owner-freebsd-multimedia@FreeBSD.ORG Mon Mar 31 22:27: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 A18A81065672 for ; Mon, 31 Mar 2008 22:27:26 +0000 (UTC) (envelope-from steve@sohara.org) Received: from sohara.org (sohara.org [192.220.64.179]) by mx1.freebsd.org (Postfix) with ESMTP id 8EBA88FC16 for ; Mon, 31 Mar 2008 22:27:26 +0000 (UTC) (envelope-from steve@sohara.org) Received: (qmail 57321 invoked by uid 16563); 31 Mar 2008 21:54:36 -0000 Received: from unknown (HELO df1) ([127.0.0.1]) (envelope-sender ) by 127.0.0.1 (qmail-ldap-1.03) with SMTP for ; 31 Mar 2008 21:54:36 -0000 Date: Mon, 31 Mar 2008 23:00:44 +0100 From: Steve O'Hara-Smith To: Andrew Snow Message-Id: <20080331230044.2849bff3.steve@sohara.org> In-Reply-To: <4680B350.6010607@modulus.org> References: <4680B350.6010607@modulus.org> X-Mailer: Sylpheed 2.4.8 (GTK+ 2.12.9; i386-pc-dragonfly) X-Face: %]+HVL}K`P8>+8ZcY-WGHP6j@&mxMo9JH6_WdgIgUGH)JX/usO0%jy7T~IVgqjumD^OBqX, Kv^-GM6mlw(fI^$"QRKyZ$?xx/ Mime-Version: 1.0 Content-Type: text/plain; charset=US-ASCII Content-Transfer-Encoding: 7bit Cc: freebsd-multimedia@freebsd.org Subject: Re: what program to play 24 bit FLACs? X-BeenThere: freebsd-multimedia@freebsd.org X-Mailman-Version: 2.1.5 Precedence: list List-Id: Multimedia discussions List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Mon, 31 Mar 2008 22:27:26 -0000 On Tue, 26 Jun 2007 16:33:52 +1000 Andrew Snow wrote: > Now I have 24/96 audio working with mplayer. I know it's been a long time, but I'm now in the same boat as you were then and I've found a solution :) > It is working for 24/96 WAV files, but I am trying to play 24/96 FLACs, > and the only program that appears to support 24 bit audio properly is > mplayer. Unfortunately while WAV works well with mplayer, FLAC is choppy. It's a bit long winded but this does the trick. flac -d -c --force-raw-format --endian=little --sign=signed "$file" | mplayer -rawaudio channels=2:rate=96000:samplesize=3 -format s32le -demuxer rawaudio I also have a tiny little C program (40 lines of source) that does nothing but play a 24/96 raw audio stream on stdin which works fine in place of mplayer in the above pipeline. If time permits I may work this up into a self contained flac player. Now - did you or anyone else ever find anything better ? -- C:>WIN | Directable Mirror Arrays The computer obeys and wins. | A better way to focus the sun You lose and Bill collects. | licences available see | http://www.sohara.org/