Comment to 'Video processing problem'
  • Hello everybody!

    So as we mentioned before - the error log can help us to find what's wrong. Like Baloo found :-) So let's review the possible points of the similar situations:

    1) the changes for PHP didn't take an effect, memory limit was still 128 Mb. So be sure that this setting has the necessary value. The easiest way to check it - to visit Studio->Dashboard->Host Tools->Server audit area. If you still have the wrong value - it's time to ask your hosting provider. Or you may apply the Baloo's fix but it may not work according to the hosting policy. So it would require to ask hosting support anyway.

    2) why "it was working in Dolphin" and "doesn't work in UNA in the same server"

    As you may check, Dolphin and UNA have the different versions of FFmpeg tool (see folders flash\modules\global\app\ for Dolphin and plugins\ffmpeg\ for UNA). UNA requires more advanced version due to more advanced work with the media. And the advanced version requires more resources. So if the first way to fix isn't available you may try to apply the one from the following set:

    a) most easy, but most unreliable - just to replace FFmpeg from UNA on FFmpeg for Dolphin.

    b)  most complex way - take the new FFmpeg package from the https://www.ffmpeg.org/download.html site and try to change your current FFmpeg.

    In both ways don't forget to backup your current FFmpeg package

    • Hello Leonid, you know, I tried Dolphin's #ffmpeg.exe, I also tried the latest version available on the official site and I tried 36,000 things without success and I even tried to pass this value via .htacces without success.
      Besides, I did not really believe it when I tried this solution because it does not make sense to pass this value through the code, while memory_limit is much bigger in php.ini. that's the real mystery in the story.
      So ffmpeg.exe from Una consumes more, I'm happy to learn, at least that's logical.
      Suggestion:
      So since I use Una, the video has never worked for me, and yet on that time, I made a server under Debian and the last on Ubuntu. ffmpeg is used by Album, Video and Messenger modules.
      Other people already have or will have a problem with ffmpeg, someone has already said here that he was not supported by his host.
      So I think it would be very useful to be able to disable video upload in general, you can not ask users, not to install messenger and Album if they have a problem with ffmpeg.
      Having white rectangles with three black dots all over the site, is not very elegant either.
      Maybe you can prevent it via "Permission". Double advantage, I would be delighted to offer the video service only to members "Premium". In addition, I could disable it for all levels in case of problems. Remember, no one is safe from a problem, even if it is only momentary.
      What do you think?