

To make it simpler and easier to maintain, I dropped libass as part of the build. This is completely updated and uses only the built-in compiler clang. Newer applications and libraries seem to always add new build tools, dependencies and methods. It builds the current master source of ffmpeg, which is needed to get support for the most part. This installation process is set up to build it with few very good encoders (fdk_aac for audio and x264 and x265 for video), but you can build it with almost anything. It is often used in servers for on-the-fly transcoding to serve videos, but the use intended here is remuxing/transcoding to produce high-quality, smaller files with desired container format and codecs.

No harm to the main FreeNAS or other jails.įFmpeg is a powerful, versatile media editing program, used in products like Plex, Kodi, and VLC. I'm really starting to appreciate jails because, when I screwed things up (many times), I just deleted the jail and started over. I've written it assuming knowledge of basic FreeNAS tasks like accessing by SSH, but for someone who has never used a jail. It took three days to figure it out as there were a lot of hurdles to overcome (and some peculiarities of FreeBSD), so I thought I would share the process for the one or two other people in the world who want to do this ). I wanted to install a custom build of ffmpeg on my FreeNAS to do long transcoding tasks and not tie up my laptop for days at a time.

** Updated 2020 May with FreeNAS 11.3 and latest libraries **
