[FFmpeg-devel] [PATCH v3] doc/filters: add example for idet filter

Stefano Sabatini stefasab at gmail.com
Tue Dec 12 01:51:47 EET 2023


On date Monday 2023-12-11 14:07:42 -0600, Marth64 wrote:
> Clean up the example further. Sorry.
> 
> Signed-off-by: Marth64 <marth64 at proxyid.net>
> ---
>  doc/filters.texi | 7 +++++++
>  1 file changed, 7 insertions(+)
> 
> diff --git a/doc/filters.texi b/doc/filters.texi
> index 6d00ba2c3f..bf59352ba0 100644
> --- a/doc/filters.texi
> +++ b/doc/filters.texi
> @@ -15919,6 +15919,13 @@ further computations. This allows inserting the idet filter as a low computation
>  method to clean up the interlaced flag
>  @end table
>  
> + at subsection Examples
> +

> +Analyze the field order of the first 360 frames in a video:
> + at example
> +ffmpeg -i INPUT -filter:v idet -frames:v 360 -an -f null -
> + at end example

Probably it's also useful to clarify the expectations for the user.
This command will add the metadata to the frames, which will be then
discarded, and print a final report with some stats.
Probably it's more useful to show a complete example showing the value
for each frame, for example with metadata=mode=print

-filter:v idet,metadata=mode=print 


More information about the ffmpeg-devel mailing list