Skip to content

analyze

Analyze audio file metadata and properties

Terminal window
conhive-agent audiomanagement analyze

Analyzes the specified audio file using FFprobe (part of FFmpeg) to extract and display detailed metadata and stream information. This includes details like codec, duration, bitrate, sample rate, channels, etc. Requires flags for the input file path (‘—filepath’) and optionally an output file path (‘—output’) if saving the analysis.

Terminal window
conhive-agent audiomanagement analyze [flags]
Terminal window
am analyze --filepath /data/audio/test.wav --output /tmp/analysis_results.json
Terminal window
--channel int32 Channel to analyze, default is 0 (all channels)
--filepath string Filepath to audio file for analysis
-h, --help help for analyze
--output string Output directory
-f, --log-format string Specify the logging format (options: console,
json) (default "text")
-l, --log-level string Define the logging level (options: trace,
debug, info, warn, error, fatal, panic)
(default "info")
-o, --log-to-file Enable logging to a file (default true)
-p, --port int32 Port to run the server on (default 5050)
-w, --workdir string Set the working directory for agent operations
(default: $HOME/.conhive)