

It failed with error message: “You must upgrade the ports-mgmt/pkg port first”.Īfter a quick googling, I issued the following commands which fix it. (I tried, and it failed.) cd /usr/ports/multimedia/ffmpegĪt first, the process did not complete. Without this, the following steps do not work. This populates the ports tree on /usr/ports. It might be possible to do with via the jail shell access in FreeNAS GUI, but the process is quite long and I recommend SSH to avoid any hiccups.įollowing instruction from this thread, here is what I did: portsnap fetch extract So, I decided to go with FFmpeg instead since I have used that before and it is CLI-only, which is all I need today. Looking at the ports list, I’m not sure which of the avidemux I need. Right after jail creation, I also added storage for the jail to access the files that need editing. After that, the process didn’t actually take very long. It took about 30 minutes to download the jail template, since it is the first time I create a jail manually. The one advanced setting I change is ipv4 IP address, as I don’t want it getting that from DHCP. To create the jail and enable SSH, I follow the official documentation here. If I screw anything up (which is likely), then just delete the jail and start again.

However, it is also safer to do it in a jail. This does not affect my build because I used a 128GB SSD as boot device.

This is partly because FreeNAS is very often installed in small USB stick with not a lot of space. The recommended way is to do this within a jail, rather than at the FreeNAS OS level. I know I will need to install packages or ports on FreeNAS. Since I have nothing prepared on the FreeNAS box, I needed to take quite a few steps. So I have this idea of doing it on the FreeNAS box itself using command line interface (CLI). But in accessing over WiFi, just loading a file into avidemux takes several minutes. After getting my media files organized on FreeNAS, I wanted to make some quick video trimming.
