Both command-line ffmpeg and mediainfo report that the audio AAC bitrate on my OBS Studio recordings is 159-163kbps (weird that it appears to be a variable value?), even though I selected 320kbps for all audio tracks (I only use one).
Files output by Handbrake or Blender show AAC audio at the bitrate that I've selected.
What gives?
Here's the 'Recording' part of the log. Notice that AAC is being recorded at 160kbps, even though I picked 320kbps:
17:13:05.952: ---------------------------------
17:13:05.957: [NVENC encoder: 'recording_h264'] settings:
17:13:05.957: rate_control: CBR
17:13:05.957: bitrate: 30000
17:13:05.957: cqp: 0
17:13:05.957: keyint: 60
17:13:05.957: preset: hq
17:13:05.957: profile: high
17:13:05.957: level: 4.2
17:13:05.957: width: 1920
17:13:05.957: height: 1080
17:13:05.957: 2-pass: true
17:13:05.957: b-frames: 2
17:13:05.957: GPU: 0
17:13:05.957:
17:13:07.505: ---------------------------------
17:13:07.506: [FFmpeg aac encoder: 'Track1'] bitrate: 160, channels: 2
17:13:07.652: ==== Recording Start ===============================================
17:13:07.652: [ffmpeg muxer: 'adv_file_output'] Writing file 'F:/2017-08-28_17-13-05.flv'...
17:13:22.782: [ffmpeg muxer: 'adv_file_output'] Output of file 'F:/2017-08-28_17-13-05.flv' stopped
17:13:22.782: Output 'adv_file_output': stopping
17:13:22.782: Output 'adv_file_output': Total encoded frames: 896
17:13:22.782: Output 'adv_file_output': Total drawn frames: 908
17:13:22.783: ==== Recording Stop ================================================
Here's the entire log, as a pastebin, since the forum uploader doesn't seem to be working: https://pastebin.com/SFFK3nWF
Files output by Handbrake or Blender show AAC audio at the bitrate that I've selected.
What gives?
Here's the 'Recording' part of the log. Notice that AAC is being recorded at 160kbps, even though I picked 320kbps:
17:13:05.952: ---------------------------------
17:13:05.957: [NVENC encoder: 'recording_h264'] settings:
17:13:05.957: rate_control: CBR
17:13:05.957: bitrate: 30000
17:13:05.957: cqp: 0
17:13:05.957: keyint: 60
17:13:05.957: preset: hq
17:13:05.957: profile: high
17:13:05.957: level: 4.2
17:13:05.957: width: 1920
17:13:05.957: height: 1080
17:13:05.957: 2-pass: true
17:13:05.957: b-frames: 2
17:13:05.957: GPU: 0
17:13:05.957:
17:13:07.505: ---------------------------------
17:13:07.506: [FFmpeg aac encoder: 'Track1'] bitrate: 160, channels: 2
17:13:07.652: ==== Recording Start ===============================================
17:13:07.652: [ffmpeg muxer: 'adv_file_output'] Writing file 'F:/2017-08-28_17-13-05.flv'...
17:13:22.782: [ffmpeg muxer: 'adv_file_output'] Output of file 'F:/2017-08-28_17-13-05.flv' stopped
17:13:22.782: Output 'adv_file_output': stopping
17:13:22.782: Output 'adv_file_output': Total encoded frames: 896
17:13:22.782: Output 'adv_file_output': Total drawn frames: 908
17:13:22.783: ==== Recording Stop ================================================
Here's the entire log, as a pastebin, since the forum uploader doesn't seem to be working: https://pastebin.com/SFFK3nWF