Issue Uploading Binary File to WordPress: Media Format Not Supported Error

Guys, hi everyone, I need help with binary code. I have created a custom module that receives video. Uploads it to the server. On the server is processed and at the output module gives a direct link to download the file and the binary code of the file. The link works fine. The problem with the binary code. When I insert the binary code in the WordPress module (Create a Media item) the file is uploaded to WordPress and WordPress gives the following error “Media error: Format(s) not supported or source(s) not found” On my server I have already redone everything that the binary code was the same as in the module HTTP Get a file. Yes, I know that you can just use the HTTP Get a file module, but I want to avoid it. Is there any information how HTTP Get a file module processes the link to turn it into binary code?