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…

79075-playingmedia_error+message.jpg

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:

Packaged(Development) Stats when the movie isn’t showing:

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.

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

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,

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 Media Player URL doesn't seem to work with streams - Cinematics & Media - Epic Developer Community Forums).

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

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

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

Cheers,