OMV 7 - How install ffmpeg
|
30-01-2025, 14:09
Post: #1
|
|||
|
|||
OMV 7 - How install ffmpeg
Hi Everybody,
(I'm French. I hope my English is understandable) I made myself a NAS with old equipment. I'm using openmediavault 7, portainer and ssh commands for the first time. I installed Minimserver not without difficulties but above all I cannot get minimstreamer to find ffmpeg. I installed ffmpeg directly in the Container/ffmpeg/ folder. But in Portainer, I am unable to know the path to map the executable ffmpeg file with Minimserver. Unless I put it in the wrong place. If you can enlighten me! Thanks |
|||
30-01-2025, 15:06
Post: #2
|
|||
|
|||
RE: OMV 7 - How install ffmpeg
The recommended location for the ffmpeg binary executable is in the minimserver/opt/bin directory, as described in the Stream converter program section.
When running MinimServer in a container, MinimServer is installed in the /opt/minimserver directory. This means you should put the ffmpeg executable in the /opt/minimserver/opt/bin directory. |
|||
31-01-2025, 14:02
Post: #3
|
|||
|
|||
RE: OMV 7 - How install ffmpeg
Thanks Simon !
The path you proposed is not recognized. I tried the full path of my container: /var/lib/docker/overlay2/e4f6d97b523f2440e9e1b44e1d0c767271b023d9bb2de6b78a23a8ed16ec500c/diff/opt/minimserver/minimserver-2.2/bin/ffmpeg This doesn't work. Unable to install ffmpeg via ssh (no apt tools) ffmpeg, I pasted an ffmpeg file from my OS bin into this folder. I tried a bind mounts to my container folder /var/lib/docker/overlay2/e4f....... No results. I added bind mounts in the configuration of my Docker container which correspond to the locations of ffmpeg and its libraries on my nas OS. Container: /usr/bin/ffmpeg Host: /usr/bin/ffmpeg Container: /usr/lib/x86_64-linux-gnu Host: /usr/lib/x86_64-linux-gnu Container: /lib/x86_64-linux-gnu Host: /lib/x86_64-linux-gnu This was not enough and I added an environment variable name: LD_LIBRARY_PATH Value: /usr/lib/x86_64-linux-gnu:$LD_LIBRARY_PATH With the addition of this variable, the Minimserver image container shuts down. The two versions of Glibc are different and seem to pose a problem: My nas: ldd --version ldd (Debian GLIBC 2.36-9+deb12u9) 2.36 The Minimserver image: ldd version (GNU libc) 2.17 Am I on the right track? |
|||
31-01-2025, 17:08
Post: #4
|
|||
|
|||
RE: OMV 7 - How install ffmpeg
This path:
/var/lib/docker/overlay2/e4f6d97b523f2440e9e1b44e1d0c767271b023d9bb2de6b78a23a8ed16ec500c/diff/opt/minimserver/minimserver-2.2/bin/ffmpeg doesn't match what I posted. The path needs to be opt/bin/ffmpeg relative to the root directory of your MinimServer installation. Try this: /var/lib/docker/overlay2/e4f6d97b523f2440e9e1b44e1d0c767271b023d9bb2de6b78a23a8ed16ec500c/diff/opt/minimserver/opt/bin/ffmpeg or this: /var/lib/docker/overlay2/e4f6d97b523f2440e9e1b44e1d0c767271b023d9bb2de6b78a23a8ed16ec500c/diff/opt/minimserver/minimserver-2.2/opt/bin/ffmpeg You should not use bind mounts or LD_LIBRARY_PATH. |
|||
31-01-2025, 17:33
Post: #5
|
|||
|
|||
RE: OMV 7 - How install ffmpeg
Neither path works. I tried in a container without bind mount.
|
|||
31-01-2025, 17:57
(This post was last modified: 31-01-2025 18:35 by simoncn.)
Post: #6
|
|||
|
|||
RE: OMV 7 - How install ffmpeg
What is the full path to the data directory containing the minimserver.log file?
Are you sure ffmpeg is not being found? It might have been found but be unable to run for some reason. You could check this by setting the MinimServer logging level to Debug and looking at the messages in the minimserver.log file. |
|||
01-02-2025, 14:34
Post: #7
|
|||
|
|||
RE: OMV 7 - How install ffmpeg
Hi,
Thank you Simon for your time and help. I finally decided to reinstall my os and the Minimserver container. Since then, everything has been resolved! However, I chose to put ffmpeg in a shared folder on my nas volume and to bind mount to the executable file in the folder. I didn't dare re-enter the /var/ files... |
|||
« Next Oldest | Next Newest »
|
User(s) browsing this thread: 1 Guest(s)