•  · 570 friends

Video Uploads not working on own server.

I did read other topics that are having issues with the video uploads, here is my findings on this problem.

Server 1

[libx264 @ 0x68a0b40] using cpu capabilities: MMX2 SSE2Fast SSSE3 SSE4.2 AVX FMA3 BMI2 AVX2 AVX512 

Video uploads tests:

  • MOV Uploaded from iPhone. FAILED
  • MP4 Uploaded from Android. FAILED
  • MP4 Uploaded from PC (downloaded from internet). SUCCESS

This is one of my customer's server. Intel Xeon Processor (Skylake, IBRS) 1 Core

Server 2

[libx264 @ 0x6879400] using cpu capabilities: MMX2 SSE2Fast SSSE3 SSE4.2 AVX FMA3 BMI2 AVX2

Video uploads tests:

  • MOV Uploaded from iPhone. SUCCESS
  • MP4 Uploaded from Android. SUCCESS
  • MP4 Uploaded from PC (downloaded from internet). SUCCESS

This is my testing server. CPU Intel(R) Xeon(R) Gold 6140 CPU 1 Core


    It is trying to use AVX512 of cpu from "Server 1" to convert files and it FAILS. My testing server does not include this capability so it is not trying to use that, all videos are uploaded and converted with no issues.

IMPORTANT:  The videos from Android and iOS were taken with the camera and uploaded from the respective devices, but I did test uploading the original videos (MOV and MP4) from the PC and it failed encoding too, so it does not matter from where I upload the files.

Recommendations to try to fix this:

  1.     Alternative 1 Compile ffmpeg without AVX512 support and replace the file from 
  2.     Alternative 2 Install ffmpeg from the source, change route to ffmpeg (BX_SYSTEM_FFMPEG) to only 'ffmpeg' on file 'inc/header.inc.php'

    None of this recommendations has been tested. Do it on your own risk if you know how. I won't provide tutorials for it neither support if something gets broken.

    My Customers who are hosted on UNA Cloud, have not reported this issue to me at the date that this was posted, I think this only affects certain newest CPUs.


If one of this recommendations works for you please comment your results, including your server's hardware specs, operative system name/version. This way we can help others who may have the same issue.


I originally tough that this was a problem with the cpu capabilities, now that I could fix the issue in the My Customer's server, I found out that his problem was other.

When trying to run the ffmpeg to convert MOV file to MP4 directly in the ssh console, the error was:

Error while opening decoder for input stream #0:0 : Resource temporarily unavailable

So it turns out that the server is trying to convert the video using resources that are not available, in this case it means that is trying to use more than 1 core in his server, while in my server the video is converted with no issues with the same command. So, here is what I did to fix it.

Set the number of threads that I want that ffmpeg use. In my case, I have a Video Watermark module, in which I did add the threads limit into the code in the php files to only 1 core.

Once the module is enabled for watermarking videos, those videos can be converted with no issues. I will release a new update of my Watermarks Module soon that will include this fix.

I think that UNA Team should be adding a way to set the threads limit in Studio to avoid this issues with this servers.

This topic was posted for UNA version 11 and below, new versions may already fixed this issue if the UNA Team fix it.


0 0 1 0 0 0
  • 3578
Replies (10)
    • Thanks. I have that same problem. But can’t fix myself. Have to wait for una team to fix it.

      0 0 0 0 0 0
      • Are you hosted on your own server too? If you want videos Watermarked, this issue will be solved for you if you install this Watermark Video Pro Module.

        If your problem is not exactly the same, then we need to see the logs to know how to fix it.


        0 0 0 0 0 0
        • Yes hosting on own server.

          0 0 0 0 0 0
          • You actually tricked me into buying your Watermark module by saying that it will make video upload work again. Now videos don't work on my website and I have a watermark that is totally useless! I'm asking for a refund please! 

            0 0 0 0 0 0
            • I just released the update that includes this fix for everyone who did bought it, please update the module, if the issue persists I need a test account and access to your cPanel or Plesk to take a look at your issue directly in your server to find out if the problem is the same or if it is another issue that we need to fix.


              0 0 0 0 0 0
              • It is working now, please let me know if you need more assistance.


                0 0 0 0 0 0
                • I need to be users to be able to turn the tinder feature on and off OR I need to put it in a place where they can choose to access it and participate. Right now it loads automatically with their profile when i turn it on. 

                  0 0 0 0 0 0
                  • Hello Zachary S Robbins !

                    May you please specify your example with "tinder feature"?

                    0 0 0 0 0 0
                    • I purchased the module "Meet Users Tinder Style." I want that module to be one that users can turn on and off. I also want the option of placing it on a separate page. Currently, it activates when people access their profile.

                      0 0 0 0 0 0
                      • Ok, but it's better to ask the module's vendor about it.

                        0 0 0 0 0 0
                        Not logged in users can't 'Comments Post'.

                        UNA - Network Infrastructure for Communities