Download

Has anyone gotten the HAP video codec to work?

Hello,
I cannot figure out how to use the new HAP codec. I would like to work with rgb+a video in UE4 4.23.1. I enabled the Plugin and restarted. I get an instant crash the moment UE attempts to decode the video (see crash output below). I am using the latest version of ffmpeg to generate the HAP videos using the .mov container. I have tried HAP, HAP Alpha, and HAP Q, all of them insta-crash. The resolution is only 720x540, and I am not using an audio track or embedded timecode as per the documentation. I am running on windows 10, and a GTX 1080 gpu (if that matters?). All of the videos playback in VLC media player without any issues. I feel the documentation regarding the HAP codec is extremely light. If anyone has any experience I would love to hear how you got it to work?

thanks

Here is my error:
Unhandled exception

UE4Editor_HAPMedia
UE4Editor_HAPMedia
UE4Editor_HAPMedia
UE4Editor_HAPMedia
UE4Editor_HAPMedia
UE4Editor_WmfMedia
mfcore
mfcore
mfcore
mfcore
mfcore
mfcore
mfcore
mfcore
mfcore
mfcore
RTWorkQ
RTWorkQ
RTWorkQ
ntdll
ntdll
kernel32
ntdll

Hi @villain749 ,

Did you manage to get this to work?

I haven’t tried yet but plan to try exactly the same process (ffmpeg for encoding, w10, even running on a 1080!)

I thought I would do a bit of googling first, as you’re right it’s low on documentation (though according to this which you’ve probably read, it sounds possible), Media Framework Technical Reference | Unreal Engine Documentation. And I came across your post while searching.

I’m hoping you can tell me if you got any further?

If not I will attempt it early next week and post my findings here (if you haven’t already) to spread the know how!

Cheers

Exact same problem, crash and error message. Can anyone help?

Having the exact same issue @villain749 did you or anyone else manage to get this to work?