Skip to content

Instantly share code, notes, and snippets.

@anthonyeden
Last active December 14, 2020 13:44
Show Gist options
  • Star 2 You must be signed in to star a gist
  • Fork 0 You must be signed in to fork a gist
  • Save anthonyeden/9be481ad0d9ccc109d9e243daff7720b to your computer and use it in GitHub Desktop.
Save anthonyeden/9be481ad0d9ccc109d9e243daff7720b to your computer and use it in GitHub Desktop.
FFmpeg - Streaming to Icecast from Line In (192Khz FLAC)
ffmpeg -list_devices true -f dshow -i dummy
ffmpeg -stats -report -f dshow -i audio="Audio Input Device Name" -c:a flac -compression_level 10 -ar 192000 -legacy_icecast 1 -content_type application/ogg -ice_name "DemoStream" -f ogg icecast://source:password@icecast.example.com/test1
ffmpeg -f avfoundation -list_devices true -i ""
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment