lsa is simple Live Stream Analyzer running in console.
lsa is based on FFmpeg, gmf, and termui
./lsa live_stream_url
Add ffmpeg library path to pkgconfig pth:
export PKG_CONFIG_PATH=$PKG_CONFIG_PATH:/usr/local/ffmpeg/lib/pkgconfig/
Ensure, that PKG_CONFIG_PATH contains path to ffmpeg's pkgconfig folder.
pkg-config --libs libavformat
It should print valid path to the avformat library.
Now, just run
go get github.com/binstreamio/lsa
- https://github.com/FFmpeg/FFmpeg -- FFmpeg is a collection of libraries and tools to process multimedia
- https://github.com/3d0c/gmf -- Go Media Framework
- https://github.com/gizak/termui -- a cross-platform, easy-to-compile, and fully-customizable terminal dashboard