Replies: 5 comments 2 replies
-
Hi! Thanks for this detailed report. There are a couple of things worth noting here:
|
Beta Was this translation helpful? Give feedback.
-
Hello, I am not sure I get how to use ffmpeg in my context? Plus, would it work with an AAC-encoded stream?
|
Beta Was this translation helpful? Give feedback.
-
Ffmpeg would work with any format accepted by the underlying I understand your feature request now! There is still a little more that needs to be implemented. I'll see if I can get to it as part of liquidsoap 2. Thanks for suggesting! |
Beta Was this translation helpful? Give feedback.
-
Hi @toots , could you make any progress on this? |
Beta Was this translation helpful? Give feedback.
-
Ok, I think that you should be able to do this as follows:
Does that make sense? The |
Beta Was this translation helpful? Give feedback.
-
Is your feature request related to a problem? Please describe.
I use Liquidsoap to transcode on-the-fly internet radios whose codec format is not supported by my listening device. As an example, I transcode Radio-France streams (eg. http://icecast.radiofrance.fr/francemusique-hifi.aac) to an OGG stream, which I can then listen with my hi-fi network receiver. Yet I did not find any good solution for this transcoding to run only when my hi-fi device is actually listening. It means liquidsoap constantly listens and download the external stream, regardless of the end devices listening status. This implies unnecessary data and power consumption. This problem becomes even bigger when performing this operation for multiple streams (while actually listening to only 1 at the same time with my hifi device).
Describe the solution you'd like
I would like liquidsoap to only perform the decoding operation (and download of the initial stream) when my hi-fi device actually listens to the transcoded stream. I guess this implies adding a "on-demand" feature to the harbor streaming framework. Would also be great to have it on the icecast streaming framework, but not sure if it is possible as it would imply having to get feedback from icecast server.
Describe alternatives you've considered
as discussed with @toots , tried to have a URL redirection when connection to harbor with my hifi device, but did not work well.
Additional context
I guess Icecast's "on-demand" implementation for relayed stream would be a good starting point to consider
Beta Was this translation helpful? Give feedback.
All reactions