[FFmpeg-devel] [PATCH] ffprobe: Add option to allow unknown format private AVOptions

Nicolas George george at nsup.org
Fri Jun 26 16:49:52 EEST 2020


Derek Buitenhuis (12020-06-26):
> This useful, because by ffprobe's very nature, you use it to probe
> a file and find out what it is. Requiring every format private option
> to be known to the demuxer forces one to run ffprobe twice, if one
> wants to use ffprobe in a generic way.
> 
> For example, say one wants to probe all user-uploaded files, while
> also ignoring edit lists for any MP4s that are uploaded. Currently,
> you'd have to run ffprobe twice: once to identify the format, and
> once again to actually probe the metadata you want. After this
> patch, you could set -ignore_editlist 1 on every call and only
> probe once.
> 
> Signed-off-by: Derek Buitenhuis <derek.buitenhuis at gmail.com>
> ---
>  fftools/ffprobe.c | 11 +++++++++--
>  1 file changed, 9 insertions(+), 2 deletions(-)

Probably a good idea, but these explanation should probably go in
doc/ffprobe.texi.

And I do not maintain ffprobe.

Regards,

-- 
  Nicolas George
-------------- next part --------------
A non-text attachment was scrubbed...
Name: signature.asc
Type: application/pgp-signature
Size: 833 bytes
Desc: not available
URL: <https://ffmpeg.org/pipermail/ffmpeg-devel/attachments/20200626/586efa9f/attachment.sig>


More information about the ffmpeg-devel mailing list