icecast2

IPASS=

using ffmpeg
to a7:
ffmpeg -re -ss 19 -i 13.mp3 -f mp3 icecast://source:$IPASS@jukebox.homlish.net:8000/jukebox.mp3

to kubernetes:
ffmpeg -re -ss 19 -i 13.m4a -acodec libmp3lame -ab 32k -ac 1 icecast://source:$IPASS@jplay.homlish.net:8000/live.mp3

to play in browser

using vlc
play to sound card:
/Applications/VLC.app/Contents/MacOS/VLC \
-Idummy –play-and-exit \
/private/nfs/a0/usr4/music/Grateful\ Dead/1990/RFK\ 7\ 12\ 90\ set\ 1/13\ cassidy.m4a

play to icecast2
/Applications/VLC.app/Contents/MacOS/VLC \
-Idummy –play-and-exit \
13.m4a \
:sout=#duplicate{dst=std{access=shout,mux=ogg,dst=source:$IPASS@jplay.homlish.net:8000/live}}

/usr/local/bin/vlc -vvv udp://@224.1.1.105:2105 –sout ‘#transcode{acodec=vorb,ab=128,channels=2}:duplicate{dst=std{access=shout,mux=ogg,dst=source:123456@172.31.0.14:8000/r29}}’

finding Mac sound device
w01:~ phomlish$ system_profiler -listDataTypes | grep -i Audio
SPAudioDataType
w01:~ phomlish$ system_profiler SPAudioDataType
Audio:

Devices:

Built-in Microphone:

Default Input Device: Yes
Input Channels: 2
Manufacturer: Apple Inc.
Current SampleRate: 44100
Transport: Built-in
Input Source: Internal Microphone

Built-in Output:

Default Output Device: Yes
Default System Output Device: Yes
Manufacturer: Apple Inc.
Output Channels: 2
Current SampleRate: 44100
Transport: Built-in
Output Source: Internal Speakers

system_profiler SPAudioDataType -xml
HUGE OUTPUT
TODO:
how can we get liquidsoap to play silence?

Leave a Reply

Your email address will not be published. Required fields are marked *