Git Inbox Mirror of the ffmpeg-devel mailing list - see https://ffmpeg.org/mailman/listinfo/ffmpeg-devel
 help / color / mirror / Atom feed
* [FFmpeg-devel] [PATCH 0/7] avformat/wavdec: s337m support
@ 2023-03-09 17:51 Nicolas Gaullier
  2023-03-09 17:51 ` [FFmpeg-devel] [PATCH 7/7] doc: add doc about dolby_e decoder and wav support Nicolas Gaullier
  0 siblings, 1 reply; 2+ messages in thread
From: Nicolas Gaullier @ 2023-03-09 17:51 UTC (permalink / raw)
  To: ffmpeg-devel; +Cc: Nicolas Gaullier

Following of https://patchwork.ffmpeg.org/project/ffmpeg/patch/20230213180936.815-5-nicolas.gaullier@cji.paris/
from the serie
https://patchwork.ffmpeg.org/project/ffmpeg/list/?series=8380

Should the version and changelog be updated too ?

Nicolas

Nicolas Gaullier (7):
  avformat/s337m: Split read_packet/get_packet
  avformat/s337m: Consider container bit resolution
  avformat/s337m: New ff_s337m_probe()
  avformat/wavdec: s337m support
  avformat/wavdec.c: Reindent after last commit
  avformat/wavdec: Test s337m
  doc: add doc about dolby_e decoder and wav support

 doc/decoders.texi        | 20 +++++++++++
 doc/demuxers.texi        | 33 +++++++++++++++++++
 libavformat/s337m.c      | 71 ++++++++++++++++++++++++++++++++++++----
 libavformat/s337m.h      | 54 ++++++++++++++++++++++++++++++
 libavformat/wavdec.c     | 61 +++++++++++++++++++++++++---------
 tests/Makefile           |  1 +
 tests/fate/audio.mak     |  3 ++
 tests/ref/fate/s337m-wav | 10 ++++++
 8 files changed, 230 insertions(+), 23 deletions(-)
 create mode 100644 libavformat/s337m.h
 create mode 100644 tests/ref/fate/s337m-wav

-- 
2.30.2

_______________________________________________
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".

^ permalink raw reply	[flat|nested] 2+ messages in thread

* [FFmpeg-devel] [PATCH 7/7] doc: add doc about dolby_e decoder and wav support
  2023-03-09 17:51 [FFmpeg-devel] [PATCH 0/7] avformat/wavdec: s337m support Nicolas Gaullier
@ 2023-03-09 17:51 ` Nicolas Gaullier
  0 siblings, 0 replies; 2+ messages in thread
From: Nicolas Gaullier @ 2023-03-09 17:51 UTC (permalink / raw)
  To: ffmpeg-devel; +Cc: Nicolas Gaullier

---
 doc/decoders.texi | 20 ++++++++++++++++++++
 doc/demuxers.texi | 33 +++++++++++++++++++++++++++++++++
 2 files changed, 53 insertions(+)

diff --git a/doc/decoders.texi b/doc/decoders.texi
index 5ba85cf9b1..750fb4bd7a 100644
--- a/doc/decoders.texi
+++ b/doc/decoders.texi
@@ -223,6 +223,26 @@ Loud sounds are fully compressed.  Soft sounds are enhanced.
 
 @end table
 
+@anchor{dolby_e}
+@section dolby_e
+
+Dolby E audio decoder.
+
+This is a raw decoder without any further processing, which means the output
+sample rate is different from the 48KHz input sample rate.
+A dolby E stream is always carried in a s337m muxer, as a raw file
+or muxed in any format that is able to transport an AES3
+or an equivalent uncompressed audio stream (stereo, 48KHz, 16/20/24 bits).
+Currently, only wav and raw file formats are supported. Other formats require
+two passes of processing: a first one to extract the s337m stream,
+and another to decode it.
+In case of AES3, or if the format itself supports it, the non-PCM mode may
+be signaled, but in a more general manner, a stream has to be probed to be
+handled as dolby E rather than pcm.
+By default, stream probing is enabled which forbids pass-through as no s337m
+muxer is implemented yet. In order to pass-through a dolby E stream,
+@code{--non_pcm_mode copy} must be specified (see input muxer options).
+
 @section flac
 
 FLAC audio decoder.
diff --git a/doc/demuxers.texi b/doc/demuxers.texi
index 3c81024f03..c86bd91461 100644
--- a/doc/demuxers.texi
+++ b/doc/demuxers.texi
@@ -928,4 +928,37 @@ which in turn, acts as a ceiling for the size of scripts that can be read.
 Default is 1 MiB.
 @end table
 
+@section wav, w64
+
+WAV/RF64/BW64/Wave64 demuxer.
+
+This demuxer supports spdif and s337m probing, as well as direct codec
+probing in some cases (dts).
+Concerning dolby E, see @ref{dolby_e,,the dolby E section in the ffmpeg-codecs manual,ffmpeg-codecs}.
+
+@subsection Options
+
+This demuxer supports the following options:
+
+@table @option
+
+@item ignore_length @var{bool}
+Ignore the length field of the 'data' chunk: read everything as data up to eof. Default is disabled.
+This option is not supported in the Wave64 demuxer.
+
+@item max_size
+Max size of a single packet. Default is 4096.
+
+@item non_pcm_mode
+This option is active only if s337m data is probed.
+Specify how this data shall be handled. Default is to demux.
+@table @samp
+@item copy
+Pass-through as pcm: s337m will not be reported
+@item demux
+Demux and report the encoded stream for later decoding
+@end table
+
+@end table
+
 @c man end DEMUXERS
-- 
2.30.2

_______________________________________________
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".

^ permalink raw reply	[flat|nested] 2+ messages in thread

end of thread, other threads:[~2023-03-09 17:51 UTC | newest]

Thread overview: 2+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2023-03-09 17:51 [FFmpeg-devel] [PATCH 0/7] avformat/wavdec: s337m support Nicolas Gaullier
2023-03-09 17:51 ` [FFmpeg-devel] [PATCH 7/7] doc: add doc about dolby_e decoder and wav support Nicolas Gaullier

Git Inbox Mirror of the ffmpeg-devel mailing list - see https://ffmpeg.org/mailman/listinfo/ffmpeg-devel

This inbox may be cloned and mirrored by anyone:

	git clone --mirror https://master.gitmailbox.com/ffmpegdev/0 ffmpegdev/git/0.git

	# If you have public-inbox 1.1+ installed, you may
	# initialize and index your mirror using the following commands:
	public-inbox-init -V2 ffmpegdev ffmpegdev/ https://master.gitmailbox.com/ffmpegdev \
		ffmpegdev@gitmailbox.com
	public-inbox-index ffmpegdev

Example config snippet for mirrors.


AGPL code for this site: git clone https://public-inbox.org/public-inbox.git