FFmpeg: Unrecognized option ‘filter:v’

I have a script that splits a given video vertically. Basically it looks like

ffmpeg -y -i input.avi -filter:v crop=480:360:0:0 output.avi

It worked all well on my local machine. But when I uploaded to the server, which is running an older version of FFmpeg on Ubuntu 12.04, it threw this error:

Unrecognized option 'filter:v'

Updating FFmpeg (or libavfilter, perhaps) will solve this error.

sudo apt-get remove ffmpeg
sudo apt-add-repository ppa:jon-severinsson/ffmpeg
sudo apt-get update
sudo apt-get install ffmpeg

Leave a Reply

Your email address will not be published.

33 − = 26