diff mbox series

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

Message ID 20231211195334.972040-1-marth64@proxyid.net
State New
Headers show
Series [FFmpeg-devel] doc/filters: add example for idet filter | expand

Checks

Context Check Description
yinshiyou/make_loongarch64 success Make finished
yinshiyou/make_fate_loongarch64 success Make fate finished
andriy/make_x86 success Make finished
andriy/make_fate_x86 success Make fate finished

Commit Message

Marth64 Dec. 11, 2023, 7:53 p.m. UTC
Signed-off-by: Marth64 <marth64@proxyid.net>
---
 doc/filters.texi | 7 +++++++
 1 file changed, 7 insertions(+)

Comments

Michael Niedermayer Dec. 12, 2023, 12:18 a.m. UTC | #1
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 Niedermayer Dec. 12, 2023, 12:19 a.m. UTC | #2
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

[...]
diff mbox series

Patch

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.