I have seen that a lot of questions are asked about this. Trying to post a #video, and it doesn't work?
First check 3 things. Go to Studio => Host Tools => Files and folders permission.
You should have something like this:
Check if
Check that Cron is working, you should have "Last run" <1 minutes:
----------------------------------------------------
On the server side (php.ini) side, these 3 values are important and ideally like this:
max_execution_time = 360
max_input_time = 360
memory_limit = 512M (minimum)
Important: The "upload_max_filesize" and "post_max_size" values of your server (php.ini) will always take precedence over the UNA settings.
----------------------------------------------------
If this works for small videos and not for bigger ones, you may need to increase the "Default cURL timeout" setting.You can find this setting at the bottom of the Studio => Developer page
It currently defaults to 10. It appears to depend on server bandwidth. Test 120 In my case I had to increase it to 300 for a 2 GB video.
-------------------------------------------------------
Also, it can be useful to check if FFMPEG is not consuming too many resources, you can see this with the "htop" or"top" command. In my case, "Load average" went up to 8, although that didn't seem to be a problem, I preferred to limit.
This is possible with a utility such as "cpulimite".
Order example:
"cpulimit -e /your_path/plugins/ffmpeg/ffmpeg.exe -l 80"
-l 80 limit to 80% by adding the -v option, you can see it working and testing to find the right limit.
You can then create a.sh script and run it on startup via a cron job with something like:
@reboot /root/scripts/limitesCPU/limitesFFMPEG.sh
Truvoiz
Best info Baloo thanks <3
A small addition, lately I discovered that if the builtin ffmpeg version of the linux version is used, the encoding jobs become almost 5 times faster then the default installed ffmpeg.exe. (UNA 11.04)
Ah yes, Cem, it's just I tried that too and it works great. In this case, just specify the path of the binary, something like /usr/bin/ffmpeg in inc/header.inc.php, I didn't pay attention to the difference in performance, I'll try again.
Baloo I couldn't find that Default cURL setting, do you still have it at studio?
HI Cem !
It's the "default cURL timeout" parameter in the Studio->Developer app.