record-screen icon indicating copy to clipboard operation
record-screen copied to clipboard

Audio

Open ghost opened this issue 5 years ago • 6 comments

I tried researching FFMPEG to see if i could manually add an option to play audio but I cant seem to figure it out and it would be nice if I could also record the desktop audio. thx

ghost avatar Jul 20 '20 10:07 ghost

Hi @Gqtour,

unfortunately recording audio will not be that easy, since both of the supported input methods (X11 / MJPEG) do not provide an audio channel. So any solution would have to grab the audio data separately and then combine the results.

The use case for this library is recording screens from remote servers, but if your use case allows you to do screen recordings on device, FFMpeg does support capturing audio: https://trac.ffmpeg.org/wiki/Capture/Desktop

So my recommendation would be to either use a more generic NodeJS wrapper or implement your own custom one.

blueimp avatar Jul 21 '20 09:07 blueimp

I found a way arround it and did a node package edit, i can push a pull request if u want to see the changes i did

ghost avatar Jul 23 '20 01:07 ghost

Sure! I can't guarantee that I'll merge it, cause I wanna keep the focus of this project on recording remote servers, but I'll gladly take a look.

blueimp avatar Jul 23 '20 07:07 blueimp

Ok will push one when i can get the files off my linux partition

ghost avatar Jul 24 '20 13:07 ghost

direct remote storage posible screen capture and save on remote server like clients and server

perfectwebtech avatar Feb 11 '21 14:02 perfectwebtech

Any update on capturing sound / audio?

Nowi5 avatar Aug 09 '22 12:08 Nowi5