Is there a way to make HEVC encoder record multiple audio tracks?

Zraxis

New Member
So last night I was recording some stuff and uploading it for the first time. After uploading it I watched it over and noticed that the footage was all fuzzy. I was using the x264 so I decided to do a little research and tested out another recording with the "H265/HEVC Encoder (AMD Advanced Media Framework)" and the recording quality was much sharper with only rare stuttering, so I would prefer to record in this quality, but when I remux'd it into an mp4 and uploaded it to vegas pro it only had the desktop audio track. I have since tested it back and forth with x264 and HEVC and both audio tracks are picked up with x264 and not on HEVC, so it shouldn't be that I have it set up wrong, right? Is there a problem with that type of recording or is there some additional setting I need to mark off?

 

rockbottom

Active Member
Check the original recording with MediaInfo.

I just did a test recording & have 2 tracks.
===================== Video =====================
Id : 1
Format : HEVC
Format info : High Efficiency Video Coding
Formatprofile : Main@L4.1@Main
Codec Id : hev1
Codec info : High Efficiency Video Coding
Duration (ms) : 3s 984ms
Bit rate : 3 692 Kbps
Width : 1 920 pixels
Height : 1 080 pixels
Display aspect ratio : 16:9
Frame rate mode : Constant
Frame rate : 60.000 fps
Color space : YUV
Chroma subsampling : 4:2:0
Bit depth : 8 bits
Bits/(Pixel*Frame) : 0.030
Stream size : 1.76 MB (41%)
Color range : Limited
Color primaries : BT.709
Transfer characteristics : sYCC
Matrix coefficients : BT.709

===================== Audio #1 =====================
Id : 2
Format : PCM
Formatsettings, Endianness : Little
Formatsettings, Sign : Signed
Codec Id : in24
Duration (ms) : 4s 608ms
Bit rate mode : Constant
Bit rate : 2 304 Kbps
Channel(s) : 2 channels
Channel positions : Front: L R
Sampling rate : 48.0 KHz
Bit depth : 24 bits
Stream size : 1.27 MB (29%)
Default : Yes
Alternate group : 1

===================== Audio #2 =====================
Id : 3
Format : PCM
Formatsettings, Endianness : Little
Formatsettings, Sign : Signed
Codec Id : in24
Duration (ms) : 4s 608ms
Bit rate mode : Constant
Bit rate : 2 304 Kbps
Channel(s) : 2 channels
Channel positions : Front: L R
Sampling rate : 48.0 KHz
Bit depth : 24 bits
Stream size : 1.27 MB (29%)
Default : No
Alternate group : 1
 

rockbottom

Active Member
Before I jump off, I went through your log. Some suggestions.

Run OBS as Admin
12:51:36.644: Running as administrator: false

Disable this & Enable Game Mode if you're primarily recording games
12:51:36.644: Windows 10 Gaming Features:
12:51:36.644: Game DVR: On

Set your Monitor @ 60fps
12:51:36.870: output 0: pos={0, 0}, size={1920, 1080}, attached=true, refresh=59, name=HP 24m

Set your Mic to 48k
12:51:38.083: WASAPI: Device 'Microphone (TONOR TC-777 Audio Device)' [44100 Hz] initialized
12:51:38.084: [Loaded global audio device]: 'Mic/Aux'

Create another Scene & Move one of them to it
12:51:38.372: - scene 'Scene':
12:51:38.372: - source: 'Game Capture' (game_capture)
12:51:38.372: - source: 'Display Capture' (monitor_capture)

Normally, I would recommend CQP for encoding but with AMF your settings work for me. Just check your Keyframe Interval, I'd set it at 2 seconds & if possible, write to a SSD.
 
Last edited:

Zraxis

New Member
Weirdly enough, watching the mkv version in window's media player it has the desktop audio track, and the remux'd mp4 version in media player has only the mic audio, but then porting the mp4 into vegas has only desktop again
 

rockbottom

Active Member
Also, if your system is stable & you don't mind the risk of potentially losing a recording in the event of a crash, use the QuickTime container (.mov). QT recordings will import right into Vegas Pro & there's no need to remux them.
 
Top