brew: ffmpeg (MacOS)
For Ubuntu Trusty (14.04) and Xenial (16.04) use this PPA:
sudo add-apt-repository -y ppa:cran/ffmpeg-3
sudo apt-get update
sudo apt-get install -y libavfilter-dev
If libavfilter is already installed, check that 'pkg-config' is in your
PATH and PKG_CONFIG_PATH contains a libavfilter.pc file. If pkg-config
is unavailable you can set INCLUDE_DIR and LIB_DIR manually via:
R CMD INSTALL --configure-vars='INCLUDE_DIR=... LIB_DIR=...'
---------------------------[ ERROR MESSAGE ]--------------------------------
:1:10: fatal error: libavfilter/version.h: No such file or directory
compilation terminated.
----------------------------------------------------------------------------
ERROR: configuration failed for package ‘av’
The downloaded source packages are in
‘/tmp/RtmpeDJ59g/downloaded_packages’
Warning message:
In install.packages("av") :
installation of package "av" had non-zero exit status
I got the following error when trying to install the R package called ‘av’,
--
trying URL 'https://cloud.r-project.org/src/contrib/av_0.5.1.tar.gz'; Content type 'application/x-gzip' length 751727 bytes (734 KB)
downloaded 734 KB
The downloaded source packages are in ‘/tmp/RtmpeDJ59g/downloaded_packages’ Warning message: In install.packages("av") : installation of package "av" had non-zero exit status