[FFmpeg-devel] [PATCH v4] doc/filters: add idet example

Marth64 marth64 at proxyid.net
Sun Jan 7 00:18:39 EET 2024


Thanks all, this should be much better now.

Signed-off-by: Marth64 <marth64 at proxyid.net>
---
 doc/filters.texi | 9 +++++++++
 1 file changed, 9 insertions(+)

diff --git a/doc/filters.texi b/doc/filters.texi
index 09fa3264ea..20c91bab3a 100644
--- a/doc/filters.texi
+++ b/doc/filters.texi
@@ -15968,6 +15968,15 @@ further computations. This allows inserting the idet filter as a low computation
 method to clean up the interlaced flag
 @end table
 
+ at subsection Examples
+
+Inspect the field order of the first 360 frames in a video, in verbose detail:
+ at example
+ffmpeg -i INPUT -filter:v idet,metadata=mode=print -frames:v 360 -an -f null -
+ at end example
+The idet filter will add analysis metadata to each frame, which will then be
+discarded. At the end, the filter will also print a final report with statistics.
+
 @section il
 
 Deinterleave or interleave fields.
-- 
2.34.1



More information about the ffmpeg-devel mailing list