From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: from ffbox0-bg.mplayerhq.hu (ffbox0-bg.ffmpeg.org [79.124.17.100]) by master.gitmailbox.com (Postfix) with ESMTP id EAD91482BC for ; Sat, 20 Jan 2024 14:11:31 +0000 (UTC) Received: from [127.0.1.1] (localhost [127.0.0.1]) by ffbox0-bg.mplayerhq.hu (Postfix) with ESMTP id B932068D030; Sat, 20 Jan 2024 16:11:21 +0200 (EET) Received: from mail-ej1-f48.google.com (mail-ej1-f48.google.com [209.85.218.48]) by ffbox0-bg.mplayerhq.hu (Postfix) with ESMTPS id 3CB5968CF88 for ; Sat, 20 Jan 2024 16:11:14 +0200 (EET) Received: by mail-ej1-f48.google.com with SMTP id a640c23a62f3a-a28cc85e6b5so202529166b.1 for ; Sat, 20 Jan 2024 06:11:14 -0800 (PST) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=20230601; t=1705759873; x=1706364673; darn=ffmpeg.org; h=content-transfer-encoding:mime-version:references:in-reply-to :message-id:date:subject:cc:to:from:from:to:cc:subject:date :message-id:reply-to; bh=uRbkgzSCZhulodzM+IymGLdN1yWnFA3TEa6uQ74w9vA=; b=GyzyJn9uMwTR0VbQ6qPJxqF/JuRdzHx7wUjOGxcQcbbsMjy8joGaPT/Rercj3GvfVv 9FbLdctThgnsVzbqubwL/OxRYcOHKZc6Hjo2r/4Tk2ZHI1I/QotHthkfN7u1lzhuBJnB dSrpYd4f4UVWNkIJ9rzLDZw/C+bEt/xDkAee3oQuSgkWI42cJZyQV5CaindkaAGHc2fE tEY72lA7puTpORAEg6uJSMSGu02wqEwf5iABVCRL94PTQ4Tlm0gvuyE7eQldVz30huNy W6yv63lxKrE8qou7RTBphB51NvVSZPW3X7+eBoS9y3iuNBOQooH5u6w8L+IoGihrYYaV T0tw== X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20230601; t=1705759873; x=1706364673; h=content-transfer-encoding:mime-version:references:in-reply-to :message-id:date:subject:cc:to:from:x-gm-message-state:from:to:cc :subject:date:message-id:reply-to; bh=uRbkgzSCZhulodzM+IymGLdN1yWnFA3TEa6uQ74w9vA=; b=e0yWogPyTen/ZoYCvApGUTcwAwFy3AH6QcGpQvjHtJqfxe+i4wInRhwg+G412B7q71 JehmcsqS8pKCG4w/wxjyYmw34sZAY5mkA616N72ZaoQwEXcyYi3n29Og2iBtz4oqso12 LWJf/UcLCmmdTqdjCUGpnhwhxoXa5oY2eee5AEzSUwMBh6Pw6ELt030RoXefYB+u2hqU talf+4LafPTqrObA3uDWZWnwR/e0v+/Ll2xoWiUmSmZoxFTq3ovhE0ndRjwKhynfNCYx ULP5JeAVfEydVnO3dqX4L7QF4Hn9IRIqDu8RmTQG3zQ8/2eZv4b2VB8LienM8e53THSf gavw== X-Gm-Message-State: AOJu0YwyyLR6cI9M1KCSs/mW/46GPJ2j1QbS+Cl8EM+Szo+sTBoXep84 iZB49E0If6mebPVt3TTzEEeUVz9muSQD2vS+RvBNEUzeJyIvBGKJVwif+8AJ X-Google-Smtp-Source: AGHT+IHoG1xm+942jUCJc/OZ5DzIomwJ748sOtQpsOmVnCRASLwqIqKe+yDYgC3u2G/hneue63Z8yQ== X-Received: by 2002:a17:907:8b95:b0:a28:d9df:40f8 with SMTP id tb21-20020a1709078b9500b00a28d9df40f8mr574766ejc.29.1705759872394; Sat, 20 Jan 2024 06:11:12 -0800 (PST) Received: from mariano (dynamic-adsl-84-220-189-10.clienti.tiscali.it. [84.220.189.10]) by smtp.gmail.com with ESMTPSA id vi14-20020a170907d40e00b00a2f1a1259fesm3219203ejc.207.2024.01.20.06.11.11 (version=TLS1_3 cipher=TLS_AES_256_GCM_SHA384 bits=256/256); Sat, 20 Jan 2024 06:11:11 -0800 (PST) Received: by mariano (Postfix, from userid 1000) id D5849BFCDA; Sat, 20 Jan 2024 15:11:10 +0100 (CET) From: Stefano Sabatini To: FFmpeg development discussions and patches Date: Sat, 20 Jan 2024 15:11:10 +0100 Message-Id: <20240120141110.601060-2-stefasab@gmail.com> X-Mailer: git-send-email 2.34.1 In-Reply-To: <20240120141110.601060-1-stefasab@gmail.com> References: <20240120141110.601060-1-stefasab@gmail.com> MIME-Version: 1.0 Subject: [FFmpeg-devel] [PATCH 2/2] doc/muxers: add daud X-BeenThere: ffmpeg-devel@ffmpeg.org X-Mailman-Version: 2.1.29 Precedence: list List-Id: FFmpeg development discussions and patches List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Reply-To: FFmpeg development discussions and patches Cc: Stefano Sabatini Content-Type: text/plain; charset="us-ascii" Content-Transfer-Encoding: 7bit Errors-To: ffmpeg-devel-bounces@ffmpeg.org Sender: "ffmpeg-devel" Archived-At: List-Archive: List-Post: --- doc/muxers.texi | 26 ++++++++++++++++++++++++++ 1 file changed, 26 insertions(+) diff --git a/doc/muxers.texi b/doc/muxers.texi index a49853daf2..a9f2f6fe17 100644 --- a/doc/muxers.texi +++ b/doc/muxers.texi @@ -1312,6 +1312,32 @@ ffmpeg -re -i -map 0 -map 0 -c:a libfdk_aac -c:v libx264 \ -f dash /path/to/out.mpd @end example +@section daud +D-Cinema audio muxer. + +It accepts a single 6-channels audio stream resampled at 96000 Hz +encoded with the @samp{pcm_24daud} codec. + +In addition, each muxed packet size must not be greater than 65535 bytes. + +@subsection Example +Use @command{ffmpeg} to mux audio. + +The command convert the input audio to a @samp{5.1} channel layout +resampled at 96000Hz: +@example +ffmpeg -i INPUT -af aresample=96000,pan=5.1,asetnsamples=3640 slow.302 +@end example + +The @samp{asetnsamples} filter is used to reduce the number of samples +of each audio packet, with a size computed according to the formula: +@example +65535 / (@var{channels} * @var{encoded_sample_size}) = 655535 / (6 * 3) = 3640 +@end example + +The @var{encoded_sample_size} = 3 factor is due to sample size of the +@samp{pcm_24daud} encoder. + @anchor{fifo} @section fifo -- 2.34.1 _______________________________________________ ffmpeg-devel mailing list ffmpeg-devel@ffmpeg.org https://ffmpeg.org/mailman/listinfo/ffmpeg-devel To unsubscribe, visit link above, or email ffmpeg-devel-request@ffmpeg.org with subject "unsubscribe".