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"

Media texture not showing in UMG after packaging

Plattform: PC, win64 Movie format: avi Movie size : 62.5 MB

Also tested the movie packed with Shootergame example Loading.mp4

I got a problem with playing my movie Media Texture in UMG. It works fine unpackaged and in the Editor, but then when i play it after i packaged the game it turns black. A message flashes by saying: "Texture Streaming Pool Over 20512.00 MB" The movie is 62.5 MB and it all looks good when checking the stats. Also tried to pump up the streaming pool size without any luck...

alt text

My settings are(also tried higher pool size, but it doesnt help):

 [/Script/Engine.RendererSettings]
 UIScaleCurve=(EditorCurveData=(Keys=((Time=480,Value=0.444),(Time=720,Value=0.666),(Time=1080,Value=1.0),(Time=8640,Value=8.0))),ExternalCurve=None)
 UIScaleCurve=(EditorCurveData=(Keys=((Time=8621.813477,Value=1.000000))),ExternalCurve=None)
 r.DefaultFeature.Bloom=False
 r.DefaultFeature.AutoExposure=False
 r.DefaultFeature.MotionBlur=False
 r.Streaming.PoolSize=1000
 r.TextureStreaming=True

Unpackaged (approx. run command: UE4Editor.exe Jackers.uproject -game) Stats when it works: alt text

Packaged(Development) Stats when the movie isn't showing: alt text

Could there be a problem with my movie-file format? Oh, also changed to the relative path from absolute according to other posts. If so, can someone point to a test movie i can test the are suppose to work.

Product Version: UE 4.10
Tags:
more ▼

asked Feb 19 '16 at 07:42 AM in Using UE4

avatar image

State128
78 4 9 13

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

2 answers: sort voted first

Hello State128,

I appreciate you taking the time to enter a new AnswerHub post. Be sure your media files are located inside /YourProject/Content/Movies, otherwise they will not package/deploy.

I would also look at changing your video format, as the documentation specifically states the Media Player has known issues with .mp4 file types. The texture streaming issue could be due to the fact you are not using the fixed pool size.

Use the console commands, 'r.Streaming.UseFixedPoolSize' 0 for off and 1 for on. Also use 'stat memory' - stats of assets using memory and how much 'memreport' - report of memory usage. We have some helpful documentation as well on how to troubleshoot your texture streaming.

Texture Streaming

https://docs.unrealengine.com/latest/INT/Engine/Content/Types/Textures/Streaming/index.html

Let me know if you are sill stuck after reading through the documentation and I will continue to assist you, or if you have further questions.

Cheers,

Andrew Hurley

more ▼

answered Feb 19 '16 at 03:31 PM

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

Hi Andrew!

I created a vanilla project with both UI textures and surface textures. I have tested tons of different movies (even some from this thread https://answers.unrealengine.com/questions/135989/media-player-url-doesnt-seem-to-work-with-streams.html).

The mem looks good and the streaming mem is also in good shape. But can't get it to work after packaging. The Intro movie works fine. I'm really out of ideas...

Is there a movie that you guys know works after packaging in a texture? It would be a great help that i could compare and see if it works then.

 These are my settings:
     [/Script/Engine.RendererSettings]
     r.MobileHDR=False
     r.MobileNumDynamicPointLights=4
     r.MobileDynamicPointLightsUseStaticBranch=True
     r.AllowOcclusionQueries=True
     r.MinScreenRadiusForLights=0.030000
     r.MinScreenRadiusForDepthPrepass=0.030000
     r.PrecomputedVisibilityWarning=False
     r.TextureStreaming=True
     Compat.UseDXT5NormalMaps=False
     r.AllowStaticLighting=True
     r.NormalMapsForStaticLighting=False
     r.GenerateMeshDistanceFields=False
     r.GenerateLandscapeGIData=True
     r.TessellationAdaptivePixelsPerTriangle=48.000000
     r.SeparateTranslucency=True
     r.TranslucentSortPolicy=0
     TranslucentSortAxis=(X=0.000000,Y=-1.000000,Z=0.000000)
     r.CustomDepth=1
     r.DefaultFeature.Bloom=True
     r.DefaultFeature.AmbientOcclusion=True
     r.DefaultFeature.AmbientOcclusionStaticFraction=True
     r.DefaultFeature.AutoExposure=True
     r.DefaultFeature.MotionBlur=True
     r.DefaultFeature.LensFlare=True
     r.DefaultFeature.AntiAliasing=2
     r.EarlyZPass=3
     r.EarlyZPassMovable=False
     r.DBuffer=False
     r.ClearSceneMethod=1
     r.BasePassOutputsVelocity=False
     r.WireframeCullThreshold=5.000000
     UIScaleRule=ShortestSide
     UIScaleCurve=(EditorCurveData=(PreInfinityExtrap=RCCE_Constant,PostInfinityExtrap=RCCE_Constant,Keys=,DefaultValue=340282346638528859811704183484516925440.000000),ExternalCurve=None)
     r.Streaming.PoolSize=1000
     r.Streaming.UseFixedPoolSize=1

more ▼

answered Feb 23 '16 at 01:44 PM

avatar image

State128
78 4 9 13

avatar image AndrewHurley Feb 23 '16 at 04:09 PM

There are known issues with Media Player, even with the correct and compatible video file types, experiencing issues in packaged projects.

I would look into the .mpeg file type as I have had some good success with those movie files in packaged projects.

If you have not done so already, I would also look at the Media Framework documentation. This highlights the current limitations of the feature and it's functionality.

Media Framework

https://docs.unrealengine.com/latest/INT/Engine/MediaFramework/

Let me know the video formats you have tried, and if none of them are working correctly we can continue to troubleshoot.

Cheers,

Andrew Hurley

(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