[FFmpeg-user] Using the "select" filter
ubitux at gmail.com
Thu Nov 17 20:09:40 CET 2011
On Thu, Nov 17, 2011 at 11:19:48AM +0000, Tim Nicholson wrote:
> The examples of using the select filter given at:-
> suggest, for example,
> # select only I-frames
> However when I tried this I got an error.
> ffmpeg -i in.mp4 -vf "select='eq(pict_type\,I)', showinfo" -f mp4 -y
> Missing ')' or too many args in 'eq(pict_type\,I)'
> Removing the "\" which I assume is there to "escape" the comma
> solved the problem, thus:-
> ffmpeg -i in.mp4 -vf "select='eq(pict_type,I)', showinfo" -f mp4 -y
> This looks like a small error in the docs.
You are not supposed to add quotes around the select.
ffmpeg -i in.mp4 -vf select='eq(pict_type,I)',showinfo -f ...
-------------- next part --------------
A non-text attachment was scrubbed...
Name: not available
Size: 490 bytes
Desc: not available
More information about the ffmpeg-user