ropensci / av

Working with Video in R
https://docs.ropensci.org/av
Other
92 stars 10 forks source link

install AV fails - libavfilter not found #6

Closed mbmott closed 5 years ago

mbmott commented 5 years ago

Hello,

I have ffmpeg-devel installed, I have a libavfilter.pc in my PKG_CONFIG_PATH and pkg-config is in my PATH, however, the install still fails complaining about libavfilter not found. Is there something obvious I'm missing here?

Thanks in advance.

jeroen commented 5 years ago

Please include your operating system and install output.

mbmott commented 5 years ago

RHEL6

The downloaded source packages are in ‘/tmp/RtmpGtyZs3/downloaded_packages’ Updating HTML index of packages in '.Library' Making 'packages.html' ... done Warning message: In install.packages("av", dependencies = TRUE, repos = "http://cran.rstudio.com/") : installation of package ‘av’ had non-zero exit status

jeroen commented 5 years ago

Which version of ffmpeg do you have? You need at least 3.2.

mbmott commented 5 years ago

Ahh. That's going to be the problem then. Thanks for your help.

jeroen commented 5 years ago

Yeah all stock packages on RHEL are super old, it's a common problem :( I guess you need to build ffmpeg from source.