[FFmpeg-user] Trouble capturing speaker audio with video on Ubuntu 20.04

Bo Berglund bo.berglund at gmail.com
Thu Feb 25 08:41:40 EET 2021


On Thu, 25 Feb 2021 01:02:16 +0100, Bo Berglund <bo.berglund at gmail.com> wrote:

>On Windows I use this full capture command and it works fine:
>
>ffmpeg -hide_banner -f gdigrab -framerate 25 -offset_x 1042 -offset_y 228
>-video_size 854x480 -i desktop  -f dshow -i audio="virtual-audio-capturer"
>-vcodec libx264 -pix_fmt yuv420p -t 3600 test.mp4
>
>But this does not work on Ubuntu of course...

Forgot to say that originally on Windows I also had trouble getting audio into
the captured video. It was not fixed until I installed the driver that publishes
as "virtual-audio-capturer" to ffmpeg.
Unfortunately it is a Windows only open source driver...
Available here:
https://github.com/rdp/screen-capture-recorder-to-video-windows-free

Question:
Is there some comparable driver available for Ubuntu 20.04?


-- 
Bo Berglund
Developer in Sweden



More information about the ffmpeg-user mailing list