Is it possible with liquidsoap to get the samplerate, bitrate and codec of a stream ? #3976
-
Hello, I think it's possible to recover the samplerate, bitrate and codec of an input stream. Thanks in advance |
Beta Was this translation helpful? Give feedback.
Replies: 2 comments
-
Hi @EliXorZz, |
Beta Was this translation helpful? Give feedback.
-
Hi all. @vitoyucepi is correct, we don't have inspection capacity as of now. It could be possible using the ffmpeg binding but, in general, you can also use |
Beta Was this translation helpful? Give feedback.
Hi @EliXorZz,
These functions probably don't exist in the liquidsoap language yet. If you really want them as part of the language, please write a feature request.
Alternatively, you could use an external tool like ffprobe to extract the necessary data.