Git Inbox Mirror of the ffmpeg-devel mailing list - see https://ffmpeg.org/mailman/listinfo/ffmpeg-devel
 help / color / mirror / Atom feed
* [FFmpeg-devel] [PATCH v2] doc/filters: add example for idet filter
@ 2023-12-11 19:55 Marth64
  2023-12-11 20:07 ` [FFmpeg-devel] [PATCH v3] " Marth64
  0 siblings, 1 reply; 3+ messages in thread
From: Marth64 @ 2023-12-11 19:55 UTC (permalink / raw)
  To: ffmpeg-devel; +Cc: Marth64

Cleaned up mistake of outputting with rawvideo format

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

diff --git a/doc/filters.texi b/doc/filters.texi
index 6d00ba2c3f..e595f7d152 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
 
+@subsection Examples
+
+Analyze the field order of the first 360 frames in a video (use @code{NUL} as output for Windows):
+@example
+ffmpeg -i INPUT -filter:v idet -frames:v 360 -an -f null -y /dev/null
+@end example
+
 @section il
 
 Deinterleave or interleave fields.
-- 
2.34.1

_______________________________________________
ffmpeg-devel mailing list
ffmpeg-devel@ffmpeg.org
https://ffmpeg.org/mailman/listinfo/ffmpeg-devel

To unsubscribe, visit link above, or email
ffmpeg-devel-request@ffmpeg.org with subject "unsubscribe".

^ permalink raw reply	[flat|nested] 3+ messages in thread

* [FFmpeg-devel] [PATCH v3] doc/filters: add example for idet filter
  2023-12-11 19:55 [FFmpeg-devel] [PATCH v2] doc/filters: add example for idet filter Marth64
@ 2023-12-11 20:07 ` Marth64
  2023-12-11 23:51   ` Stefano Sabatini
  0 siblings, 1 reply; 3+ messages in thread
From: Marth64 @ 2023-12-11 20:07 UTC (permalink / raw)
  To: ffmpeg-devel; +Cc: Marth64

Clean up the example further. Sorry.

Signed-off-by: Marth64 <marth64@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
 
+@subsection Examples
+
+Analyze the field order of the first 360 frames in a video:
+@example
+ffmpeg -i INPUT -filter:v idet -frames:v 360 -an -f null -
+@end example
+
 @section il
 
 Deinterleave or interleave fields.
-- 
2.34.1

_______________________________________________
ffmpeg-devel mailing list
ffmpeg-devel@ffmpeg.org
https://ffmpeg.org/mailman/listinfo/ffmpeg-devel

To unsubscribe, visit link above, or email
ffmpeg-devel-request@ffmpeg.org with subject "unsubscribe".

^ permalink raw reply	[flat|nested] 3+ messages in thread

* Re: [FFmpeg-devel] [PATCH v3] doc/filters: add example for idet filter
  2023-12-11 20:07 ` [FFmpeg-devel] [PATCH v3] " Marth64
@ 2023-12-11 23:51   ` Stefano Sabatini
  0 siblings, 0 replies; 3+ messages in thread
From: Stefano Sabatini @ 2023-12-11 23:51 UTC (permalink / raw)
  To: FFmpeg development discussions and patches; +Cc: Marth64

On date Monday 2023-12-11 14:07:42 -0600, Marth64 wrote:
> Clean up the example further. Sorry.
> 
> Signed-off-by: Marth64 <marth64@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
>  
> +@subsection Examples
> +

> +Analyze the field order of the first 360 frames in a video:
> +@example
> +ffmpeg -i INPUT -filter:v idet -frames:v 360 -an -f null -
> +@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 
_______________________________________________
ffmpeg-devel mailing list
ffmpeg-devel@ffmpeg.org
https://ffmpeg.org/mailman/listinfo/ffmpeg-devel

To unsubscribe, visit link above, or email
ffmpeg-devel-request@ffmpeg.org with subject "unsubscribe".

^ permalink raw reply	[flat|nested] 3+ messages in thread

end of thread, other threads:[~2023-12-11 23:51 UTC | newest]

Thread overview: 3+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2023-12-11 19:55 [FFmpeg-devel] [PATCH v2] doc/filters: add example for idet filter Marth64
2023-12-11 20:07 ` [FFmpeg-devel] [PATCH v3] " Marth64
2023-12-11 23:51   ` Stefano Sabatini

Git Inbox Mirror of the ffmpeg-devel mailing list - see https://ffmpeg.org/mailman/listinfo/ffmpeg-devel

This inbox may be cloned and mirrored by anyone:

	git clone --mirror https://master.gitmailbox.com/ffmpegdev/0 ffmpegdev/git/0.git

	# If you have public-inbox 1.1+ installed, you may
	# initialize and index your mirror using the following commands:
	public-inbox-init -V2 ffmpegdev ffmpegdev/ https://master.gitmailbox.com/ffmpegdev \
		ffmpegdev@gitmailbox.com
	public-inbox-index ffmpegdev

Example config snippet for mirrors.


AGPL code for this site: git clone https://public-inbox.org/public-inbox.git