Discussion:
[Savonet-users] MPX streaming with FLAC
Geoff Kendal
2017-03-12 19:34:21 UTC
Permalink
I’m trying to achieve the same thing that can be seen in this stream: http://5.35.250.101:8000/radio700-mpx.flac <http://5.35.250.101:8000/radio700-mpx.flac> (Carries MPX basically)

Basically, taking an input source, running it via stereo tool (named pipes in and out), then streaming via FLAC. I’ve got everything in place, but it’s not working - Not suite sure what’s going wrong and have spent many days trying different things!!!

My current bit I’m trying to try, is ensuring that the audio I pass to StereoTool is at 192000kHz. I suspect it may be at 44kHz currently as I’m doing the following


src = mksafe(input.http("http://localhost:8000/mp3_stream_320”))
output.file(%wav(stereo=true, channels=2, samplesize=16, header=false),"/tmp/audioin.pcm", src)

My src is a 320/44 MP3.

Is there a way to ensure that the PCM audio I’m writing to the named pipe (mkifio) /tmp/audioin.pcm is at 192000kHz?

Thanks :)
Romain Beauxis
2017-03-18 19:12:37 UTC
Permalink
Hi Geoff,
http://5.35.250.101:8000/radio700-mpx.flac (Carries MPX basically)
Basically, taking an input source, running it via stereo tool (named pipes
in and out), then streaming via FLAC. I’ve got everything in place, but
it’s
not working - Not suite sure what’s going wrong and have spent many days
trying different things!!!
My current bit I’m trying to try, is ensuring that the audio I pass to
StereoTool is at 192000kHz. I suspect it may be at 44kHz currently as I’m
doing the following

src = mksafe(input.http("http://localhost:8000/mp3_stream_320”))
output.file(%wav(stereo=true, channels=2, samplesize=16,
header=false),"/tmp/audioin.pcm", src)
My src is a 320/44 MP3.
Is there a way to ensure that the PCM audio I’m writing to the named pipe
(mkifio) /tmp/audioin.pcm is at 192000kHz?
Have you tried using the pipe() operator instead?

Romain

Loading...