Support us on Patreon to keep GamingOnLinux alive. This ensures we have no timed articles and no paywalls. Just good, fresh content! Alternatively, you can donate through PayPal, Liberapay or Buy us a Coffee. You can also buy games using our partner links for GOG and Humble Store.
Something I had been meaning to check out for a while is how to easily record videos of games, but have my microphone and the game audio in two different tracks. It turns out, it's actually quite easy.

First of all, you need to go into OBS Studio settings, click Output and then set the output mode to Advanced. When there, select "Recording" and tick 1 & 2 (or however many tracks you need) next to "Audio Track" like so:
image

Next, you will need to go back to the main OBS Studio screen and hit the little cog next to "Mixer" is noted here:
image

Once there, you can then assign what audio devices go to what tracks:
image

And that's it, you can record away. Sadly though, OBS Studio doesn't store audio files separately to the video as it's all mixed together, so you will still need to split the audio tracks from the recording. This is also super simple to do with the program "Avidemux" (available in most repositories).

Inside Avidemux, you just need to load the video file, then select the Audio menu from the top of the application and pick which track you want to export:
image
Once you have selected it, just select Save from the Audio menu at the top and then you have your audio track nicely separated.

Why is any of this useful? Well, you might want to edit what you actually say after the recording is done (audio levels, coughing, sneezing or whatever). You might also want to lower the game audio in the sections where you talk and so on.

There's many reasons why you may want to do this. For me personally, I don't like recording myself after I've played a game. I prefer to record myself while I play it to throw out thoughts as they come to me. Recording them together at exactly the same time means I don't have to mess about with matching up my microphone audio to the correct spots in the gameplay. It just makes things simpler!

There's ways to do this in the command line too of course, but this is the simplest solution for me personally and this is not meant as a command line tutorial. I say this, as there will likely be the inevitable "but but you can just do these commands!" in the comments. However, if you have a handy command line snippet that will rip all audio tracks from a video, be sure you do share it in the comments!

At the very least, I hope some people find this useful. Article taken from GamingOnLinux.com.
Tags: HOWTO
12 Likes, Who?
We do often include affiliate links to earn us some pennies. We are currently affiliated with GOG, Humble Store and Paradox Interactive. See more here.
About the author -
author picture
I am the owner of GamingOnLinux. After discovering Linux back in the days of Mandrake in 2003, I constantly came back to check on the progress of Linux until Ubuntu appeared on the scene and it helped me to really love it. You can reach me easily by emailing GamingOnLinux directly.
See more from me
The comments on this article are closed.
16 comments
Page: «2/2
  Go to:

Guppy 23 Feb, 2017
Quoting: camocelticOne thing I've been trying to find for a while is how to record different programs on different tracks. EG: I want to separate Discord's audio from CS:GO's. Anyone know how to do that, since I can't seem to figure it out myself?

A long time ago I used some software called JACK that would allow me to create custom audio pipes to either send other programs or to specific output channels on my "Sound Blaster Live!". That last bit should give you some clue about just how long ago we are talking xD but maybe it still works, certainly worth researching;

http://www.jackaudio.org/
tuubi 23 Feb, 2017
Quoting: GuppyA long time ago I used some software called JACK that would allow me to create custom audio pipes to either send other programs or to specific output channels on my "Sound Blaster Live!".
Pulseaudio should handle this use case just fine. Jack is excellent for other reasons, but overkill for most of us.
Eric1212 23 Feb, 2017
Quoting: scaine
Quoting: Guest
Quoting: liamdaweEh? I've posted 3 articles that could be classed as guides this entire month. One last month, and before that the last was November 2016.

Respectfully, I completely disagree.
Eh? I said oversaturated with "non news", and that "this one" was a guide.
I counted 6 "non news" articles just on the first page.

6 in the front page? I had to go back to Feb 15th to find the last one, about how to find Linux releases on Steam. What are you terming 'non-news'?

Regardless, I like the mix, so maybe Liam's suggestion of changing the site to allow filerting by tag will keep everyone happy.


If he talk about TUTO, BUYPRICE & EXPERIENCE posts, i would say theses :
https://www.gamingonlinux.com/articles/black-ice-the-hack-and-shoot-fps-has-a-major-update-to-change-the-entire-game.9152
https://www.gamingonlinux.com/articles/a-look-at-bleed-2-the-crazy-action-game-from-ian-campbell.9161
https://www.gamingonlinux.com/articles/fumbling-around-with-tanks-in-war-thunder-on-linux-some-thoughts.9163
https://www.gamingonlinux.com/articles/wednesday-madness-a-quick-look-at-some-good-linux-gaming-deals.9159
https://www.gamingonlinux.com/articles/you-can-grab-civilization-v-super-cheap-and-get-money-off-civilization-vi-thanks-to-humble.9158
https://www.gamingonlinux.com/articles/how-to-record-videos-on-linux-using-obs-studio-with-separate-audio-tracks-for-gameplay-and-microphone.9153
Guppy 23 Feb, 2017
Quoting: tuubi
Quoting: GuppyA long time ago I used some software called JACK that would allow me to create custom audio pipes to either send other programs or to specific output channels on my "Sound Blaster Live!".
Pulseaudio should handle this use case just fine. Jack is excellent for other reasons, but overkill for most of us.

Then perhaps you could enlighten @camoceltic as to how it's done?
tuubi 23 Feb, 2017
Quoting: GuppyThen perhaps you could enlighten @camoceltic as to how it's done?
This answer should give you (and him) an idea. Not entirely straight-forward, but should do the job. Someone should design a good gui for managing and redirecting pulseaudio sinks, but I guess those who actually need this stuff tend to use Jack.
scaine 23 Feb, 2017
View PC info
  • Contributing Editor
  • Supporter Plus
Quoting: Eric1212
Quoting: scaine
Quoting: Guest
Quoting: liamdaweEh? I've posted 3 articles that could be classed as guides this entire month. One last month, and before that the last was November 2016.

Respectfully, I completely disagree.
Eh? I said oversaturated with "non news", and that "this one" was a guide.
I counted 6 "non news" articles just on the first page.

6 in the front page? I had to go back to Feb 15th to find the last one, about how to find Linux releases on Steam. What are you terming 'non-news'?

Regardless, I like the mix, so maybe Liam's suggestion of changing the site to allow filerting by tag will keep everyone happy.


If he talk about TUTO, BUYPRICE & EXPERIENCE posts, i would say theses :
https://www.gamingonlinux.com/articles/black-ice-the-hack-and-shoot-fps-has-a-major-update-to-change-the-entire-game.9152
https://www.gamingonlinux.com/articles/a-look-at-bleed-2-the-crazy-action-game-from-ian-campbell.9161
https://www.gamingonlinux.com/articles/fumbling-around-with-tanks-in-war-thunder-on-linux-some-thoughts.9163
https://www.gamingonlinux.com/articles/wednesday-madness-a-quick-look-at-some-good-linux-gaming-deals.9159
https://www.gamingonlinux.com/articles/you-can-grab-civilization-v-super-cheap-and-get-money-off-civilization-vi-thanks-to-humble.9158
https://www.gamingonlinux.com/articles/how-to-record-videos-on-linux-using-obs-studio-with-separate-audio-tracks-for-gameplay-and-microphone.9153

Your definition of news is very... focused. Certainly a long way from my own, if you don't consider reviews or sales as being worthy of inclusion on the front page. Here's hoping you get your filters - you might consider supporting Liam's Patreon and asking for such a feature directly, although he has certainly already mentioned it in this thread anyway.
While you're here, please consider supporting GamingOnLinux on:

Patreon, Liberapay or PayPal Donation.

We have no adverts, no paywalls, no timed exclusive articles. Just good, fresh content. Without your continued support, we simply could not continue!

You can find even more ways to support us on this dedicated page any time. If you already are, thank you!
The comments on this article are closed.
Livestreams & Videos
Community Livestreams
Latest Forum Posts