[FFmpeg-devel] [PATCH v3 0/1] Add-probe_streams-option
Nicolas Gaullier
nicolas.gaullier at cji.paris
Tue Oct 12 18:41:55 EEST 2021
>This is a following to a precedent work which was a too long patch serie:
>https://patchwork.ffmpeg.org/project/ffmpeg/list/?series=2593
>At the end, s337m will be probed (if the user choose to) in WAV files.
>But it is important to maintain workfows where typically WAV files are remuxed in MXF with s337m going through.
>
>I have reworked on what I think a user might expect when disabling codec auto-detection.
>I have not disabled stream probing for some very specific or legacy cases (asf, avi, mpg/Hikvision,sofdec) but maybe I should have.
>The main idea is to always trust the descriptors, even if it means crashing.
>Typically, an mpegts file having no PAT/PMT will not be supported at all. There is a clear use case for that, for example when using ffprobe in front of a transcoder that is not ffmpeg and not able to handle such files.
I am surprised there was no reaction to this patch: there is for sure things to discuss about what is a proposal for now.
This patch is required for me before rolling out my patch serie for s337m support in WAV files.
(This v3 is just a rebased version)
Thank you!
Nicolas
Nicolas Gaullier (1):
avformat: Add probe_streams option
doc/formats.texi | 3 +++
libavformat/avformat.h | 9 +++++++++
libavformat/mpeg.c | 5 +++--
libavformat/mpegts.c | 10 ++++++----
libavformat/options_table.h | 1 +
libavformat/version.h | 2 +-
libavformat/wavdec.c | 8 +++++---
7 files changed, 28 insertions(+), 10 deletions(-)
--
2.33.0.windows.2
More information about the ffmpeg-devel
mailing list