Jump to content

Can't play video. wave 5.6, ue 5.2, xrelite


nande

Recommended Posts

Hello,

I need some help to play videos on device.

I've set it up and it works correctly on the editor. but when on the device it doesn't work.

this is what i've done:

* android media plugins are enabled and active

* videos imported to Content/Movies

* the setup is correct i followed many docs

* codec is h264 on a .mp4

* plays on editor

 

could anyone help me please?

 

 

logs:

2024-04-12 12:45:17.259 29224-29291/com.myapp.xr D/UE: FAndroidMedia::Close() - 86DDC6D546279938218168BF3AAE0DDC
2024-04-12 12:45:17.259 893-1801/? D/NuPlayerDriver: stop(0xe46386e0)
2024-04-12 12:45:17.260 893-1801/? D/NuPlayerDriver: reset(0xe46386e0) at state 8
2024-04-12 12:45:17.260 893-30179/? W/AMessage: failed to post message as target looper for handler 0 is gone.
2024-04-12 12:45:17.261 893-30179/? D/NuPlayerDriver: notifyResetComplete(0xe46386e0)
2024-04-12 12:45:17.261 893-1801/? D/NuPlayerDriver: reset(0xe46386e0) at state 0
2024-04-12 12:45:17.262 29224-29291/com.myapp.xr D/UE: IMediaPlayer SetGuid: 86DDC6D546279938218168BF3AAE0DDC
2024-04-12 12:45:17.262 29224-29291/com.myapp.xr D/UE: FAndroidMedia::Open(file://../../../myapp/Content/Movies/CCTests/Sintel_1080_10s_5MB.mp4) - 86DDC6D546279938218168BF3AAE0DDC
2024-04-12 12:45:17.262 29224-29291/com.myapp.xr D/UE: FAndroidMedia::Close() - 86DDC6D546279938218168BF3AAE0DDC
2024-04-12 12:45:17.263 893-1803/? D/NuPlayerDriver: NuPlayerDriver(0xe8d5cc80) created, clientPid(29224)
2024-04-12 12:45:17.264 893-1803/? I/Codec2Client: Creating a Codec2 client to service "software"
2024-04-12 12:45:17.264 893-1803/? I/Codec2Client: Client to Codec2 service "software" created
2024-04-12 12:45:17.265 893-1803/? I/ExtendedNuUtils: printFileName fd(8) -> /storage/emulated/0/UnrealGame/myapp/myapp/Content/Movies/CCTests/Sintel_1080_10s_5MB.mp4
2024-04-12 12:45:17.268 892-4599/? I/MMParserExtractor: Created(0x25090ee390)
2024-04-12 12:45:17.269 29224-29387/com.myapp.xr D/LogWaveVREyeRunnable: Run() Start eye tracking.
2024-04-12 12:45:17.269 29224-29387/com.myapp.xr W/WVR_COMMON: WVR_StartEyeTracking: hlc error 302
2024-04-12 12:45:17.269 29224-29387/com.myapp.xr W/WVR_COMMON: WVR_StartEyeTracking: Feature not requested
2024-04-12 12:45:17.269 29224-29387/com.myapp.xr D/LogWaveVREyeRunnable: Run() Start eye tracking result: 46
2024-04-12 12:45:17.271 892-4599/? E/MM_OSAL: Atom: _success is false due to size < DEFAULT_ATOM_SIZE
2024-04-12 12:45:17.272 29224-29291/com.myapp.xr D/UE: [2024.04.12-00.45.17:272][319]LogAndroidMedia: Warning: Cannot set rate while closed, preparing, or in error state
2024-04-12 12:45:17.272 29224-29291/com.myapp.xr D/UE: [2024.04.12-00.45.17:272][319]LogBlueprintUserMessages: [TestVidMenu_W_C_2147482431] Playing Sintel_1080_10s_5MB, ok false
2024-04-12 12:45:17.274 893-30749/? D/GenericSource: FileSource remote
2024-04-12 12:45:17.274 29224-29291/com.myapp.xr D/WVR_MultiLayer: SetLayerDesc
2024-04-12 12:45:17.276 892-4599/? I/MMParserExtractor: Created(0x25090e70f0)
2024-04-12 12:45:17.277 892-4599/? E/MM_OSAL: Atom: _success is false due to size < DEFAULT_ATOM_SIZE
2024-04-12 12:45:17.278 892-4600/? D/MediaBufferGroup: creating MemoryDealer
2024-04-12 12:45:17.282 29224-29291/com.myapp.xr D/UE: FAndroidMedia::InitializePlayer 86DDC6D546279938218168BF3AAE0DDC
2024-04-12 12:45:17.284 29224-29291/com.myapp.xr D/LogWaveVREyeManager: TickEyeData() Starts eye tracking.
2024-04-12 12:45:17.286 29224-29291/com.myapp.xr D/WVR_MultiLayer: SetLayerDesc
2024-04-12 12:45:17.304 29224-29291/com.myapp.xr D/LogWaveVREyeManager: TickEyeData() Starts eye tracking.
2024-04-12 12:45:17.306 29224-29291/com.myapp.xr D/WVR_MultiLayer: SetLayerDesc
Link to comment
Share on other sites

these are logs with increased verbosity

2024-04-12 12:54:16.764 4493-4545/com.myapp.xr D/UE: [2024.04.12-00.54.16:764][557]LogMediaAssets: Verbose: TestVid_MP.OpenSource Sintel_1080_10s_5MB
2024-04-12 12:54:16.765 4493-4545/com.myapp.xr D/UE: IMediaPlayer SetGuid: 86DDC6D546279938218168BF3AAE0DDC
2024-04-12 12:54:16.765 4493-4545/com.myapp.xr D/UE: FAndroidMedia::Open(file://../../../myapp/Content/Movies/CCTests/Sintel_1080_10s_5MB.mp4) - 86DDC6D546279938218168BF3AAE0DDC
2024-04-12 12:54:16.765 4493-4545/com.myapp.xr D/UE: FAndroidMedia::Close() - 86DDC6D546279938218168BF3AAE0DDC
2024-04-12 12:54:16.766 893-1801/? D/NuPlayerDriver: NuPlayerDriver(0xe46386e0) created, clientPid(4493)
2024-04-12 12:54:16.767 893-1801/? I/Codec2Client: Creating a Codec2 client to service "software"
2024-04-12 12:54:16.767 893-1801/? I/Codec2Client: Client to Codec2 service "software" created
2024-04-12 12:54:16.767 893-1801/? I/ExtendedNuUtils: printFileName fd(8) -> /storage/emulated/0/UnrealGame/myapp/myapp/Content/Movies/CCTests/Sintel_1080_10s_5MB.mp4
2024-04-12 12:54:16.771 892-4730/? I/MMParserExtractor: Created(0x25090e7630)
2024-04-12 12:54:16.773 892-4730/? E/MM_OSAL: Atom: _success is false due to size < DEFAULT_ATOM_SIZE
2024-04-12 12:54:16.775 4493-4545/com.myapp.xr D/UE: [2024.04.12-00.54.16:775][557]LogMediaAssets: Verbose: TestVid_MP.Play
2024-04-12 12:54:16.775 4493-4545/com.myapp.xr D/UE: [2024.04.12-00.54.16:775][557]LogAndroidMedia: Warning: Cannot set rate while closed, preparing, or in error state
2024-04-12 12:54:16.775 4493-4545/com.myapp.xr D/UE: [2024.04.12-00.54.16:775][557]LogBlueprintUserMessages: [TestVidMenu_W_C_2147482431] Playing Sintel_1080_10s_5MB, ok false
2024-04-12 12:54:16.776 4493-4545/com.myapp.xr D/UE: [2024.04.12-00.54.16:776][557]LogAndroidMedia: Verbose: Player 0x7ad6775210: Selecting audio track 0 instead of -1 (0 tracks)
2024-04-12 12:54:16.776 4493-4545/com.myapp.xr D/UE: [2024.04.12-00.54.16:776][557]LogAndroidMedia: Verbose: Player 0x7ad6775210: Selecting video track 0 instead of -1 (0 tracks).
2024-04-12 12:54:16.776 4493-4545/com.myapp.xr D/WVR_MultiLayer: SetLayerDesc
2024-04-12 12:54:16.778 893-6849/? D/GenericSource: FileSource remote
Link to comment
Share on other sites

this took me way too long to find out.

in the material, the parameter used for the texture needs to have it's texture sampler type to "External"............

Link to comment
Share on other sites

Create an account or sign in to comment

You need to be a member in order to leave a comment

Create an account

Sign up for a new account in our community. It's easy!

Register a new account

Sign in

Already have an account? Sign in here.

Sign In Now
×
×
  • Create New...