The resources collection for debugging audio/video issues.
Software
- Firefox
- about:support: Show audio device info on Firefox page.
- DevTools Media Panel (source code): An additional panel in the Web Developer Tools displaying technical information about media elements and webrtc.
- FFmpeg: A powerful tool to record, convert and stream audio and video.
- Soundflower: Create virtual (multiple channels) audio device on maxOS.
- REAPER: Digital audio workstation for recording, mixing, …, etc.
Hardware
- Audio Device Selector: Share one output/input deivces with multiple input/output devices.
Test Samples
- raw2mp3 (mp3): Convert raw audio files to mp3 files with different header types.
- SONY: High-Resolution music files(AAC, FLAC)
- Hyperion Records(MP3, FLAC, M4A)
- HiRes(FLAC, including 5.1 Surround)
- Audio Check (wav)
Audio Formats
Code References
MPRIS
- spec
- rhythmbox (via Gnome’s
GDBusConnection
) - clementine-player (via Qt’s
QDBusMessage
) - media-explorer
- Mopidy-MPRIS
- mpris-controller
- doc from xmms2
AVIF
Utils
- Scripts to call methods, query properties
- mpris-rs
- Show properties:
$ cargo run --example capabilities
- Show properties:
Others
Frequently Used Script
FFmpeg
Show metadata:
ffmpeg -i <filename>
Show packet data:
ffprobe -show_packets <filename>
Create a sine wav file:
ffmpeg -f lavfi -i "sine=frequency=441:duration=5" sine_441hz_5s.wav
OSX
Unload/Reload the devices
For the system devices:
sudo kextunload /System/Library/Extensions/AppleHDA.kext
sudo kextload /System/Library/Extensions/AppleHDA.kext
For the Soundflower:
sudo kextunload -b com.Cycling74.driver.Soundflower
sudo kextload -b com.Cycling74.driver.Soundflower