Audio problem in long video UE 4.13

Hello

We encountered a problem while playing in editor long videos (3-4 minutes)
Sound quality is poor and breaks as if there was a problem with the decoding of audio with video.
In the short video files you can sometimes hear minimal drops but does not sound so bad.

anyone got an idea how to fix this

edit: In version 4.11 everything worked well

Hey Ruhtra,

Can you provide me with an example project or a sample video asset with some steps to follow so I can reproduce this in a blank project in 4.13?

Have you attempted to modify or adjust the Media Sound Wave properties?

This could be an audio encoding issue with your video format. I will say the Media Framework has undergone an overhaul in regards to functionality, so that could also be the culprit in part.

Let me know if you have further questions.

Cheers,

Hey Andrew,

We are using mp4 - H.264 - VBR - AAC 256kbps video files,connected to .cue for custom attenuation.

I tried to use different mp4 files from various sources, but the problem always arises.
As i wrote above, in the case of a short video, there are several “drop” sounds at the beginning and further everything is fine.
When i use videos from about 3 minutes and longer, the sound is degraded and sounds bad all the time.

When I heard it for the first time, I also thought that this is a problem of an audio encoding issue for video.

All video files that we are using we used before in 4.11 where everything worked corect.
We changed our system of video playback, adjusting it to the changes introduced in 4.13

Below I put a print screen of attenuation settings.

Cheers,

So it appears the audio quality issue for Media Sound Waves was known and a bug was entered to have it addressed. A setting was added in 4.13 to mitigate this issue which you can locate by navigating to your Project Settings > WMF Media

Project Settings - WMF Media

These settings should remove the audio quality issue you are experiencing. I was able to confirm it does in fact work because the sound quality for my media source files was a bit crackly, but as soon as I enabled the ‘Native Audio Out’ option, the audio was much clearer.

[UE-35124][2]

Let me know if you have further questions.

Cheers,

Hey Andrew,
The settings are working for me but when I package the Game the sound is again crap. Do you have a solution for this ?

What version of the engine are you working with? I ask because we implemented our new audio engine/mixer for 4.16 which has a lot of new improvements and changes. This could potentially resolve your issue.

Aside from that, I cannot think of anything off-hand that would resolve it. Especially since this bug should be addressing the issue.

when I package the Game the sound is again crap

It looks like changing the setting through the editor doesn’t modify DefaultEngine.ini, which is why I think it doesn’t get picked up as part of a packaged build. If you add:

/Script/WmfMediaFactory.WmfMediaSettings]
 NativeAudioOut=True

to your game’s DefaultEngine.ini, that should work both in the editor and in your package builds.