Setting up MinimStreamer for SynoCommunity ffmpeg4
|
03-12-2023, 16:27
Post: #1
|
|||
|
|||
Setting up MinimStreamer for SynoCommunity ffmpeg4
How to set up MinimStreamer to work with Synocommunity ffmpeg4 in DSM7?
I installed the latest version of ffmpeg4 (4.4.4-49). It is located in: Code: Micha@DS720p:/var/packages/ffmpeg/target/bin$ ls -l ffmpeg* When calling ffmpeg obviously an old version ist started: Code: Micha@DS720p:/var/packages/ffmpeg/target/bin$ ffmpeg Calling ffmpeg4 starts the latest version: Code: Micha@DS720p:/var/packages/ffmpeg/target/bin$ ffmpeg4 But setting streamer.converter to /var/packages/ffmpeg/target/bin/ffmpeg4 is refused by Minimstreamer (pls. refer to attached screenshot). How to make MinimStreamer working with the latest version of ffmpeg4 or even ffmpeg6? Finally I would like to convert AAC LC streams from Astra digital Radio to MP3. BR Micha |
|||
03-12-2023, 18:22
Post: #2
|
|||
|
|||
RE: Setting up MinimStreamer for SynoCommunity ffmpeg4
The correct setting in stream.converter to use FFmpeg 4.4.4 is /var/packages/ffmpeg/target/bin/ffmpeg.
You are getting version 4.1.9 when you type ffmpeg because this version of ffmpeg is installed somewhere else in your PATH setting. On Linux (unlike Windows), typing ffmpeg does not look in the current directory first but searches the PATH directories. To be sure you are using the version in the current directory, you need to type type ./ffmpeg. You are getting version 4.4.4 when you type ffmpeg4 because there is no other ffmpeg4 executable in your PATH that is taking priority over the version in your current directory. You need to use an executable named ffmpeg in the stream.converter property so that MinimStreamer can detect this as an FFmpeg converter (not avconv). When you have the stream.converter setting correct, you should set stream.transcode to aac:mp3. |
|||
03-12-2023, 19:05
Post: #3
|
|||
|
|||
RE: Setting up MinimStreamer for SynoCommunity ffmpeg4
Simon, many thanks for your support.
Does ffmpeg6 work also? It is installed in: Code: /var/packages/ffmpeg6/target/bin No I've to convince MinimStreamer to play and transcode my local live streams provided by DVBlogic. DVBLink is a server creating live streams from a USB DVB-S receiver connected to my Synology. This streams can be played by VLC for example by connecting to a URL like: Code: http://192.168.178.24:8101/dvblink/direct?client=5123f60a4e2ccf7095cee369187cfd89&channel=21790000 DVB-S radio stations from German public radio is coded in AAC-LC. I created an m3u playlist with above mentioned link, working well in VLC but I can't get it palying with BubbleUPNP (Control Point) and Volumio (Renderer). BR Micha |
|||
04-12-2023, 11:04
(This post was last modified: 04-12-2023 11:05 by simoncn.)
Post: #4
|
|||
|
|||
RE: Setting up MinimStreamer for SynoCommunity ffmpeg4
From ths page it appears the iutput from DVBLink Server might be iin TS format. If so, you might be able to use MinimStreamer and FFmpeg to transcode the stream into a format that can be played by Volumio.
To set this up, do the following: 1) In your m3u playlist, change the entry to [DVBLink]http://192.168.178.24:8101/dvblink/direct?client=5123f60a4e2ccf7095cee369187cfd89&channel=21790000 2) Set the stream.transcode property to *:wav 3) Rescan your library Adding [DVBLink] causes the stream to be routed from the DVBLink server to MinimStreamer. Setting *:wav causes MinimStreamer to use FFmpeg to transcode the stream to WAV, which should be compatible with Volumio. This should work with either FFmpeg 4 or FFmpeg 6. There are some new features in FFmpeg 6 but none of these features seems relevant when using FFmpeg with MinimStreamer. |
|||
04-12-2023, 17:58
Post: #5
|
|||
|
|||
RE: Setting up MinimStreamer for SynoCommunity ffmpeg4
Unfortunately it doesn't work this way.
The m3u I'm using is: Code: #EXTM3U In BubbleUPNP I can see that the stream is routed through MinimServer and transcoded to WAV, 16/44100. But it's not been played. And there must be something wrong in general: Setting stream.transcode to *.wav transcodes all streams if routed through MinimServer. Now the internet streams routed trough MinimServer are not played any longer! For example: Code: #EXTM3U Prior both ways did work, directly and thorugh MinimServer. Now, only direct playback is working! |
|||
04-12-2023, 21:30
(This post was last modified: 04-12-2023 21:49 by simoncn.)
Post: #6
|
|||
|
|||
RE: Setting up MinimStreamer for SynoCommunity ffmpeg4
(04-12-2023 17:58)fm-maniac Wrote: I tried this and the MinimStreamer version '[BR1] BR1 Franken' is playing for me both with and without *:wav transcoding. The direct version 'BR1 Franken' plays on one of my renderers but not on another of my renderers. Perhaps your renderer is unable to play WAV streams. This might also explain why the DVBLink stream does not play for you with *:wav transcoding. You could try *:mp3 or *:aac instead of *:wav to see if that works. |
|||
05-12-2023, 12:50
Post: #7
|
|||
|
|||
RE: Setting up MinimStreamer for SynoCommunity ffmpeg4
I'm using Volumio on an RasPi3 as a renderer. And it for sure play's WAV-Files. I'll give mp3 a try.
|
|||
05-12-2023, 13:40
Post: #8
|
|||
|
|||
RE: Setting up MinimStreamer for SynoCommunity ffmpeg4
A transcoded WAV stream (not local file) has a length of zero in the WAV header. Some renderers can't handle this.
To enable these renderers to play a transcoded WAV stream, MinimServer provides the option to specify a length for the WAV header in the transcoded stream. For example, settting stream.transcode to *:wav-2GB sets the header length to 2GB-1 and settting stream.transcode to *:wav-4GB sets the header length to 4GB-1. Setting a header length in this way imposes a limit on how long the stream will play for. Another option is to transcode to L16. This doesn't have a header length field. |
|||
06-12-2023, 13:51
Post: #9
|
|||
|
|||
RE: Setting up MinimStreamer for SynoCommunity ffmpeg4
Some feedback on this:
Transcoding to wav of a specified length (e.g. *:wav-2GB) doesn't work. Only transcoding to linear PCM (*:L16) is accepted by Volumio. |
|||
« Next Oldest | Next Newest »
|
User(s) browsing this thread: 1 Guest(s)