-
-
Save thekitp/67ed5d0f52d4b49e231f64300de45e3e to your computer and use it in GitHub Desktop.
Play audio (remote or local file) through axis speaker
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
| ffmpeg -i https://s3-us-west-1.amazonaws.com/bucket/audio/file.wav \ | |
| -probesize 32 \ | |
| -analyzeduration 32 -c:a pcm_mulaw -ab 128k -ac 1 \ | |
| -ar 16000 -f wav -chunked_post 0 \ | |
| -content_type audio/axis-mulaw-128 \ | |
| http://root:[email protected]/axis-cgi/audio/transmit.cgi |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment