how to capture video and audio with vlc of desktop sessions
Linux - GeneralThis Linux forum is for general Linux questions and discussion.
If it is Linux Related and doesn't seem to fit in any other forum then this is the place.
Notices
Welcome to LinuxQuestions.org, a friendly and active Linux Community.
You are currently viewing LQ as a guest. By joining our community you will have the ability to post topics, receive our newsletter, use the advanced search, subscribe to threads and access many other special features. Registration is quick, simple and absolutely free. Join our community today!
Note that registered members see fewer ads, and ContentLink is completely disabled once you log in.
If you have any problems with the registration process or your account login, please contact us. If you need to reset your password, click here.
Having a problem logging in? Please visit this page to clear all LQ-related cookies.
Get a virtual cloud desktop with the Linux distro that you want in less than five minutes with Shells! With over 10 pre-installed distros to choose from, the worry-free installation life is here! Whether you are a digital nomad or just looking for flexibility, Shells can put your Linux machine on the device that you want to use.
Exclusive for LQ members, get up to 45% off per month. Click here for more info.
how to capture video and audio with vlc of desktop sessions
I'm capturing my video desktop recording sessions using vlc, but I'm unable to capture any audio, does anyone know how to capture audio along with video in vlc?
Replace items in blue to reflect your situation. Use xwininfo to get info on your desktop screen or a window area and note the geometry and corners values to use with the code above.
If using pulse audio, replace -f alsa hw:0,0 with -f pulse -i pulse
replace 29.970 with your desire framerate
The -q:v is the video quality. A value between 1 and 5 is best.
Replace outputfile.mkv with your desire output name
Do a test run like 15 or 30 seconds of a screen capture of your desktop and see the result.
is there a way to specify the audio input device? since I got several hooked up the computer (webcam, headphoe w/ microphone)
Replace items in blue to reflect your situation. Use xwininfo to get info on your desktop screen or a window area and note the geometry and corners values to use with the code above.
If using pulse audio, replace -f alsa hw:0,0 with -f pulse -i pulse
replace 29.970 with your desire framerate
The -q:v is the video quality. A value between 1 and 5 is best.
Replace outputfile.mkv with your desire output name
Do a test run like 15 or 30 seconds of a screen capture of your desktop and see the result.
Thanks, I will give it try, I've always used recordMydesktop, but it hugs a lot of resources, and since I started using vlc, I get better performance. Like you said, the only drawback is that it doesn't record audio. So I'll give ffmpeg a try...
Thanks, I will give it try, I've always used recordMydesktop, but it hugs a lot of resources, and since I started using vlc, I get better performance. Like you said, the only drawback is that it doesn't record audio. So I'll give ffmpeg a try...
There is another screen capture program called vokoscreen. It's more intuitive and straight forward to use. Not sure on how much resources it takes, maybe you can give it a try. It's available in the Mint repos, so it should be available in most debian/ubuntu derivatives and some other linux distros.
LinuxQuestions.org is looking for people interested in writing
Editorials, Articles, Reviews, and more. If you'd like to contribute
content, let us know.