# \[Solved\] Nextcloud video player, ffmpeg path issue?

**URL:** <https://discuss.freedombox.org/t/solved-nextcloud-video-player-ffmpeg-path-issue/4252>\
**Category:** Support\
**Created:** [May 19, 2026, 4:55pm UTC](https://discuss.freedombox.org/t/solved-nextcloud-video-player-ffmpeg-path-issue/4252 "2026-05-19T16:55:51Z")\
**Posts on this page:** 20\
**Page:** 1

<div class="post-metadata">

**Author:** ![KenW](https://discuss.freedombox.org/letter_avatar_proxy/v4/letter/k/ccd318/32.png) [@KenW](https://discuss.freedombox.org/u/KenW)\
**Post date:** [May 19, 2026, 4:55pm UTC](https://discuss.freedombox.org/t/solved-nextcloud-video-player-ffmpeg-path-issue/4252/1 "2026-05-19T16:55:51Z")

</div>

I have Freedombox running on a pc with 12 g ram and it runs nicely. I installed Debian directly on it first and then freedombox. I use nextcloud with the memories photo app on it and other apps as well.

I know that Nextcloud is supposed to be supported by the nextcloud folks and I am looking into the question I have with them but maybe someone here knows the answer.

The admin section in nextcloud asks me for the path to find ffmpeg and ffprobe. It says it can’t find them. They are both installed but nothing I put in the path setting in the admin panel seems to work to allow the system to find them. The result is that there are no thumbnails displayed for video files and they can’t be played.

### Status

You are running Debian GNU/Linux 13 (trixie) and FreedomBox version 26.8. FreedomBox is up to date.

 ![image](https://discuss.freedombox.org/uploads/default/original/2X/1/18a77cfcbab9376cf11e69050f9a513e0a66de9f.jpeg)

 ![image](https://discuss.freedombox.org/uploads/default/original/2X/b/bf14ee04ea12b055b9eeea8104915998022619ca.png)

---

<div class="post-metadata">

**Author:** ![KenW](https://discuss.freedombox.org/letter_avatar_proxy/v4/letter/k/ccd318/32.png) [@KenW](https://discuss.freedombox.org/u/KenW)\
**Post date:** [May 21, 2026, 5:43pm UTC](https://discuss.freedombox.org/t/solved-nextcloud-video-player-ffmpeg-path-issue/4252/2 "2026-05-21T17:43:34Z")

</div>

I tried  
/usr/bin/ffmpeg  
/usr/bin/ffprobe  
as well but that made no difference.

---

<div class="post-metadata">

**Author:** ![KenW](https://discuss.freedombox.org/letter_avatar_proxy/v4/letter/k/ccd318/32.png) [@KenW](https://discuss.freedombox.org/u/KenW)\
**Post date:** [May 23, 2026, 7:25am UTC](https://discuss.freedombox.org/t/solved-nextcloud-video-player-ffmpeg-path-issue/4252/3 "2026-05-23T07:25:55Z")

</div>

Running Midnight commander as root in a terminal on my freedombox server, I see that there are files /usr/bin/\*ffmpeg and /usr/bin/\*ffprobe so I changed it to add the asterisk in path field in the admin page in memories. There is no change. My guess is that freedombox is running in a container (docker maybe?) and it needs its own installation of these binaries rather than the ones I have in the base debian system all of which is truly beyong me so I am stuck. Here is what MC shows:

 ![image](https://discuss.freedombox.org/uploads/default/original/2X/6/61c8cadc501b40a6fddf7e79cd6e6216e015cbeb.png)

---

<div class="post-metadata">

**Author:** ![KenW](https://discuss.freedombox.org/letter_avatar_proxy/v4/letter/k/ccd318/32.png) [@KenW](https://discuss.freedombox.org/u/KenW)\
**Post date:** [May 23, 2026, 8:58pm UTC](https://discuss.freedombox.org/t/solved-nextcloud-video-player-ffmpeg-path-issue/4252/4 "2026-05-23T20:58:12Z")

</div>

No sign of any solution to this issue so far. I am also not satisfied with how Memories lacks features for management of bringing a large collection of photos into the system, that also seems to have no solution.

I am wondering about Zoph. I would like to try it out again using my same collection. Can it run alongside Memories using the same albums, images, etc so that I can flip from one app to the other? That would be nice.

---

<div class="post-metadata">

**Author:** ![rickbol](https://discuss.freedombox.org/user_avatar/discuss.freedombox.org/rickbol/32/1406_2.png) [@rickbol](https://discuss.freedombox.org/u/rickbol)\
**Post date:** [May 25, 2026, 1:24am UTC](https://discuss.freedombox.org/t/solved-nextcloud-video-player-ffmpeg-path-issue/4252/5 "2026-05-25T01:24:26Z")

</div>

> [@KenW](#):
>
> I see that there are files /usr/bin/\*ffmpeg and /usr/bin/\*ffprobe so I changed it to add the asterisk in path field in the admin page in memories. There is no change.

I’m not running Nextcloud, but I have used Midnight Commander. The `*` preceding the filename indicates the the file is _executable_. Most of the files in `/usr/bin/` will be. Most will also be owned by user and group `root`.

When I first read your issue I thought that this was probably a permissions or environment (pathing) issue of Nextcloud, but since I don’t run it, I couldn’t explore.

Have your looked at journalctl logging for the Nextcloud service to see what it reports?

r

---

<div class="post-metadata">

**Author:** ![KenW](https://discuss.freedombox.org/letter_avatar_proxy/v4/letter/k/ccd318/32.png) [@KenW](https://discuss.freedombox.org/u/KenW)\
**Post date:** [May 25, 2026, 6:50am UTC](https://discuss.freedombox.org/t/solved-nextcloud-video-player-ffmpeg-path-issue/4252/6 "2026-05-25T06:50:44Z")

</div>

Hi, thanks for that information. I haven’t looked at journalctl logging for Nextcloud. That is unfamiliar territory for me but seems like something I ought to know more about. I will do some digging. My initial attempt says “No entries” so it looks like I need to turn logging on. I will let you know what I can find.

---

<div class="post-metadata">

**Author:** ![rickbol](https://discuss.freedombox.org/user_avatar/discuss.freedombox.org/rickbol/32/1406_2.png) [@rickbol](https://discuss.freedombox.org/u/rickbol)\
**Post date:** [May 25, 2026, 11:33am UTC](https://discuss.freedombox.org/t/solved-nextcloud-video-player-ffmpeg-path-issue/4252/7 "2026-05-25T11:33:29Z")

</div>

Saw this regarding logging for Nextcloud and today’s mixed “discrete file logging \ central logging service (e.g. journalctl)” and “containerized” app configs:

[https://help.nextcloud.com/t/101-logging-which-logs-exist-how-to-access-and-understand/215051/](https://help.nextcloud.com/t/101-logging-which-logs-exist-how-to-access-and-understand/215051/)

Best wishes,  
r

---

<div class="post-metadata">

**Author:** ![rickbol](https://discuss.freedombox.org/user_avatar/discuss.freedombox.org/rickbol/32/1406_2.png) [@rickbol](https://discuss.freedombox.org/u/rickbol)\
**Post date:** [May 25, 2026, 12:29pm UTC](https://discuss.freedombox.org/t/solved-nextcloud-video-player-ffmpeg-path-issue/4252/8 "2026-05-25T12:29:40Z")

</div>

Reviewing your original posts again…

> [@KenW](#):
>
> My guess is that freedombox is running in a container (docker maybe?) and it needs its own installation of these binaries rather than the ones I have in the base debian system

How did you install Debian? Did you do a standard install on a machine or did you install it as a VM?

How did you install Freedombox? Did you use `apt` or '`Aptitude` on the Debian machine or did you download one of the pre-built images from [https://freedombox.org/download/](https://freedombox.org/download/)

There are “container images” of Freedombox that can be installed, but unless you installed one of the Qemu or VirtualBox images, then you wouldn’t be dealing with “Freedombox running in a container”.

Nextcloud runs in a container. Since I’m not running it I can’t comment on how or if it accesses\shares system-wide components like `/usr/bin/ff*`. Typically, containerization tries to bundle in all app dependencies so that specific versions of dependencies are available and accessed by the app.

So that `ffmpeg path` in the Video Streaming page may need to point to a file path _within Nextcloud’s container_? And then the files would need to exist in that path.

---

<div class="post-metadata">

**Author:** ![rickbol](https://discuss.freedombox.org/user_avatar/discuss.freedombox.org/rickbol/32/1406_2.png) [@rickbol](https://discuss.freedombox.org/u/rickbol)\
**Post date:** [May 25, 2026, 1:38pm UTC](https://discuss.freedombox.org/t/solved-nextcloud-video-player-ffmpeg-path-issue/4252/9 "2026-05-25T13:38:10Z")

</div>

Sorry for posting multiple times on this issue. Btw, I see your OP had answered my question on how you installed debian and fbx. You also mention that your machine has some significant resources… i.e. beyond the memory\storage constraints of most SBCs. You also are at least a little familiar with terminal\command-line usage since you were prowling around in Midnight Commander.

One tool I use all the time is `locate <filename>`. It’s installation package name is actually `plocate`, and it can be installed with:  
`sudo apt install plocate`

It creates a fast index of all the files on the disk. It automatically updates this index once a day I think. And a manual update can be triggered at anytime with:  
`sudo updatedb`.

You can search for paths\filenames, partial or whole and it returns all paths\filenames found matching that string.

With an issue like this, it would be nice to know where all the `ffmpeg` & `ffprobe` are and where.

This could be done with a standard utility like `find`, but for me I can never remember the proper syntax for `find`, so I use `locate`. Sometimes it’ll return many pages of matches, so I’ll pipe its’ output thru a pager like `more` or `less`:  
`sudo locate <some-string> | more`.

`more`, which only pages down thru results a page at a time, is installed on debian by default, but `less`, which can go up and down thru results line-by-line using the arrow keys on the keyboard is not installed by default. It can be installed with:  
`sudo apt install less`, then one can:  
`sudo locate <some-string> | less`

Note, I preface `locate` with `sudo` because I think it may need to run as root to return _all_ entries from the disk. I could be wrong about this.

I use these tools all the time in troubleshooting at the command-line.

---

<div class="post-metadata">

**Author:** ![KenW](https://discuss.freedombox.org/letter_avatar_proxy/v4/letter/k/ccd318/32.png) [@KenW](https://discuss.freedombox.org/u/KenW)\
**Post date:** [May 25, 2026, 7:40pm UTC](https://discuss.freedombox.org/t/solved-nextcloud-video-player-ffmpeg-path-issue/4252/10 "2026-05-25T19:40:38Z")

</div>

Thanks, yes, I do blunder around using the CLI from time to time although usually on a cut and paste basis. I have done it long enough that I remember setting irq numbers to get a mouse running for a new fangled gui, being sceptical about the usefulness of a colour monitor and the linux kernel reaching v 1.0 but I do it seldom enough that when I want do do anything at the command line, I have to relearn the bits and pieces I have learned in the past. Years of using mostly windows during my working years stunted a lot of that.

About containers: I made it sound like freedombox is running in a container which isn’t the case as I understand it. It runs as a debian package on a dedicated headless pc I have it running connected on my home wired lan. It is nextcloud that runs in a container I believe because it is a non-Debian package. ffmpeg and ffprobe do exist on the server in /usr/bin/ but my hunch is that to be available to nextcloud running in a container they need to be installed in that container or linked into it somehow. At least that is my impression . . . . I am speaking far beyond my pay grade here.

Using the terminal the cockpit provides on my server, I installed the plocate package. I ran updatedb and then got what is shown below.

I tried changing the settings for Memories in Nextcloud to /usr/share/ as the location for ffmpeg and ffprobe but that doesn’t seem to have helped.

Thanks for getting me going with plocate. Still digging . . .

===== terminal output ==========  
ken@fbox:~$ man plocate  
ken@fbox:~$ sudo updatedb  
ken@fbox:~$ sudo locate ffprobe | more  
[sudo] password for ken:  
/usr/bin/ffprobe  
/usr/share/ffmpeg/ffprobe.xsd  
/usr/share/man/man1/ffprobe-all.1.gz  
/usr/share/man/man1/ffprobe.1.gz  
ken@fbox:~$ sudo locate ffmpeg | more  
/usr/bin/ffmpeg  
/usr/share/ffmpeg  
/usr/share/doc/ffmpeg  
/usr/share/doc/ffmpeg/README.Debian  
/usr/share/doc/ffmpeg/RELEASE\_NOTES  
/usr/share/doc/ffmpeg/TODO.Debian  
/usr/share/doc/ffmpeg/changelog.Debian.gz  
/usr/share/doc/ffmpeg/changelog.gz  
/usr/share/doc/ffmpeg/copyright  
/usr/share/ffmpeg/ffprobe.xsd  
/usr/share/ffmpeg/libvpx-1080p.ffpreset  
/usr/share/ffmpeg/libvpx-1080p50\_60.ffpreset  
/usr/share/ffmpeg/libvpx-360p.ffpreset  
/usr/share/ffmpeg/libvpx-720p.ffpreset  
/usr/share/ffmpeg/libvpx-720p50\_60.ffpreset  
/usr/share/lintian/overrides/ffmpeg  
/usr/share/man/man1/ffmpeg-all.1.gz  
/usr/share/man/man1/ffmpeg-bitstream-filters.1.gz  
/usr/share/man/man1/ffmpeg-codecs.1.gz  
/usr/share/man/man1/ffmpeg-devices.1.gz  
/usr/share/man/man1/ffmpeg-filters.1.gz  
/usr/share/man/man1/ffmpeg-formats.1.gz  
/usr/share/man/man1/ffmpeg-protocols.1.gz  
/usr/share/man/man1/ffmpeg-resampler.1.gz  
/usr/share/man/man1/ffmpeg-scaler.1.gz  
/usr/share/man/man1/ffmpeg-utils.1.gz  
/usr/share/man/man1/ffmpeg.1.gz  
/var/lib/dpkg/info/ffmpeg.list  
/var/lib/dpkg/info/ffmpeg.md5sums  
/var/lib/nextcloud/custom\_apps/recognize/node\_modules/ffmpeg-static  
/var/lib/nextcloud/custom\_apps/recognize/node\_modules/ffmpeg-static/LICENSE  
/var/lib/nextcloud/custom\_apps/recognize/node\_modules/ffmpeg-static/README.md  
/var/lib/nextcloud/custom\_apps/recognize/node\_modules/ffmpeg-static/example.js  
/var/lib/nextcloud/custom\_apps/recognize/node\_modules/ffmpeg-static/ffmpeg  
/var/lib/nextcloud/custom\_apps/recognize/node\_modules/ffmpeg-static/ffmpeg.LICENSE  
/var/lib/nextcloud/custom\_apps/recognize/node\_modules/ffmpeg-static/ffmpeg.README  
/var/lib/nextcloud/custom\_apps/recognize/node\_modules/ffmpeg-static/index.js  
/var/lib/nextcloud/custom\_apps/recognize/node\_modules/ffmpeg-static/install.js  
/var/lib/nextcloud/custom\_apps/recognize/node\_modules/ffmpeg-static/node\_modules  
/var/lib/nextcloud/custom\_apps/recognize/node\_modules/ffmpeg-static/package.json  
/var/lib/nextcloud/custom\_apps/recognize/node\_modules/ffmpeg-static/node\_modules/agent-base  
/var/lib/nextcloud/custom\_apps/recognize/node\_modules/ffmpeg-static/node\_modules/https-proxy-agent  
/var/lib/nextcloud/custom\_apps/recognize/node\_modules/ffmpeg-static/node\_modules/agent-base/README.md  
/var/lib/nextcloud/custom\_apps/recognize/node\_modules/ffmpeg-static/node\_modules/agent-base/dist  
/var/lib/nextcloud/custom\_apps/recognize/node\_modules/ffmpeg-static/node\_modules/agent-base/package.json  
/var/lib/nextcloud/custom\_apps/recognize/node\_modules/ffmpeg-static/node\_modules/agent-base/src  
/var/lib/nextcloud/custom\_apps/recognize/node\_modules/ffmpeg-static/node\_modules/agent-base/dist/src  
/var/lib/nextcloud/custom\_apps/recognize/node\_modules/ffmpeg-static/node\_modules/agent-base/dist/src/index.d.ts  
/var/lib/nextcloud/custom\_apps/recognize/node\_modules/ffmpeg-static/node\_modules/agent-base/dist/src/index.js  
/var/lib/nextcloud/custom\_apps/recognize/node\_modules/ffmpeg-static/node\_modules/agent-base/dist/src/promisify.d.ts  
/var/lib/nextcloud/custom\_apps/recognize/node\_modules/ffmpeg-static/node\_modules/agent-base/dist/src/promisify.js  
/var/lib/nextcloud/custom\_apps/recognize/node\_modules/ffmpeg-static/node\_modules/agent-base/src/index.ts  
/var/lib/nextcloud/custom\_apps/recognize/node\_modules/ffmpeg-static/node\_modules/agent-base/src/promisify.ts  
/var/lib/nextcloud/custom\_apps/recognize/node\_modules/ffmpeg-static/node\_modules/https-proxy-agent/README.md  
/var/lib/nextcloud/custom\_apps/recognize/node\_modules/ffmpeg-static/node\_modules/https-proxy-agent/dist  
/var/lib/nextcloud/custom\_apps/recognize/node\_modules/ffmpeg-static/node\_modules/https-proxy-agent/package.json  
/var/lib/nextcloud/custom\_apps/recognize/node\_modules/ffmpeg-static/node\_modules/https-proxy-agent/dist/agent.d.ts  
/var/lib/nextcloud/custom\_apps/recognize/node\_modules/ffmpeg-static/node\_modules/https-proxy-agent/dist/agent.js  
/var/lib/nextcloud/custom\_apps/recognize/node\_modules/ffmpeg-static/node\_modules/https-proxy-agent/dist/index.d.ts  
/var/lib/nextcloud/custom\_apps/recognize/node\_modules/ffmpeg-static/node\_modules/https-proxy-agent/dist/index.js  
/var/lib/nextcloud/custom\_apps/recognize/node\_modules/ffmpeg-static/node\_modules/https-proxy-agent/dist/parse-proxy-response.d.ts  
/var/lib/nextcloud/custom\_apps/recognize/node\_modules/ffmpeg-static/node\_modules/https-proxy-agent/dist/parse-proxy-response.js  
/var/lib/swcatalog/icons/debian-sid-main/48x48/ffmpegthumbs\_video-x-generic.png  
/var/lib/swcatalog/icons/debian-sid-main/64x64/ffmpegthumbs\_video-x-generic.png  
/var/lib/swcatalog/icons/debian-trixie-main/48x48/ffmpegthumbs\_video-x-generic.png  
/var/lib/swcatalog/icons/debian-trixie-main/64x64/ffmpegthumbs\_video-x-generic.png  
ken@fbox:~$

---

<div class="post-metadata">

**Author:** ![rickbol](https://discuss.freedombox.org/user_avatar/discuss.freedombox.org/rickbol/32/1406_2.png) [@rickbol](https://discuss.freedombox.org/u/rickbol)\
**Post date:** [May 26, 2026, 3:09am UTC](https://discuss.freedombox.org/t/solved-nextcloud-video-player-ffmpeg-path-issue/4252/11 "2026-05-26T03:09:19Z")

</div>

So it appears there are two `ffmpeg` binaries on the system.  
`/usr/bin/ffmpeg` &  
`/var/lib/nextcloud/custom_apps/recognize/node_modules/ffmpeg-static/ffmpeg`

Obviously the second one would be expected to be part of nextcloud.

You could `ls -l /var/lib/nextcloud/custom_apps/recognize/node_modules/ffmpeg-static/ffmpeg` to verify that the file has some size and is not a zero byte file.

I googled `what is /var/lib/nextcloud/custom_apps/recognize/node_modules/ffmpeg-static/ffmpeg`, and the AI response was informative. There are a number of issues reported for it that sound similar to what you describe. You might try copying that \<path\filename\> into the `ffmpeg path` to see if it nextcloud “finds” it, but something in the nextcloud runtime environment is not correct. I suspect logging would reveal some useful complaints about something, but, since I’m not running nextcloud, I can’t guide you to how get to the nextcloud logging on your freedombox install - it’s either via journalctl or in static files, but I don’t know which.

In the ggl results,two “applets?” within nextcloud mention dependencies on ffmpeg: `Memories` which you’ve mentioned and `Recognize` which is in the filepath we see for the ffmpeg installed by nextcloud. So I think this is likely a known issue, which means it likely has a resolution. The bad news is I don’t have a clue about what the resolution is. I wouldn’t 100% rule out an issue within Freedombox installation of Nextcloud, but the ggl query results point to the nextcloud runtime environment.

r

---

<div class="post-metadata">

**Author:** ![KenW](https://discuss.freedombox.org/letter_avatar_proxy/v4/letter/k/ccd318/32.png) [@KenW](https://discuss.freedombox.org/u/KenW)\
**Post date:** [May 26, 2026, 3:14am UTC](https://discuss.freedombox.org/t/solved-nextcloud-video-player-ffmpeg-path-issue/4252/12 "2026-05-26T03:14:34Z")

</div>

> [@rickbol](#):
>
> ls -l /var/lib/nextcloud/custom\_apps/recognize/node\_modules/ffmpeg-static/ffmpeg

ken@fbox:~$ sudo ls -l /var/lib/nextcloud/custom\_apps/recognize/node\_modules/ffmpeg-static/ffmpeg  
[sudo] password for ken:  
-rwxr-xr-x 1 www-data www-data 77173696 May 12 10:54 /var/lib/nextcloud/custom\_apps/recognize/node\_modules/ffmpeg-static/ffmpeg  
ken@fbox:~$

---

<div class="post-metadata">

**Author:** ![KenW](https://discuss.freedombox.org/letter_avatar_proxy/v4/letter/k/ccd318/32.png) [@KenW](https://discuss.freedombox.org/u/KenW)\
**Post date:** [May 26, 2026, 3:29am UTC](https://discuss.freedombox.org/t/solved-nextcloud-video-player-ffmpeg-path-issue/4252/13 "2026-05-26T03:29:16Z")

</div>

> [@rickbol](#):
>
> /var/lib/nextcloud/custom\_apps/recognize/node\_modules/ffmpeg-static/

Adding this as the path to ffmeg in the Memories config screen didn’t fix it.

BTW, it is only recently that I installed the Recognize app and it does seem to be working. It is a separate nextcloud app that runs within the Memories photo app.

The ffmpeg problem that thumbnails of videos do not display and videos don’t stream existed before I installed recognition and has not changed with that installation.

Thanks for your help with this. Hopefully someone who runs nextcloud will come across this and let me know if they know of a solution.

Cheers!

---

<div class="post-metadata">

**Author:** ![rickbol](https://discuss.freedombox.org/user_avatar/discuss.freedombox.org/rickbol/32/1406_2.png) [@rickbol](https://discuss.freedombox.org/u/rickbol)\
**Post date:** [May 26, 2026, 12:23pm UTC](https://discuss.freedombox.org/t/solved-nextcloud-video-player-ffmpeg-path-issue/4252/14 "2026-05-26T12:23:52Z")

</div>

One last obvious test would be to toggle the `Videos(ffmpeg)` switch off, and then back on? The list of mime types configured for preview generation doesn’t include any video formats… and ffmpeg supports ~~many~~ most video formats.

Since you just recently installed Recognize, and presumably it installed its’ ffmpeg dependency maybe there’s supposed to be a “/var/lib/nextcloud/custom\_apps/ **memories** /node\_modules/ffmpeg-static/ **ffmpeg** ” ?

The static ffmpeg you have in the /recognize path is pretty hefty at around 77MB. The one from /usr/bin/ on my machine is more like 370KB. But such is the way with static builds and container packaging… it’s not a “space saving\efficiency” platform, it’s a “make-sure-it-runs-consistently” platform (…except when it doesn’t) ;-^

`sudo locate -r /ffmpeg$` would list all the paths ending in _/ffmpeg_.

Maybe someone on this forum who is successfully running “Memories” could report what copies of ffmpeg are on their system? Hopefully you’ll get a more useful response here, or there.

Best wishes!

---

<div class="post-metadata">

**Author:** ![KenW](https://discuss.freedombox.org/letter_avatar_proxy/v4/letter/k/ccd318/32.png) [@KenW](https://discuss.freedombox.org/u/KenW)\
**Post date:** [May 26, 2026, 2:40pm UTC](https://discuss.freedombox.org/t/solved-nextcloud-video-player-ffmpeg-path-issue/4252/15 "2026-05-26T14:40:07Z")

</div>

I have tried turning ffmpeg off, logging out and back in, then reversing that to no avail. Situation unchanged. I have also used plinth to shut down nextcloud and then turn it on again. Same result.

ken@fbox:~$ sudo locate -r /ffmpeg$  
[sudo] password for ken:  
/usr/bin/ffmpeg  
/usr/share/ffmpeg  
/usr/share/doc/ffmpeg  
/usr/share/lintian/overrides/ffmpeg  
/var/lib/nextcloud/custom\_apps/recognize/node\_modules/ffmpeg-static/ffmpeg

I have tried using each of the following choices in the path setting in the admin panel without success:

/usr/bin/ffmpeg  
/usr/share/ffmpeg  
/usr/share/lintian/overrides/ffmpeg  
/var/lib/nextcloud/custom\_apps/recognize/node\_modules/ffmpeg-static/ffmpeg

I also note that ffprobe shows up in one place only:

ken@fbox:~$ sudo locate -r /ffprobe$  
/usr/bin/ffprobe

My current settings, which are not working, are:

 ![image](https://discuss.freedombox.org/uploads/default/original/2X/a/a12b544b687c3b3c61c3b814c392b5e5fb409ace.jpeg)

Thanks for your help.

---

<div class="post-metadata">

**Author:** ![nbenedek](https://discuss.freedombox.org/user_avatar/discuss.freedombox.org/nbenedek/32/1220_2.png) [@nbenedek](https://discuss.freedombox.org/u/nbenedek)\
**Post date:** [May 27, 2026, 11:33am UTC](https://discuss.freedombox.org/t/solved-nextcloud-video-player-ffmpeg-path-issue/4252/16 "2026-05-27T11:33:12Z")

</div>

Looks like there is an [open merge request](https://github.com/nextcloud/docker/pull/2465/changes)  
for ffmpeg to be added to the list of installed packages for the Nextcloud container that we use.

In the meantime, you can install it manually like this:

```auto
mkdir /etc/containers/systemd/nextcloud-freedombox.container.d

cat >/etc/containers/systemd/nextcloud-freedombox.container.d/10-install-ffmpeg.conf <<'EOF'
[Service]
ExecStartPost=/usr/bin/podman exec -u root nextcloud-freedombox sh -ec 'command -v ffmpeg >/dev/null 2>&1 || { apt-get update && apt-get install -y --no-install-recommends ffmpeg; }'
EOF

systemctl daemon-reload
systemctl restart nextcloud-freedombox.service

```

After this, the binary will be available inside the container under /usr/bin/ffmpeg.

---

<div class="post-metadata">

**Author:** ![KenW](https://discuss.freedombox.org/letter_avatar_proxy/v4/letter/k/ccd318/32.png) [@KenW](https://discuss.freedombox.org/u/KenW)\
**Post date:** [May 27, 2026, 4:45pm UTC](https://discuss.freedombox.org/t/solved-nextcloud-video-player-ffmpeg-path-issue/4252/17 "2026-05-27T16:45:03Z")

</div>

Thanks for that, I gave it a try.

The mkdir command worked. I used sudo to run it. The directory /etc/containers/systemd/nextcloud-freedombox.container.d is there.

I am not sure this command worked:  
cat \>/etc/containers/systemd/nextcloud-freedombox.container.d/10-install-ffmpeg.conf \<\<‘EOF’  
[Service]  
ExecStartPost=/usr/bin/podman exec -u root nextcloud-freedombox sh -ec ‘command -v ffmpeg \>/dev/null 2\>&1 || { apt-get update && apt-get install -y --no-install-recommends ffmpeg; }’  
EOF

As shown in the terminal output following, I didn’t know how to get out of the mode that left me in:

n@fbox:~$ mkdir /etc/containers/systemd/nextcloud-freedombox.container.d  
mkdir: cannot create directory ‘/etc/containers/systemd/nextcloud-freedombox.container.d’: Permission denied  
ken@fbox:~$ sudo mkdir /etc/containers/systemd/nextcloud-freedombox.container.d  
[sudo] password for ken:  
ken@fbox:~$ sudo cat \>/etc/containers/systemd/nextcloud-freedombox.container.d/10-install-ffmpeg.conf \<\<‘EOF’

> [Service]  
> ExecStartPost=/usr/bin/podman exec -u root nextcloud-freedombox sh -ec ‘command -v ffmpeg \>/dev/null 2\>&1 || { apt-get update && apt-get install -y --no-install-recommends ffmpeg; }’  
> sudo locate -r /ffmpeg$  
> systemctl daemon-reload  
> q  
> quit  
> stop
> 
> end

I opened a new terminal window and ran the two systemctl commands. They seemed to work.

I went back into the settings panel for Memories in nextcloud and changed the paths to:

 ![image](https://discuss.freedombox.org/uploads/default/original/2X/8/8b2ddef5ca07406ebf65c87353d1e868ef65451e.png)

I wasn’t sure where to find the folder /usr/bin inside the container so I couldn’t see whether ffmpeg was there.

I guess I got something wrong as the thumbnails still don’t display and the videos won’t stream.

---

<div class="post-metadata">

**Author:** ![nbenedek](https://discuss.freedombox.org/user_avatar/discuss.freedombox.org/nbenedek/32/1220_2.png) [@nbenedek](https://discuss.freedombox.org/u/nbenedek)\
**Post date:** [May 28, 2026, 7:55pm UTC](https://discuss.freedombox.org/t/solved-nextcloud-video-player-ffmpeg-path-issue/4252/18 "2026-05-28T19:55:18Z")

</div>

Perhaps the multi-line copy-paste didn’t get through your terminal emulator or shell, so instead of using cat to create the drop-in file, you can also just create a new file with your favorite editor like `nano /etc/containers/systemd/nextcloud-freedombox.container.d/10-install-ffmpeg.conf `

And make sure its content is

```auto
[Service]
ExecStartPost=/usr/bin/podman exec -u root nextcloud-freedombox sh -ec 'command -v ffmpeg >/dev/null 2>&1 || { apt-get update && apt-get install -y --no-install-recommends ffmpeg; }'

```

---

<div class="post-metadata">

**Author:** ![KenW](https://discuss.freedombox.org/letter_avatar_proxy/v4/letter/k/ccd318/32.png) [@KenW](https://discuss.freedombox.org/u/KenW)\
**Post date:** [May 28, 2026, 8:22pm UTC](https://discuss.freedombox.org/t/solved-nextcloud-video-player-ffmpeg-path-issue/4252/19 "2026-05-28T20:22:50Z")

</div>

Nice, now I when I seem photos in Nextcloud Memories, the thumbnails display. That is the good news.

Unfortunately, when I click the play button though, nothing happens. In the admin settings for Memories in Nextcloud, I still see this:

 ![image](https://discuss.freedombox.org/uploads/default/original/2X/2/2ac4b6e5213e0e9804bead0ec950f74399c54b90.png)

---

<div class="post-metadata">

**Author:** ![KenW](https://discuss.freedombox.org/letter_avatar_proxy/v4/letter/k/ccd318/32.png) [@KenW](https://discuss.freedombox.org/u/KenW)\
**Post date:** [May 28, 2026, 8:28pm UTC](https://discuss.freedombox.org/t/solved-nextcloud-video-player-ffmpeg-path-issue/4252/20 "2026-05-28T20:28:16Z")

</div>

I changed the path to include the file name as well as the path to it, and, viola:

 ![image](https://discuss.freedombox.org/uploads/default/original/2X/b/be7cb8827361d71a3684e9aac81c11a07b1cbbb9.jpeg)

It works, videos now play as well.

Thanks very much for your help!

[Next page](https://discuss.freedombox.org/t/solved-nextcloud-video-player-ffmpeg-path-issue/4252.md?page=2)
