x

Search in
Sort by:

Question Status:

Search help

  • Simple searches use one or more words. Separate the words with spaces (cat dog) to search cat,dog or both. Separate the words with plus signs (cat +dog) to search for items that may contain cat but must contain dog.
  • You can further refine your search on the search results page, where you can search by keywords, author, topic. These can be combined with each other. Examples
    • cat dog --matches anything with cat,dog or both
    • cat +dog --searches for cat +dog where dog is a mandatory term
    • cat -dog -- searches for cat excluding any result containing dog
    • [cats] —will restrict your search to results with topic named "cats"
    • [cats] [dogs] —will restrict your search to results with both topics, "cats", and "dogs"

In UMG sound with movie

I have updated the MediaPlayer ot use the MediaAsset file, and it has both the video and audio set. It's supposed to play a mp4 movie on the UMG, the video plays but not the audio.

It is possible the volume is just zero, but I couldn't find how to adjust the volume.

How do you get the sound from a movie to play on a UMG widget along with the movie?

Thank you

Product Version: UE 4.13
Tags:
more ▼

asked Oct 17 '16 at 01:36 PM in Everything Else

avatar image

mikepurvis
2.5k 101 66 260

avatar image mikepurvis Oct 18 '16 at 10:42 PM

Saved the sound as wav and will play at location separately as a hack.

It would be nice to know if this is a MediaPlayer BUG or if it requires a setting or calling a function to make audio play in a UMG movie.

(comments are locked)
10|2000 characters needed characters left
Viewable by all users

2 answers: sort voted first

You need to create a MediaSoundWave asset, assign it to the MediaPlayer's "Sound Wave" property, and then use that sound wave to play in the UI.

That being said, our audio subsystem is still being rewritten to better support procedural sounds (which the MediaSoundWave uses), and it will take until 4.15. In the meantime, I recommend that you go to the WmfMedia plug-in settings and enable the "Native Audio Output" checkbox to play the audio directly via the operating system. If you do that, then you do not need a sound wave asset.

more ▼

answered Oct 18 '16 at 11:08 PM

(comments are locked)
10|2000 characters needed characters left
Viewable by all users

It's pretty easy in 4.13 to get sound for your media files.

Along with the MediaTexture that's generated, there's a MediaSoundWave asset too. Just like the MediaTexture is treated like a TextureRenderTarget2D, the MediaSoundWave is treated like a Dyanmic SoundCue. The audio from whatever file is being played through the media player is being streamed to the MediaSoundWave file along with the video being streamed to the MediaTexture.

Here's how I spawn mine for a simple movie player overlay: alt text

You could presumable simply call this at any time, or create a sound Actor or anything else you can do with a SoundCue.

(Note "Playing the sound doesn't really start the sound, it just makes it audible.)

capture3.png (113.8 kB)
more ▼

answered Jan 03 '17 at 10:32 PM

avatar image

Tom Shannon
99 8 10 17

(comments are locked)
10|2000 characters needed characters left
Viewable by all users
Your answer
toggle preview:

Up to 5 attachments (including images) can be used with a maximum of 5.2 MB each and 5.2 MB total.

Follow this question

Once you sign in you will be able to subscribe for any updates here

Answers to this question