Old 09-16-2020, 07:54 PM   #1
vocalnick
Human being with feelings
 
vocalnick's Avatar
 
Join Date: Dec 2006
Location: Tasmania
Posts: 553
Default Read multi-channel audio in video files?

Hey all,

I'm using OBS to record some videos with multiple audio channels. Currently recording to MKV and then re-muxing to MP4. I'm wondering if there's any simple way to get them into Reaper for video/audio manipulation with the multi-audio intact?

They come into Premiere Pro OK with multiple audio channels, but dropping them into Reaper only seems to recognise the first stereo tracks. I've tried both the MKV and MP4 files and get the same behaviour in both. Item Properties only reports 2 audio channels.

Any thoughts?
__________________
www.veryseriousmedia.com
vocalnick is offline   Reply With Quote
Old 09-17-2020, 04:29 AM   #2
FixItInPost
Human being with feelings
 
Join Date: Jun 2018
Location: South Africa
Posts: 24
Default

I read somewhere on the forum that REAPER cannot handle multi-stream/track audio, just multi channel audio, hence the "Channel Mode" option within the Media Item Properties window.

Read my post on this thread which explains (rather verbosely and possibly confusingly) the difference between channels and streams (a.k.a. tracks).

It would seem that OBS exports separate streams and that is why REAPER only reads the first stream.

If you're familiar with FFmpeg you could write a batch/bash file that takes the multi audio stream MKV files and exports separate audio files for each stream
FixItInPost is offline   Reply With Quote
Old 09-18-2020, 01:19 AM   #3
vocalnick
Human being with feelings
 
vocalnick's Avatar
 
Join Date: Dec 2006
Location: Tasmania
Posts: 553
Default

Hey, thanks for the reply 🙂

That makes perfect sense. It would be lovely if Reaper could interpret the streams and treat them as channels, but I (more or less... sort of) understand that they are different things.

I’ll look into an FFMPEG solution if it comes up often, but I might just export WAVs from Premiere Pro in the meantime.

Thanks again!
__________________
www.veryseriousmedia.com
vocalnick is offline   Reply With Quote
Old 09-22-2020, 04:34 AM   #4
vocalnick
Human being with feelings
 
vocalnick's Avatar
 
Join Date: Dec 2006
Location: Tasmania
Posts: 553
Default

Incase anybody comes across this later, I found an open-source program called MKVToolNIX which let me split out the separate audio tracks as MKA files.

I had some weird behaviour with the MKAs and Reaper (crashing and whatnot) but the Remux function in OBS let me change them to MP4, which Reaper handles with aplomb.

This is all done without any transcoding, so it was SUPER fast.
__________________
www.veryseriousmedia.com
vocalnick is offline   Reply With Quote
Old 09-27-2020, 08:03 AM   #5
EpicSounds
Human being with feelings
 
EpicSounds's Avatar
 
Join Date: Jul 2009
Posts: 7,592
Default

I use FFmpeg Batch AV Converter to get audio tracks out of my obs recordings. I skip the OBS remux function.
__________________
REAPER Video Tutorials, Tips & Tricks and more at The REAPER Blog
EpicSounds is offline   Reply With Quote
Old 09-27-2020, 01:09 PM   #6
SonicAxiom
Human being with feelings
 
SonicAxiom's Avatar
 
Join Date: Dec 2012
Location: Germany
Posts: 3,039
Default

in case you are interested: I just added new functionality to my AVConvert tool (see its thread here). You can now right-click a video file containing 2 stereo audio streams and merge-convert those into a 4-channel wave file.

.
__________________
Check out AVConvert (free, super-fast media file manipulation via the right-click context-menu in Windows Explorer) and my free VST plugins.
My Reaper tutorials and studio related videos on youtube.
SonicAxiom is offline   Reply With Quote
Old 04-25-2021, 04:49 PM   #7
daniellumertz
Human being with feelings
 
daniellumertz's Avatar
 
Join Date: Dec 2017
Location: Brazil
Posts: 2,008
Default

why is this a thing? Like why reaper don't get all tracks of some video files?

Just Found the answer https://forum.cockos.com/showpost.ph...77&postcount=2

@EpicSounds would you mind sharing your ffmpeg code or preset?

Last edited by daniellumertz; 04-25-2021 at 05:14 PM.
daniellumertz is offline   Reply With Quote
Old 04-26-2021, 08:54 AM   #8
EpicSounds
Human being with feelings
 
EpicSounds's Avatar
 
Join Date: Jul 2009
Posts: 7,592
Default

Quote:
Originally Posted by daniellumertz View Post
why is this a thing? Like why reaper don't get all tracks of some video files?

Just Found the answer https://forum.cockos.com/showpost.ph...77&postcount=2

@EpicSounds would you mind sharing your ffmpeg code or preset?
on windows I switched to using SonicAxiom's AVConvert. It works well
__________________
REAPER Video Tutorials, Tips & Tricks and more at The REAPER Blog
EpicSounds is offline   Reply With Quote
Old 04-26-2021, 10:27 AM   #9
ashcat_lt
Human being with feelings
 
Join Date: Dec 2012
Posts: 7,293
Default

But I’m going to ask again: Why, if you are the one doing the recording in OBS, are you recording to separate track/streams rather than recording multichannel audio which reaper handles just fine? It can be a little messy to set up initially if you’re not using the ASIO plugin, but it certainly can be done. I mean there’s like six active threads on this issue, and most of them at least the reason it even came up is because you recorded the video wrong to begin with.

Edit - but it would be nice if Reaper could just figure out how to access all the alternate track/streams natively.

Last edited by ashcat_lt; 04-26-2021 at 10:37 AM.
ashcat_lt is offline   Reply With Quote
Old 04-26-2021, 12:13 PM   #10
EpicSounds
Human being with feelings
 
EpicSounds's Avatar
 
Join Date: Jul 2009
Posts: 7,592
Default

because I'd still have to split them out as separate files for post production regardless. the audio should always be separated from the video clips for performance reasons
__________________
REAPER Video Tutorials, Tips & Tricks and more at The REAPER Blog
EpicSounds is offline   Reply With Quote
Old 04-26-2021, 12:29 PM   #11
daniellumertz
Human being with feelings
 
daniellumertz's Avatar
 
Join Date: Dec 2017
Location: Brazil
Posts: 2,008
Default

Quote:
Originally Posted by ashcat_lt View Post
But I’m going to ask again: Why, if you are the one doing the recording in OBS, are you recording to separate track/streams rather than recording multichannel audio which reaper handles just fine? It can be a little messy to set up initially if you’re not using the ASIO plugin, but it certainly can be done. I mean there’s like six active threads on this issue, and most of them at least the reason it even came up is because you recorded the video wrong to begin with.

Edit - but it would be nice if Reaper could just figure out how to access all the alternate track/streams natively.
So is possible to export as a multichannel from obs using the ASIO extension? Currently I can only export as multitrack.

Yeah I got what you are saying about performance especially in heavy files + lot of chops and stuff like remixes
In some cases where I have multiple files I alternate between the audio and video using this script I wrote https://forum.cockos.com/showthread.php?p=2413613
daniellumertz is offline   Reply With Quote
Old 04-26-2021, 02:12 PM   #12
ashcat_lt
Human being with feelings
 
Join Date: Dec 2012
Posts: 7,293
Default

Quote:
Originally Posted by EpicSounds View Post
because I'd still have to split them out as separate files for post production regardless. the audio should always be separated from the video clips for performance reasons
Sure but you could just let Reaper explode the multichannel files rather than taking a whole other step in a whole other application. In many cases I think people could get away with just routing the various channels to their own Reaper tracks for mixing without really needing them as separate files.

If you are using the ASIO plugin as a source, you just right click it and go into its properties. Right there is a window to route each of the ASIO inputs to OBS channels. You’ll need to tell OBS to record a multichannel (2.1, 5.1, whatever) format, of course. If you are using desktop audio as one of your sources, you let that go through on channels 1/2 and route your ASIO inputs to other channels. If you’re trying to record several different “desktop type” sources to different channels, you might need something like VoiceMeeter or similar to force them to different channels on the way into OBS, or use ASIO4All for that part and then the ASIO plugin in OBS, or something.
ashcat_lt is offline   Reply With Quote
Old 04-26-2021, 03:47 PM   #13
EpicSounds
Human being with feelings
 
EpicSounds's Avatar
 
Join Date: Jul 2009
Posts: 7,592
Default

Quote:
Originally Posted by ashcat_lt View Post
Sure but you could just let Reaper explode the multichannel files rather than taking a whole other step in a whole other application. In many cases I think people could get away with just routing the various channels to their own Reaper tracks for mixing without really needing them as separate files.
on my mac its drag and drop to convert the files. It even tells me when it's done with a voice alert 'job done'.

Having the project laggy because I'm trying to get audio from a compressed file with multiple instances is going to slow down the project more than batch converting in advance.
Even with single video files a phone for example, reaper runs better with the audio in a separate file.
I could explode and then glue, and I'd have reaper locked up until completed.
__________________
REAPER Video Tutorials, Tips & Tricks and more at The REAPER Blog
EpicSounds is offline   Reply With Quote
Old 04-26-2021, 05:33 PM   #14
ashcat_lt
Human being with feelings
 
Join Date: Dec 2012
Posts: 7,293
Default

Those are fair points, though I'm not sure I'd ever notice. My video projects are generally either so simple it wouldn't bother me or so complex I'd never be able to narrow it down to that as being the issue causing lag or whatever. Basically, I pretty much expect video playback to be wonky, anyway, so...

Last edited by ashcat_lt; 04-26-2021 at 05:47 PM.
ashcat_lt is offline   Reply With Quote
Reply

Thread Tools
Display Modes

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is On
HTML code is Off

Forum Jump


All times are GMT -7. The time now is 04:24 AM.


Powered by vBulletin® Version 3.8.11
Copyright ©2000 - 2024, vBulletin Solutions Inc.