Changes between Version 31 and Version 32 of FilteringGuide
- Timestamp:
- May 7, 2013, 11:44:14 PM (13 years ago)
Legend:
- Unmodified
- Added
- Removed
- Modified
-
FilteringGuide
v31 v32 53 53 As described in the documentation, it can be necessary to escape commas "," that need to appear in some arguments, for example the select filter:- 54 54 {{{ 55 ffmpeg -i input -vf select='eq(pict_type\, I)' output #to select only I frames55 ffmpeg -i input -vf select='eq(pict_type\,PICT_TYPE_I)' output #to select only I frames 56 56 }}} 57 57 58 58 However an alternative, which also allows for white space within the filtergraph, and which may assist in clarity of reading complex graphs, is to enclose the whole filtergraph within double quotes " " thus: 59 59 {{{ 60 ffmpeg -i input -vf "select=eq(pict_type, I)" output#to select only I frames60 ffmpeg -i input -vf "select=eq(pict_type,PICT_TYPE_I)" output #to select only I frames 61 61 ffmpeg -i input -vf "yadif=0:-1:0, scale=iw/2:-1" output # deinterlace then resize 62 62 }}}
