Media player crash if the media file has not ordered resolution video tracks

The bug has been there for a long time. If my mp4 file has not ordered video tracks with different resolutions, media player will crash immediately when switching to some tracks.

For example, if i make a mp4 with 4 tracks with following order: 1920, 1080, 720, 3840, (the lsat track has the highest resolution), import it to unreal engine file media source, and play it, switch tracks. It will crash. Not sure why and how to fix.

[Attachment Removed]

Hello,

I am sorry to say that what you are doing is not actually supported. While I agree that it should not crash, the current use case for track switching is to have something akin to multiple camera angles only. The codec and resolution for each track should be the same.

We will look into making track changes between varying resolutions or even different codecs possible in a future version.

I apologize for the incovenience.

Regards,

Jens Petersam

[Attachment Removed]

This will be handled correctly by the Electra player with the release of UE 5.8

[Attachment Removed]

Got it. ~ Hope it will get supported soon~ Our use case is for the player to select videos of different resolution. For now we can avoid the crash by order ingthe tracks so it is fine.

[Attachment Removed]