diff options
author | Romain Gonçalves <me@rgoncalves.se> | 2024-07-02 14:14:33 +0200 |
---|---|---|
committer | Romain Gonçalves <me@rgoncalves.se> | 2024-07-02 14:14:33 +0200 |
commit | bd4a9fd003409ac70dbb15ce9e1432ae17183eed (patch) | |
tree | b743070e4782e83a8f0d7e4ddfbeac3072ee5e27 | |
parent | 0cd1ac2807b48fa084e14d02e67797ced67f88ae (diff) | |
download | rgoncalves.se-bd4a9fd003409ac70dbb15ce9e1432ae17183eed.tar.gz |
feat(blog): add ffmpeg precisions
-rw-r--r-- | src/b/2024-07-01-openbsd-nextcloud-memories-exiftool.md | 10 |
1 files changed, 8 insertions, 2 deletions
diff --git a/src/b/2024-07-01-openbsd-nextcloud-memories-exiftool.md b/src/b/2024-07-01-openbsd-nextcloud-memories-exiftool.md index c9dc4ff..15f2f7f 100644 --- a/src/b/2024-07-01-openbsd-nextcloud-memories-exiftool.md +++ b/src/b/2024-07-01-openbsd-nextcloud-memories-exiftool.md @@ -18,13 +18,19 @@ However there are some quirks that needs to be fixed after a fresh install. Copy the ffmpeg, ffprobe and perl binaries in the */var/www* chroot, preserving their directory structure. Same for each of their libraries, retrieved with ldd. -Copy the libdata perl5 directory in the */var/www* chroot. +Copy the libdata perl5 directory in the */var/www* chroot: ``` mkdir /var/www/usr/local/libdata cp -r /usr/local/libdata/perl5 /var/www/usr/local/libdata ``` +Append the library path for ffmpeg and ffmprobe in the */etc/php-fpm.conf*: + +``` +env[LD_LIBRARY_PATH] = /usr/local/lib:/usr/X11R6/lib +``` + ### Filecache template If for some reasons you can not preview the details of a file from Memories or @@ -52,7 +58,7 @@ following lines *(thanks ### Automation Most of these steps are automated at -[roles/nextcloud/tasks/dependencies.yml](https://git.rgoncalves.se/_infrastructure/rules/tree/roles/nextcloud/tasks/dependencies.yml) +[roles/nextcloud/tasks/dependencies.yml](https://git.rgoncalves.se/_infrastructure/rules/tree/roles/nextcloud/tasks/dependencies.yml). ``` --- |