E
E
Evgeny Glebov2022-01-13 18:22:14
Windows
Evgeny Glebov, 2022-01-13 18:22:14

ffmpeg: how to add sound recording to video?

I record from the screen with the following console command:

ffmpeg.exe -y -f gdigrab -i desktop -pix_fmt yuv420p record.mp4

But at the output I get a video without sound .
It is necessary that the sound is also recorded from the default audio device.

I found examples for linux, but under Windows I
also found examples for Windows, but you must explicitly specify the audio device there.
I plan to run this script on other PCs, and their devices may differ.

Answer the question

In order to leave comments, you need to log in

Didn't find what you were looking for?

Ask your question

Ask a Question

731 491 924 answers to any question