Video Playback Issue with Electra on Android

Hi,​

Regarding the problem where certain videos cannot be played, we have modified the following engine code. Could you please review if these changes are reasonable?

1、Synchronized the Java modifications from Electra Video 5.6 into the 5.3 engine.

Engine/Plugins/Media/ElectraCodecs/Source/ElectraDecoders/Private/Android/Java/src/com/epicgames/unreal/ElectraDecoderVideoH264.java

​ [Image Removed]

2、Removed Resolution Limitations

Engine\Plugins\Media\ElectraCodecs\Source\ElectraDecoders\Private\Android\h264\H264_VideoDecoder_Android.cpp

[Image Removed]Engine/Plugins/Media/ElectraCodecs/Source/ElectraDecoders/Private/Windows/h264/H264_VideoDecoder_Windows.cpp

[Image Removed]

Hi Xinhao,

The integration from 5.6 to 5.3 should be fine. As for removal of video dimension limitations, these were set for performance reasons on lower end devices. If you are seeing adequate performance on the minimum spec devices your application is targeting, it should be safe to proceed.

In H264_VideoDecoder_Windows.cpp, we’d suggest adding additional configurations to IElectraVideoDecoderH264_DX::PlatformGetSupportedConfigurations rather than circumventing the configuration check.

Best regards.

Happy to help. Please reach out if you encounter further issues.

Best regads.

Okay, thanks.