a bug on synology & ffmpeg6
|
28-06-2024, 19:07
Post: #1
|
|||
|
|||
a bug on synology & ffmpeg6
I found an interesting issue today.
I use the community ffmpeg on my synology. There are actually ffmpeg4 ffmpeg5 and ffmpeg6 normally all three are correct I used ffmpeg6 and today it updated. That created a funny issue: I could not play any flac (dsf where OK). In minimserver I used /usr/local/bin/ffmpeg as a converter. What happened is that this had dissapeared on the synology and replaced by ffmpeg6 So I installed ffmpeg5 which created a link ffmpeg, and all is restaured. Now, Simon, 2 points: 1) there was no warning in your app that /usr/local/bin/ffmpeg did not exist 2) I tried to put /usr/local/bin/ffmpeg6 (which existed) and your app rejected it... Voila, hope it helps ! |
|||
28-06-2024, 22:29
Post: #2
|
|||
|
|||
RE: a bug on synology & ffmpeg6
If you try to set the stream.converter property to a path that doesn't exist, you get a message "Converter not installed; correct highlighted value and retry" when you save the new property value. This happens if you set this property either from the MinimServer configuration web page or from MinimWatch.
A path ending ..../ffmpeg6 is not accepted because MinimServer needs to identify whether you are using ffmpeg or avconv as your stream converter program. It does this by checking the last element of the path name for either 'ffmpeg' or 'avconv'. Anything else produces a "Converter not supported" message. I was able to use FFmpeg 6 as the stream converter by installing the SynoCommunity FFmpeg 6 package and setting stream.converter to /var/packages/ffmpeg6/target/bin/ffmpeg |
|||
29-06-2024, 19:56
(This post was last modified: 29-06-2024 19:56 by simoncn.)
Post: #3
|
|||
|
|||
RE: a bug on synology & ffmpeg6
I have updated the Stream converter program section of the MinimStreamer user guide to include information about installing FFmpeg 5 and FFmpeg 6 on Synology as alternatives to installing FFmpeg 4. Thanks for pointing out this omission from the documentation.
|
|||
30-06-2024, 05:46
(This post was last modified: 30-06-2024 05:49 by lyapounov.)
Post: #4
|
|||
|
|||
RE: a bug on synology & ffmpeg6
(29-06-2024 19:56)simoncn Wrote: I have updated the Stream converter program section of the MinimStreamer user guide to include information about installing FFmpeg 5 and FFmpeg 6 on Synology as alternatives to installing FFmpeg 4. Thanks for pointing out this omission from the documentation. Thx Simon. /usr/local/bin/ffmpeg or /usr/local/bin/ffmpeg6 are in fact symbolic links. The situation is that installing ffmpeg5 creates /usr/local/bin/ffmpeg and /usr/local/bin/ffmpeg5 as symlinks, while the update of ffmpeg6 creates only /usr/local/bin/ffmpeg6 What happened is that as /usr/local/bin/ffmpeg did no longer exists after the update, the Lumin app would skip all flac files and not play them (while of course it played the dsf which I don't transform). However, when I opened minimwatch I thought there would be a red message saying that /usr/local/bin/ffmpeg does not exist. But I had no such message, which I found weird... I agree that best is to put the target instead of the link ! Best Serge |
|||
30-06-2024, 17:07
Post: #5
|
|||
|
|||
RE: a bug on synology & ffmpeg6
If you delete or rename the ffmpeg executable that is configured in stream.converter and then try to play a transcoded file without restarting MinimServer, you will see a "cannot run program" error message in the MinimServer log window and log file but you won't see a red error message in MinimWatch.
This is because a red MinimWatch message is produced only when MinimServer has a fatal error that requires a MinimServer restart. In this case, there has not been a fatal error because MinimServer is still running and you can browse your library and play other files that don't need transcoding. |
|||
« Next Oldest | Next Newest »
|
User(s) browsing this thread: 1 Guest(s)