From owner-freebsd-multimedia@FreeBSD.ORG Tue Jan 24 12:57:54 2012 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 89C2E1065672; Tue, 24 Jan 2012 12:57:54 +0000 (UTC) (envelope-from mickael.maillot@gmail.com) Received: from mail-qy0-f182.google.com (mail-qy0-f182.google.com [209.85.216.182]) by mx1.freebsd.org (Postfix) with ESMTP id 19BBE8FC1D; Tue, 24 Jan 2012 12:57:53 +0000 (UTC) Received: by qcse1 with SMTP id e1so2872825qcs.13 for ; Tue, 24 Jan 2012 04:57:53 -0800 (PST) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=gamma; h=mime-version:in-reply-to:references:date:message-id:subject:from:to :cc:content-type; bh=+HPOupBZfFXVHXVbjB98ET9QD5uYurQj1Z7VwCP2ROA=; b=YwGa5wH4zA25OnejzRYWlDyTwi0kKuLEZ32f4K0tcPaHMNnJ6KK2qC9cNlq4kBZBLU XNSPIbZENExs7fRJMs5+4AlzR2aLiNH0pJgyCaiRdB5TjTMU8mlGltND2p50D4pfwsat xl3tKe/pnqUGAeNT07vM28WuxENNnVBqDbffY= MIME-Version: 1.0 Received: by 10.224.214.201 with SMTP id hb9mr14453771qab.86.1327409843380; Tue, 24 Jan 2012 04:57:23 -0800 (PST) Received: by 10.229.124.11 with HTTP; Tue, 24 Jan 2012 04:57:02 -0800 (PST) In-Reply-To: <4F1ACBA8.6000203@FreeBSD.org> References: <4F0DE3FD.2020203@FreeBSD.org> <20120112121853.GC1429@procyon.xvoid.org> <4F0ED8D0.8080403@FreeBSD.org> <4F171D7A.4080003@FreeBSD.org> <4F177979.5010106@FreeBSD.org> <4F1ACBA8.6000203@FreeBSD.org> Date: Tue, 24 Jan 2012 13:57:02 +0100 Message-ID: From: =?ISO-8859-1?Q?Micka=EBl_Maillot?= To: Alexander Motin Content-Type: text/plain; charset=ISO-8859-1 X-Content-Filtered-By: Mailman/MimeDel 2.1.5 Cc: freebsd-multimedia@freebsd.org, FreeBSD current Subject: Re: [RFT] Major snd_hda rewrite 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: Tue, 24 Jan 2012 12:57:54 -0000 2012/1/21 Alexander Motin > > From that description I can conclude that you are passing through > compressed DTS-HD and TrueHD streams to the receiver. What are the bitrates > of streams you are playing? It looks like your receiver doesn't receives > all data. If I understand right, to transfer with compressed bitrates above > 6.144Mbps special High Bit Rate mode should be activated in CODEC, when > data stream occupies all 8 HDMI channels instead of 2. I haven't > implemented this feature yet as my receiver doesn't support such HD formats. > i dont think bitrate is over 6.144Mbps. for TrueHD files, mediainfo reports: Format profile : TrueHD / Core Mode extension : CM (complete main) Codec ID : 131 Bit rate mode : Variable / Constant Bit rate : Unknown / 640 Kbps Maximum bit rate : 2 868 Kbps / 640 Kbps Channel(s) : 6 channels and for DTS-HDMA, mediainfo can't calculate it, but from description, all tested file have bitrate below 3689 kbps > I'll try to make a patch for it a bit later and send you to try. i'll be happy to try it. Until that time, is it possible to make your xbmc to decode those HD > streams into different number of uncompressed LPCM channels to play it that > way? yes, it's just an option. It would be interesting to test 6.0, 6.1, 7.0 and 7.1 LPCM configurations > with your receiver. Or at least normal definition 7.1 playback would be > interesting to test (you can just set vchanformat to s16le:7.1 or s32le:7.1 > and play anything). > > i sucessfully tried 6.1 and 7.1 LPCM in 16 bits. just a small channel order issue (center and a surround back inversion) which can be solved easily. i'll add 32bits support in XBMC later for my test but from what you say, it'll not work because 8 channels / 48khz / 16 bits = 6.144 Mbit/s. > What do you mean that you can't set more then 2 channels? I've never tried > to set ac3 format with more then 2 channels, but s16le:7.1 and s32le:7.1 > should work fine. At least s16le:5.1 and s32le:5.1 are working perfectly > for me. For HDA 24bit samples stored in memory as 32bit, so setting s24le > format only cause extra 24->32bit conversion. > > > i never show things like PCMDIR_...: Stream setup.... in my messages, so >> may be i use oss wrongly. >> > > They are printed only when hw.snd.verbose set to 4. > > ok thanks for the tips.