How to play mpg file in WmfMedia

Have you added an actual codec pack to Unreal?

I doubt the engine utilises the onces that you have installed regularly.

Is converting your footage not an option?

Because as you stated .mpg isn’t supported at this point.

I neet to play some *.mpg files in Windows platform
and i can play it in the windows media player whit some Codecs plugin

So i add some code in WmfMedia plugin
SupportedFileExtensions.Add(TEXT(“mpg”));

and “Allow non-supported codecs” is checked

but it is not work

there is nothing in the Output Log

how to make it works, thanks

i konw .mpg isn’t supported, but the doc also said

You can now enable and allow non-standard codecs for WMF Media from the Plugins section of Project Settings.

https://docs.unrealengine.com/latest/images/Engine/MediaFramework/TechReference/ProjectSettings.jpg

By default, the player plugin will attempt to detect audio and video codecs that are not supported by the operating system, requiring the user to install additional codec packs.

and i found some logs:

LogWmfMedia:Verbose: Set rate from 0.000000 to 1.000000
LogWmfMedia:Verbose: Starting playback at beginning
LogWmfMedia:Verbose: Media session event: Session Rate Changed: The request is invalid in the current state.
LogWmfMedia:Verbose: Media session event: Session Started: The request is invalid in the current state.
LogMediaAssets:Verbose: MediaSoundWave resuming sink.

and we can only getthe .mpg file,
Converting the format will be another huge project in project