Hey guys,
I used to record videos in OBS Classic and edit them using the built in Windows.Media.Editing APIs. However, once I switched to Studio, all my OBS Studio videos couldn't be processed correctly due to a bug in the audio encoding. I happen to work at Microsoft and got them to look at it and here was their quick and dirty explanation to me of what went wrong.
"In the AudioSpecificConfig in the bitstream, there are 5 bits to signal the audio object type. In this case it is AAC_LC. There is a way to signal the syncExtension (11 bits) type further on. If the syncExtension == 0x2b7, the first 5 bits are used to decipher the extensionAudioObjectType. OBS is setting this to AAC_LC. We expect this to be SBR or PS. Further more, setting the extensionAudioObject type to null, allows for the bitstream to be decoded so perhaps it was a bug to signal extensionAudioObjectType =AAC_LC."
To be more specific, I was using NVENC at the time and recording to .mp4.
On the windows side, they have a workaround for this to help the Windows.Media.Editing APIs function on these videos, but I wouldn't count on that fix being available any time soon. Additionally, this issue may pop up with other types of editing software so it's probably worth looking at. If you like, I can send you the program I was using to do the editing as well as one of the videos from OBS Classic that edited fine and one from OBS Studio that had a problem.
Thanks,
John
I used to record videos in OBS Classic and edit them using the built in Windows.Media.Editing APIs. However, once I switched to Studio, all my OBS Studio videos couldn't be processed correctly due to a bug in the audio encoding. I happen to work at Microsoft and got them to look at it and here was their quick and dirty explanation to me of what went wrong.
"In the AudioSpecificConfig in the bitstream, there are 5 bits to signal the audio object type. In this case it is AAC_LC. There is a way to signal the syncExtension (11 bits) type further on. If the syncExtension == 0x2b7, the first 5 bits are used to decipher the extensionAudioObjectType. OBS is setting this to AAC_LC. We expect this to be SBR or PS. Further more, setting the extensionAudioObject type to null, allows for the bitstream to be decoded so perhaps it was a bug to signal extensionAudioObjectType =AAC_LC."
To be more specific, I was using NVENC at the time and recording to .mp4.
On the windows side, they have a workaround for this to help the Windows.Media.Editing APIs function on these videos, but I wouldn't count on that fix being available any time soon. Additionally, this issue may pop up with other types of editing software so it's probably worth looking at. If you like, I can send you the program I was using to do the editing as well as one of the videos from OBS Classic that edited fine and one from OBS Studio that had a problem.
Thanks,
John