Shairport-sync: redirect output to tcp [SOLVED]

Created on 15 Aug 2017  路  4Comments  路  Source: mikebrady/shairport-sync

Hi, i'm a newbe with shairport, need a bit of help.

What i like to accomplish is to redirect the stdout or the raw pcm data to an IP.
This is working for example:
shairport-sync -o stdout | avconv -f s16le -i pipe:0 -f s16le -acodec pcm_u8 -ac 1 -ar 33000 tcp://192.168.0.180:5522

however, i do not need to convert the data, so avconv is not needed, and giving me only errors when stream stops.

How could i configure this with only shairport-sync ?

Many Thanks

Best
Martin

question

All 4 comments

Thanks for the interesting post. I'm afraid I do not know the answer to this. Maybe some other members of the community could help?

did you try netcat for example?
so something like this: shairport-sync -o stdout | nc 192.168.0.180 5522

so something like this: shairport-sync -o stdout | nc 192.168.0.180 5522

this actually works

Thanks for this contribution. Closing the issue. Please open a new one if necessary.

Was this page helpful?
0 / 5 - 0 ratings

Related issues

PeterPablo picture PeterPablo  路  8Comments

LinusU picture LinusU  路  4Comments

asakaev picture asakaev  路  7Comments

ContraVarus picture ContraVarus  路  7Comments

mc002b picture mc002b  路  7Comments