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] doc/filters: add example for idet filter
@ 2023-12-11 19:53 Marth64
  2023-12-12  0:18 ` Michael Niedermayer
  0 siblings, 1 reply; 6+ messages in thread
From: Marth64 @ 2023-12-11 19:53 UTC (permalink / raw)
  To: ffmpeg-devel; +Cc: Marth64

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..1250685bc7 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 rawvideo -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] 6+ messages in thread

* Re: [FFmpeg-devel] [PATCH] doc/filters: add example for idet filter
  2023-12-11 19:53 [FFmpeg-devel] [PATCH] doc/filters: add example for idet filter Marth64
@ 2023-12-12  0:18 ` Michael Niedermayer
  2023-12-12  0:19   ` Michael Niedermayer
  0 siblings, 1 reply; 6+ messages in thread
From: Michael Niedermayer @ 2023-12-12  0:18 UTC (permalink / raw)
  To: FFmpeg development discussions and patches


[-- Attachment #1.1: Type: text/plain, Size: 998 bytes --]

On Mon, Dec 11, 2023 at 01:53:36PM -0600, Marth64 wrote:
> 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..1250685bc7 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 rawvideo -y /dev/null

why -f rawvideo and not -f null ?

thx

[...]
-- 
Michael     GnuPG fingerprint: 9FF2128B147EF6730BADF133611EC787040B0FAB

Does the universe only have a finite lifespan? No, its going to go on
forever, its just that you wont like living in it. -- Hiranya Peiri

[-- Attachment #1.2: signature.asc --]
[-- Type: application/pgp-signature, Size: 195 bytes --]

[-- Attachment #2: Type: text/plain, Size: 251 bytes --]

_______________________________________________
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] 6+ messages in thread

* Re: [FFmpeg-devel] [PATCH] doc/filters: add example for idet filter
  2023-12-12  0:18 ` Michael Niedermayer
@ 2023-12-12  0:19   ` Michael Niedermayer
  2024-01-06 22:18     ` [FFmpeg-devel] [PATCH v4] doc/filters: add idet example Marth64
  0 siblings, 1 reply; 6+ messages in thread
From: Michael Niedermayer @ 2023-12-12  0:19 UTC (permalink / raw)
  To: FFmpeg development discussions and patches


[-- Attachment #1.1: Type: text/plain, Size: 1180 bytes --]

On Tue, Dec 12, 2023 at 01:18:01AM +0100, Michael Niedermayer wrote:
> On Mon, Dec 11, 2023 at 01:53:36PM -0600, Marth64 wrote:
> > 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..1250685bc7 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 rawvideo -y /dev/null
> 
> why -f rawvideo and not -f null ?

i see you changed this already in a subsequent patch, please ignore me

[...]

-- 
Michael     GnuPG fingerprint: 9FF2128B147EF6730BADF133611EC787040B0FAB

The smallest minority on earth is the individual. Those who deny 
individual rights cannot claim to be defenders of minorities. - Ayn Rand

[-- Attachment #1.2: signature.asc --]
[-- Type: application/pgp-signature, Size: 195 bytes --]

[-- Attachment #2: Type: text/plain, Size: 251 bytes --]

_______________________________________________
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] 6+ messages in thread

* [FFmpeg-devel] [PATCH v4] doc/filters: add idet example
  2023-12-12  0:19   ` Michael Niedermayer
@ 2024-01-06 22:18     ` Marth64
  2024-01-06 22:20       ` Marth64
  2024-01-07 14:39       ` Stefano Sabatini
  0 siblings, 2 replies; 6+ messages in thread
From: Marth64 @ 2024-01-06 22:18 UTC (permalink / raw)
  To: ffmpeg-devel; +Cc: Marth64

Thanks all, this should be much better now.

Signed-off-by: Marth64 <marth64@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
 
+@subsection Examples
+
+Inspect the field order of the first 360 frames in a video, in verbose detail:
+@example
+ffmpeg -i INPUT -filter:v idet,metadata=mode=print -frames:v 360 -an -f null -
+@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

_______________________________________________
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] 6+ messages in thread

* Re: [FFmpeg-devel] [PATCH v4] doc/filters: add idet example
  2024-01-06 22:18     ` [FFmpeg-devel] [PATCH v4] doc/filters: add idet example Marth64
@ 2024-01-06 22:20       ` Marth64
  2024-01-07 14:39       ` Stefano Sabatini
  1 sibling, 0 replies; 6+ messages in thread
From: Marth64 @ 2024-01-06 22:20 UTC (permalink / raw)
  To: Marth64; +Cc: ffmpeg-devel

The in-reply-to didn't seem to work out, but this traces back to
https://ffmpeg.org//pipermail/ffmpeg-devel/2023-December/318226.html

On Sat, Jan 6, 2024 at 4:18 PM Marth64 <marth64@proxyid.net> wrote:

> Thanks all, this should be much better now.
>
> Signed-off-by: Marth64 <marth64@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
>
> +@subsection Examples
> +
> +Inspect the field order of the first 360 frames in a video, in verbose
> detail:
> +@example
> +ffmpeg -i INPUT -filter:v idet,metadata=mode=print -frames:v 360 -an -f
> null -
> +@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
>
>
_______________________________________________
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] 6+ messages in thread

* Re: [FFmpeg-devel] [PATCH v4] doc/filters: add idet example
  2024-01-06 22:18     ` [FFmpeg-devel] [PATCH v4] doc/filters: add idet example Marth64
  2024-01-06 22:20       ` Marth64
@ 2024-01-07 14:39       ` Stefano Sabatini
  1 sibling, 0 replies; 6+ messages in thread
From: Stefano Sabatini @ 2024-01-07 14:39 UTC (permalink / raw)
  To: FFmpeg development discussions and patches; +Cc: Marth64

On date Saturday 2024-01-06 16:18:39 -0600, Marth64 wrote:
> Thanks all, this should be much better now.
> 
> Signed-off-by: Marth64 <marth64@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
>  
> +@subsection Examples
> +
> +Inspect the field order of the first 360 frames in a video, in verbose detail:
> +@example
> +ffmpeg -i INPUT -filter:v idet,metadata=mode=print -frames:v 360 -an -f null -
> +@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.
> +

Thanks, will apply.
_______________________________________________
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] 6+ messages in thread

end of thread, other threads:[~2024-01-07 14:39 UTC | newest]

Thread overview: 6+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2023-12-11 19:53 [FFmpeg-devel] [PATCH] doc/filters: add example for idet filter Marth64
2023-12-12  0:18 ` Michael Niedermayer
2023-12-12  0:19   ` Michael Niedermayer
2024-01-06 22:18     ` [FFmpeg-devel] [PATCH v4] doc/filters: add idet example Marth64
2024-01-06 22:20       ` Marth64
2024-01-07 14:39       ` 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