[FFmpeg-devel] [PATCH v2] ffprobe: Allow unknown format private AVOptions

Derek Buitenhuis derek.buitenhuis at gmail.com
Tue Jun 30 18:24:45 EEST 2020


On 28/06/2020 21:58, Derek Buitenhuis wrote:
> 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>
> ---
> Changed to just be the main behavior instead of behind an option,
> as Michael suggested.
> 
> Didn't really know what would be added to ffprobe.texi, though, since
> this is no longer an option.
> ---
>  fftools/ffprobe.c | 6 ++----
>  1 file changed, 2 insertions(+), 4 deletions(-)

Ping.

If nobody objects, I'll push this tomorrow.

- Derek


More information about the ffmpeg-devel mailing list