kopia lustrzana https://gitlab.com/eliggett/wfview
Update Audio Streaming
rodzic
3a0ea3d1b8
commit
12408821e2
|
@ -19,17 +19,15 @@ Now turn on your IC-7300, and run these commands to determine the correct audio
|
|||
(You have to run as root unless you are logged in at the physical console. This is a consequence of modern linux audio, unfortunately, and is annoying.)
|
||||
Look for something like this:
|
||||
|
||||
`card 1: CODEC [USB Audio CODEC], device 0: USB Audio [USB Audio]
|
||||
|
||||
Subdevices: 0/1
|
||||
|
||||
Subdevice #0: subdevice #0`
|
||||
`card 1: CODEC [USB Audio CODEC], device 0: USB Audio [USB Audio]`
|
||||
` Subdevices: 0/1`
|
||||
` Subdevice #0: subdevice #0`
|
||||
|
||||
From this output, our 7300 is going to be audio device 1, subdevice 0, specified like this: `hw:1,0`
|
||||
|
||||
Now create a shell script to run ffmpeg. This is needed because the command is rather long and you might want a simple way to edit the command.
|
||||
|
||||
`#!/bin/bash
|
||||
`#!/bin/bash`
|
||||
# 22.05 KHz, Latency is 1.5 s
|
||||
ffmpeg -ac 1 -f alsa -i hw:1,0 -ar 22050 -acodec libmp3lame -ab 256k -ac 1 -content_type audio/mpeg -flags low_delay -fflags nobuffer -f mp3 icecast://source:letmein@192.168.1.104:8000/icom
|
||||
`
|
||||
|
|
Ładowanie…
Reference in New Issue