sndcpy icon indicating copy to clipboard operation
sndcpy copied to clipboard

HOWTO Record audio (linux)

Open clort81 opened this issue 4 years ago • 0 comments

I copied the sndcpy script to sndrec and changed the line:

ffplay -autoexit -nodisp -probesize 32 -f s16le -ar 48k -ac 2 -sync ext tcp://localhost:28200

to

ffmpeg -y -f s16le -ar 48k -ac 2 -i tcp://localhost:28200 out.ogg

This let's me record audio that can be merged with the scrcpy -r (recorded) video. To merge with the video, I use a video editor and manually sync audio and video, then export to a video+audio to share.

Hope someone finds this helpful.

clort81 avatar Sep 19 '21 10:09 clort81