Skip to content

Instantly share code, notes, and snippets.

@thekitp
Forked from wrannaman/Axis Speaker FFMPEG
Created April 19, 2019 05:41
Show Gist options
  • Select an option

  • Save thekitp/67ed5d0f52d4b49e231f64300de45e3e to your computer and use it in GitHub Desktop.

Select an option

Save thekitp/67ed5d0f52d4b49e231f64300de45e3e to your computer and use it in GitHub Desktop.

Revisions

  1. @wrannaman wrannaman created this gist Sep 12, 2017.
    6 changes: 6 additions & 0 deletions Axis Speaker FFMPEG
    Original file line number Diff line number Diff line change
    @@ -0,0 +1,6 @@
    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