[FFmpeg-cvslog] doc/muxers: add daud

Stefano Sabatini git at videolan.org
Wed Jan 24 01:21:37 EET 2024


ffmpeg | branch: master | Stefano Sabatini <stefasab at gmail.com> | Sat Jan 20 15:10:35 2024 +0100| [916373014e006379468832830870810c5d985836] | committer: Stefano Sabatini

doc/muxers: add daud

> http://git.videolan.org/gitweb.cgi/ffmpeg.git/?a=commit;h=916373014e006379468832830870810c5d985836
---

 doc/muxers.texi | 24 ++++++++++++++++++++++++
 1 file changed, 24 insertions(+)

diff --git a/doc/muxers.texi b/doc/muxers.texi
index a49853daf2..d65eaa767b 100644
--- a/doc/muxers.texi
+++ b/doc/muxers.texi
@@ -1312,6 +1312,30 @@ ffmpeg -re -i <input> -map 0 -map 0 -c:a libfdk_aac -c:v libx264 \
 -f dash /path/to/out.mpd
 @end example
 
+ at 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.
+
+ at subsection Example
+Use @command{ffmpeg} to mux input audio to a @samp{5.1} channel layout
+resampled at 96000Hz:
+ at example
+ffmpeg -i INPUT -af aresample=96000,pan=5.1,asetnsamples=3640 slow.302
+ at 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:
+ at example
+65535 / (@var{channels} * @var{encoded_sample_size}) = 655535 / (6 * 3) = 3640
+ at end example
+
+The @var{encoded_sample_size} = 3 factor is due to sample size of the
+ at samp{pcm_24daud} encoder.
+
 @anchor{fifo}
 @section fifo
 



More information about the ffmpeg-cvslog mailing list