mirror of
https://github.com/smittix/intercept.git
synced 2026-07-06 00:28:12 -07:00
Fix audio dependency to use ffmpeg instead of sox
The Listening Post actually uses ffmpeg for audio encoding, not sox. Updated all documentation, setup scripts, and code to reflect this: - Removed unused find_sox() function from listening_post.py - Simplified tools endpoint to only check for ffmpeg - Updated CHANGELOG, README, HARDWARE.md, Dockerfile - Fixed setup.sh to check for ffmpeg - Updated frontend warnings to mention ffmpeg 🤖 Generated with [Claude Code](https://claude.com/claude-code) Co-Authored-By: Claude Opus 4.5 <noreply@anthropic.com>
This commit is contained in:
@@ -179,11 +179,7 @@ check_tools() {
|
||||
|
||||
echo ""
|
||||
echo "Audio Tools:"
|
||||
check_tool "sox" "Audio player/processor" "audio"
|
||||
# ffmpeg is optional alternative to sox
|
||||
if check_cmd ffmpeg; then
|
||||
echo -e " ${GREEN}✓${NC} ffmpeg - Audio encoder (optional)"
|
||||
fi
|
||||
check_tool "ffmpeg" "Audio encoder for streaming" "audio"
|
||||
|
||||
echo ""
|
||||
echo "WiFi Tools:"
|
||||
@@ -258,7 +254,7 @@ install_macos_tools() {
|
||||
echo ""
|
||||
echo -e "${YELLOW}The following will be installed:${NC}"
|
||||
$MISSING_CORE && echo " - Core SDR tools (rtl-sdr, multimon-ng, rtl_433, dump1090)"
|
||||
$MISSING_AUDIO && echo " - Audio tools (sox)"
|
||||
$MISSING_AUDIO && echo " - Audio tools (ffmpeg)"
|
||||
$MISSING_WIFI && echo " - WiFi tools (aircrack-ng)"
|
||||
echo ""
|
||||
|
||||
@@ -283,7 +279,7 @@ install_macos_tools() {
|
||||
if $MISSING_AUDIO; then
|
||||
echo ""
|
||||
echo -e "${BLUE}Installing Audio tools...${NC}"
|
||||
brew install sox
|
||||
brew install ffmpeg
|
||||
fi
|
||||
|
||||
# WiFi tools
|
||||
@@ -305,7 +301,7 @@ show_macos_manual() {
|
||||
echo -e "${BLUE}Manual installation (macOS):${NC}"
|
||||
echo ""
|
||||
echo "# Required tools"
|
||||
echo "brew install librtlsdr multimon-ng rtl_433 sox"
|
||||
echo "brew install librtlsdr multimon-ng rtl_433 ffmpeg"
|
||||
echo ""
|
||||
echo "# ADS-B tracking"
|
||||
echo "brew install dump1090-mutability"
|
||||
@@ -329,7 +325,7 @@ install_debian_tools() {
|
||||
|
||||
echo -e "${YELLOW}The following will be installed:${NC}"
|
||||
$MISSING_CORE && echo " - Core SDR tools (rtl-sdr, multimon-ng, rtl-433, dump1090)"
|
||||
$MISSING_AUDIO && echo " - Audio tools (sox)"
|
||||
$MISSING_AUDIO && echo " - Audio tools (ffmpeg)"
|
||||
$MISSING_WIFI && echo " - WiFi tools (aircrack-ng)"
|
||||
$MISSING_BLUETOOTH && echo " - Bluetooth tools (bluez)"
|
||||
echo ""
|
||||
@@ -376,7 +372,7 @@ install_debian_tools() {
|
||||
if $MISSING_AUDIO; then
|
||||
echo ""
|
||||
echo -e "${BLUE}Installing Audio tools...${NC}"
|
||||
$SUDO apt install -y sox
|
||||
$SUDO apt install -y ffmpeg
|
||||
fi
|
||||
|
||||
# WiFi tools
|
||||
@@ -408,7 +404,7 @@ show_debian_manual() {
|
||||
echo -e "${BLUE}Manual installation (Debian/Ubuntu):${NC}"
|
||||
echo ""
|
||||
echo "# Required tools"
|
||||
echo "sudo apt install rtl-sdr multimon-ng rtl-433 sox"
|
||||
echo "sudo apt install rtl-sdr multimon-ng rtl-433 ffmpeg"
|
||||
echo ""
|
||||
echo "# ADS-B tracking"
|
||||
echo "sudo apt install dump1090-mutability # or dump1090-fa"
|
||||
|
||||
Reference in New Issue
Block a user