[FFmpeg-devel] [PATCH] doc/filters: do not assume shell escaping in select examples

Stefano Sabatini stefasab at gmail.com
Tue Dec 11 23:42:51 CET 2012


We assume that the filter specified is the string passed as
filtergraph. Possibly less confusing, since the shell escaping is
shell-dependent.
---
 doc/filters.texi |   12 ++++++------
 1 file changed, 6 insertions(+), 6 deletions(-)

diff --git a/doc/filters.texi b/doc/filters.texi
index cea6384..54d73b2 100644
--- a/doc/filters.texi
+++ b/doc/filters.texi
@@ -4751,37 +4751,37 @@ select=0
 @item
 Select only I-frames:
 @example
-select='eq(pict_type\,I)'
+select='eq(pict_type,I)'
 @end example
 
 @item
 Select one frame every 100:
 @example
-select='not(mod(n\,100))'
+select='not(mod(n,100))'
 @end example
 
 @item
 Select only frames contained in the 10-20 time interval:
 @example
-select='gte(t\,10)*lte(t\,20)'
+select='gte(t,10)*lte(t,20)'
 @end example
 
 @item
 Select only I frames contained in the 10-20 time interval:
 @example
-select='gte(t\,10)*lte(t\,20)*eq(pict_type\,I)'
+select='gte(t,10)*lte(t,20)*eq(pict_type,I)'
 @end example
 
 @item
 Select frames with a minimum distance of 10 seconds:
 @example
-select='isnan(prev_selected_t)+gte(t-prev_selected_t\,10)'
+select='isnan(prev_selected_t)+gte(t-prev_selected_t,10)'
 @end example
 
 @item
 Use aselect to select only audio frames with samples number > 100:
 @example
-aselect='gt(samples_n\,100)'
+aselect='gt(samples_n,100)'
 @end example
 
 @item
-- 
1.7.9.5



More information about the ffmpeg-devel mailing list