Linux command
sndcpy 命令
文本
复制后可按需替换文件名、目录或参数。
常用示例
Forward audio
sndcpy
Forward audio
sndcpy [serial]
说明
sndcpy forwards audio from an Android device to a computer over USB or TCP/IP. It works as a companion to scrcpy (screen copy), enabling both video and audio forwarding from Android devices. The name is a portmanteau of "sound" and "copy." The tool installs a small app on the Android device that captures audio output and streams it to VLC on the computer. Audio continues to play on the device as well, and volume can be controlled independently on both device and computer. sndcpy requires Android 10 or later due to its reliance on the AudioPlaybackCapture API introduced in that version. VLC must be installed on the computer to receive and play the audio stream.
参数
- SNDCPY_PORT
- Environment variable to override the default forwarding port (default: 28200).
FAQ
What is the sndcpy command used for?
sndcpy forwards audio from an Android device to a computer over USB or TCP/IP. It works as a companion to scrcpy (screen copy), enabling both video and audio forwarding from Android devices. The name is a portmanteau of "sound" and "copy." The tool installs a small app on the Android device that captures audio output and streams it to VLC on the computer. Audio continues to play on the device as well, and volume can be controlled independently on both device and computer. sndcpy requires Android 10 or later due to its reliance on the AudioPlaybackCapture API introduced in that version. VLC must be installed on the computer to receive and play the audio stream.
How do I run a basic sndcpy example?
Run `sndcpy` in a terminal, then adjust file names, paths, flags, or remote targets for your system.
What does SNDCPY_PORT do in sndcpy?
Environment variable to override the default forwarding port (default: 28200).